Hi Bing Xiong, First of all, we recommend you check whether a package for GCC 4.x is available for your computer. We no longer support GCC 3.x (although it should work for you) and I no longer have access to a GCC 3.x compiler.
The following is taken from FindBoost.cmake in my CMake installation: # BOOST_ROOT or BOOSTROOT The preferred installation prefix for searching for # Boost. Set this if the module has problems finding # the proper Boost installation. # # BOOST_INCLUDEDIR Set this to the include directory of Boost, if the # module has problems finding the proper Boost installation # # BOOST_LIBRARYDIR Set this to the lib directory of Boost, if the # module has problems finding the proper Boost installation You should try defining one (or all) of these during the CMake configuration, e.g. cmake -DBOOST_ROOT=/home/noel/Tools/boost. Let us know if it works... - Noel On 10 January 2011 03:38, Bing Xiong <[email protected]> wrote: > Dear all: > I try to compile openbabel 2.3 in my linux computer. The gcc compiler in my > computer is 3.XX, so I installed boost for supporting openbabel. > After installed boost, I don't know how to enable openbabel find the boost > head files. should I include the boost head file in cmake? or should I set a > variable for boost, so openbabel can find these head files? Thanks in > advance! > > Best regards, > > Bing Xiong > > 2011-01-10 > ________________________________ > Bing Xiong, Ph.D > Shanghai Institute of Materia Medica, Chinese Academy of Sciences > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > OpenBabel-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ OpenBabel-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
