Libusb 0.1.12.1 in Visual Studio express 2010

mdimiou <[email protected]>
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <[email protected]>
I follow the directions of this site:
http://en.wikibooks.org/wiki/C%2B%2B_Programming/Compiler/Linker/Libraries/Configuring_Visual_Studio

I have a 64bit system so i put in project
properties->Linker->General->Additional Libraries Directories the path:
C:\Program Files (x86)\LibUSB-Win32\lib\msvc_x64.
In  project properties->Linker->Input->Additional Dependencies -> i type
libusb.lib 

I am trying to build my code in Visual Studio C++ 2010 Express and i have
these msgs.

1>------ Build started: Project: diplomatiki, Configuration: Debug Win32
------
1>  diplomatiki.cpp
1>c:\users\sampson\documents\visual studio
2010\projects\diplomatiki\diplomatiki\diplomatiki.cpp(1): warning C4627:
'#include <usb.h>': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\users\sampson\documents\visual studio
2010\projects\diplomatiki\diplomatiki\diplomatiki.cpp(2): warning C4627:
'#include <stdio.h>': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\users\sampson\documents\visual studio
2010\projects\diplomatiki\diplomatiki\diplomatiki.cpp(101): fatal error
C1010: unexpected end of file while looking for precompiled header. Did you
forget to add '#include "StdAfx.h"' to your source?
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Can you send me some step-by-step directions for linking libusb to VS???



--
View this message in context: http://libusb.6.n5.nabble.com/Libusb-0-1-12-1-in-Visual-Studio-express-2010-tp5713498.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.