User forums > Help
Boost issues
Seronis:
--- Quote from: TDragon on September 04, 2009, 05:24:04 pm ---Hm; actually, Code::Blocks tries to be too smart in this instance. I had to tack an extra "lib" on the front of the library name because C::B was removing it. I think the library name parser logic needs upgrading.
--- End quote ---
Yeah. I actually had this -exact- problem awhile ago.
http://forums.codeblocks.org/index.php/topic,10257.0.html
Jens ended up pointing me to a reference showing that gcc doesnt support use of library names formated as lib<name>.lib. <name>.lib and lib<name>.a it supports. But the boost naming scheme is taboo it seems.
MortenMacFly:
--- Quote from: Seronis on September 04, 2009, 07:50:46 pm ---But the boost naming scheme is taboo it seems.
--- End quote ---
It's not taboo but just not a standard. However - if you provide a direct link to the library (using a full/relative path or using a GCV as suggested) this will always work.
TDragon:
The FAQ Jens quoted may be somewhat misleading. The rules GNU LD follows when looking for libraries by name on Windows are quite simple, and to call the use of "lib<name>.lib" unsupported or taboo is plain silly. C::B's link libraries facility needs to be changed so that the only time it removes a "lib" prefix is when it has also removed a ".a" suffix.
H:
Well I built it, even though at the end of the build there were a lot of errors regarding linking. I"ll try what you said now.
H:
I think I figured it out. I needed to set a path to the MinGW compiler executables.
Edit: I finally got it to work. Basically I was stuck figuring out what to do for the search directory, but instead I just went to linker settings and copied/added all of the libraries in there. Now it works.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version