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"# 
CMAKE generated file: DO NOT EDIT!# Generated by "Unix Makefiles" Generator, 
CMake Version 2.6# compile CXX with /usr/bin/c++CXXFLAGS = 
DMAKEOBDLLmt;DREENTRANT O2 g fPIC isystem 
/usr/lib/wx/include/gtk2unicoderelease2.8 isystem /usr/include/wx2.8 
I/export/home/jsg/Moleculeprojects/openbabel/include 
I/export/home/jsg/Moleculeprojects/openbabel/data I/usr/local/include/eigen2 
DOBMODULEPATH="\"/usr/local/openbabel/lib/openbabel/2.2.99\""CXXDEFINES = 
DUSINGDYNAMICLIBS DHAVELIBZ DFILEOFFSETBITS=64 DLARGEFILES DWXGTK DREENTRANT 
DHAVEWXWIDGETS DHAVEEIGEN2Did you note"mt;DREENTRANT"? The fact is OpenSolaris 
doesn't support mt flag, it seems to be a gccism. The second problem is (;) 
which is illegal. I removed "mt;" from CXXFLAGS and now it compiles. The 
question is how to implement it on a higher level, I mean thru CMake interface? 
T
 here're lots of similar "flags.make" files in each dir and I'm tired editing 
them all.Best regards,Gleb.***** OpenSolaris & Sun Studio 2x faster than Linux 
& GCC on Intel Nehalem! 
http://ekschi.com/technology/2009/06/09/freecompilerwinsnehalemraceby2x/Dear 
openbabeldiscuss! Get Yourself a cool, short @in.com Email ID now!
------------------------------------------------------------------------------

_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to