Hi Steven, Thanks for the quick reply. I've made progress with your information but I still can't compile. The new error is with the linker: /usr/bin/ld: cannot find -lsqlite3 Here is my Jamroot file (minus the hash marks): I would have thought that /usr/include was in the default search path for g++. Any ideas? ############################################### lib sqlite3 ; exe mainApp : ## sources sqlite3 [ glob ./src/*.cpp ] : ## requirements <include>/usr/include <include>./pwiz_root/boost_1_43_0 <include>./pwiz_root/libraries/boost_aux #<include>./src/threadpool/boost <include>./pwiz_root/pwiz <include>./pwiz_root/ext/boost/regex <library>./pwiz_root/pwiz/data/msdata//pwiz_data_msdata <library>./pwiz_root/pwiz/utility/misc//pwiz_utility_misc : ## requirements <warnings>all <threading>multi <toolset>gcc <link>static #<cxxflags> <optimization>speed <variant>release : ## default-build ; ####################################################
------------------------------
Message: 2 Date: Fri, 06 Jul 2012 21:05:55 -0700 From: Steven Watanabe
To: boost-users@lists.boost.org Subject: Re: [Boost-users] Include sqlite3 in Jam.root file Message-ID: <4FF7B5A3.1000800@providere-consulting.com> Content-Type: text/plain; charset=ISO-8859-1 AMDG
On 07/06/2012 07:25 PM, Damian wrote:
Hello.
I'm trying to compile a C++ project using boost/bjam that uses SQLite3.
Normally I would: g++ main.cpp -lsqlite3 -o main.exe
But I don't know how to specify the library in the Jam file.
Can someone tell me how you specify the libraries in a jam file?
I'm using RHEL 6.2 (64bit) in case it matters.
Thanks in advance for any and all help.
lib sqlite3 ; exe main : main.cpp sqlite3 ;
In Christ, Steven Watanabe