User forums > Help
using boost/filesystem
TDragon:
--- Quote from: kanesoban on July 17, 2008, 08:03:08 pm ---What to do next?
--- End quote ---
Although providing support for 3rd party libraries is (as previously stated) outside the purview of the C::B forums, I think a quick-start guide for Boost+C::B would not go amiss in the Wiki. In the meantime, I'll also send you a personal message as soon I've rebuilt Boost myself.
joubertdj:
--- Quote from: kanesoban on July 11, 2008, 09:50:01 pm ---Helo again,
i think i succesfully built boost. Now, the next question is, how do i link it in Codeblocks to my program ?
Note:
boost build directory is C:\Documents and settings\Kane\build-boost\
--- End quote ---
I notice you use space within your directories ... when you use space remember to reference that with the 8.3 convention then it will "find" the files, else it will not find them ... I personally use D:\Sources\Boost, and D:\MingW, and D:\CodeBlocks ...
Best Regards,
TDragon:
For those interested, a BoostWindowsQuickRef article is now available in the Wiki.
MortenMacFly:
--- Quote from: TDragon on July 18, 2008, 06:56:13 pm ---For those interested, a BoostWindowsQuickRef article is now available in the Wiki.
--- End quote ---
Well done TDragon, nice work!
kanesoban:
Ok, i relocated everything, so that there are no spaces in paths (i reinstalled Codeblocks too), and i followed the Wiki exactly as it is written. No luck, though. I was trying to compile the example program here (it requires the regex library):
http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#link-your-program-to-a-boost-library
Message:
C:\C++\Proba_boost\main.cpp|1|boost/regex.hpp: No such file or directory|
Now, that i am looking at the bjam output, while it is a big mess, i can see a lot of g++ related "failed" messages.
By the way, g++ is in my PATH, wich looks like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\CodeBlocks\MinGW\bin;C:\boost_1_35_0;
I also tried removing the semicolon from the end of PATH, and then executing bjam, but that didn't help either.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version