On May 19, 2010, at 6:22 AM, Gleb Sitnikov wrote: > Hello! I am compiling latest (thru svn) OpenBabel code with wxWidgets on > OpenSolaris 2009.06. I got this file "src/CMakeFiles/openbabel.dir/flags.make" ... > Did you note "-mt;-D_REENTRANT"? The fact is OpenSolaris doesn't support -mt > flag, it seems to be a gcc-ism. The second problem is (;) which is illegal. I > removed "-mt;" from CXX_FLAGS and now it compiles. The question is how to > implement it on a higher level, I mean thru CMake interface? There're lots of > similar "flags.make" files in each dir and I'm tired editing them all.
Well, the files clearly state that you shouldn't be editing them -- they're auto-generated by CMake. We don't have any such flags like -mt or -D_REENTRANT, so I suspect these have been picked up by wxWidgets or CMake's wxWidgets detection scripts. My suggestion would be to re-run cmake with '-DBUILD_GUI=false' which will prevent the GUI from being built. Best regards, -Geoff ------------------------------------------------------------------------------ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss