Using: Boost 1.36
Want to build static Filesystem Library for
Windows and Linux. Right now I want to make sure the build is
successful with the compilers we are using. I am a noobie with Boost
and BJam, and am having difficulties building a test application for
testing. Unfortunately, I'm dusting off my programming hat and
learning to use all the appropriate tools again like compilers etc. I
have read through much of the Boost instructions but still cannot seem
to get the Filesystem library compiled as a static library and working
with practical examples.
Question: What is the simplest way to build a library to be used by
my other source code out of the Filesystem Library on both Windows and
Unix systems?
And what is the simplest way to test that build?
My first test is on Windows XP with Visual Studio Express 2005.
Attempt 1: Create App with Visual Studio 2005
I ran the following from main Boost directory on the command line to create the library files:
bjam debug --with-filesystem stage
I then started a new Win32 Console Application in Visual Studio with the file_size.cpp test example.
Under "Additional Include Directories" I put: "C:\Program Files\boost_1_36_0";"C:\