View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002400CMakeCMakepublic2005-10-24 11:112005-10-27 13:23
ReporterStefan v. Wachter 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002400: Windows CMakeSetup should take compiler flags into account for finding include files
DescriptionUsing cygwin for compiling on Windows without need for cygwin1.dll requests the -mno-cygwin compiler flag. CMakeSetup finds e.g. pthread.h which is not available for compiling with gcc -mno-cygwin . This causes compile errors. See discussion on http://sourceforge.net/mailarchive/forum.php?thread_id=8723521&forum_id=2132 [^]
Another solution is using a combined installation of cygwin and mingw:
http://www.mingw.org/mingwfaq.shtml#faq-usingwithcygwin [^]

In any case the results of cmake.exe and CMakeSetup.exe should be the same.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003182)
Bill Hoffman (manager)
2005-10-24 15:36

If you set the environment variables CXXFLAGS and CFLAGS to have -mno-cygwin, and then run cmake or CMakeSetup, it should solve your problem.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team