Boost logo

Boost-Build :

From: Petrus B. van Bork (pvanbork_at_[hidden])
Date: 2007-11-30 19:08:16


Dear Phillip & All:

Thank you for your post on the 19th Nov. in regards to this issue.
Alas, I have been sick, since, and have not been able to reply. Due to
my problems getting Boost up and running (...or not as the case may
be...) I had already spent several person-hours with the page you refer
too. Indeed, as my previous email states I AM running Eclipse (...and
that is new for me too...) with CDT 4.

I have now reviewed that page, yet again, and at some length without
deriving further enlightenment. I have also spent several more hours -
vainly - attempting to persuade my IDE to include boost libraries.

Running gcc -print-search-dirs, shows that gcc is NOT finding any boost
libraries. My IDE sees the boost files but, no surprise I am not
getting them included - no matter what or where I add paths.

My console output is:

**** Build of configuration Debug for project BoostTest ****

make all
boost_1_34_1/libs/regex/test/c_compiler_checks/subdir.mk:36: warning:
overriding commands for target
`boost_1_34_1/libs/regex/test/c_compiler_checks/posix_api_check.o'
boost_1_34_1/libs/regex/test/c_compiler_checks/subdir.mk:29: warning:
ignoring old commands for target
`boost_1_34_1/libs/regex/test/c_compiler_checks/posix_api_check.o'
boost_1_34_1/libs/regex/test/c_compiler_checks/subdir.mk:50: warning:
overriding commands for target
`boost_1_34_1/libs/regex/test/c_compiler_checks/wide_posix_api_check.o'
boost_1_34_1/libs/regex/test/c_compiler_checks/subdir.mk:43: warning:
ignoring old commands for target
`boost_1_34_1/libs/regex/test/c_compiler_checks/wide_posix_api_check.o'
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -I"E:\BoostCPlusLibraries\boost_1_34_1\boost" -O0 -g3 -Wall -c
-fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o"main.o" "../main.cpp"
../main.cpp:11:43: warning: boost/filesystem/operations.hpp: No such
file or directory
../main.cpp:12:37: warning: boost/filesystem/path.hpp: No such file or
directory
../main.cpp:13:30: warning: boost/progress.hpp: No such file or directory
../main.cpp:16: error: `boost' has not been declared
../main.cpp:16: error: `filesystem' is not a namespace-name
../main.cpp:16: error: expected namespace-name before ';' token
../main.cpp: In function `int main(int, char**)':
../main.cpp:20: error: `boost' has not been declared
../main.cpp:20: error: `progress_timer' was not declared in this scope
../main.cpp:20: error: expected `;' before "t"
../main.cpp:22: error: `fs' has not been declared
../main.cpp:22: error: `path' was not declared in this scope
../main.cpp:22: error: expected `;' before "full_path"
../main.cpp:25: error: `full_path' was not declared in this scope
../main.cpp:25: error: `fs' has not been declared
../main.cpp:25: error: `fs' has not been declared
../main.cpp:25: error: `fs' has not been declared
../main.cpp:25: error: `native' was not declared in this scope
../main.cpp:25: error: `system_complete' was not declared in this scope
../main.cpp:25: warning: unused variable 'full_path'
../main.cpp:25: warning: unused variable 'native'
../main.cpp:25: warning: unused variable 'system_complete'
../main.cpp:34: error: `fs' has not been declared
../main.cpp:34: error: `full_path' was not declared in this scope
../main.cpp:34: error: `exists' was not declared in this scope
../main.cpp:34: warning: unused variable 'exists'
../main.cpp:40: error: `fs' has not been declared
../main.cpp:40: error: `full_path' was not declared in this scope
../main.cpp:40: error: `is_directory' was not declared in this scope
../main.cpp:44: error: `fs' has not been declared
../main.cpp:44: error: `directory_iterator' was not declared in this scope
../main.cpp:44: error: expected `;' before "end_iter"
../main.cpp:45: error: `fs' has not been declared
../main.cpp:45: error: expected `;' before "dir_itr"
../main.cpp:46: error: `dir_itr' was not declared in this scope
../main.cpp:46: error: `end_iter' was not declared in this scope
../main.cpp:51: error: `fs' has not been declared
../main.cpp:56: error: `fs' has not been declared
../main.cpp:56: error: `is_regular' was not declared in this scope
../main.cpp:56: warning: unused variable 'is_regular'
../main.cpp:46: warning: unused variable 'end_iter'
../main.cpp:20: warning: unused variable 'progress_timer'
make: *** [main.o] Error 1

If anyone is using the Eclipse platform with CDT 4, I could sorely use a
pointer or two. I cannot find anywhere (that works!) to change the way
the linker finds libraries.

Help, please.

Best,

Petrus


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk