> I succesfully built the demo application of fltk 1.3 in > Visual Studio 2010 > Express Edition. > I created a new project and copied the header and lib files. > I followed the > Readme for Windows. Which means I also added WIN32 to > preprocessor defines. > However when i try to compile my project, which just shows a > window with a > button, i get this error: > > path..\myproject\headers\fl\math.h(31): fatal error C1083: > Datei (Include) > kann nicht geƶffnet werden: "/usr/include/math.h": No such > file or directory > > Of course i don't have a path /usr/include/math.h since I am > on Windows 7. > > Does anyone know this? Maybe I still configured something wrong.
I never use VS, so can not comment directly on how to configure it. However, it sounds like you have set up a recursion of some sort in the way that the include file paths are being traversed. The thing you are hitting is (supposed to be) a OSX specific catch to get math.h included, since the Xcode IDE does deliberatley search the paths recursively (and of course DOES have math.h in the normal place.) AFAIK the VS IDE tool does not recurse the paths unless you set it up to do so, so I think that maybe the problem; you have somehow caused it to recursively include (some_path)/FL/math.h in place of VS's own math.h and hence the problem. SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

