User forums > Help

Incorect work with libraries?

<< < (2/2)

jfouche:

--- Quote from: MortenMacFly on September 17, 2008, 01:19:58 pm ---Just for the record: If you compile boost in this version with MinGW/GCC it will create *.lib files (*not* *.a files). So (s)he might in fact be using the MinGW/GCC variant correctly. This already lead to confusion in another thread in our forum. Maybe a search will help...?!

BTW: I just renamed the files to *.a in my copy.

--- End quote ---

There is a better way : In Linker settings => Link libraries : boost_regexp-mingw34-1_36 (without .lib, in the mingw FAQ, if I remember).
--
Jérémie

TDragon:

--- Quote from: MortenMacFly on September 17, 2008, 01:19:58 pm ---Just for the record: If you compile boost in this version with MinGW/GCC it will create *.lib files (*not* *.a files). So (s)he might in fact be using the MinGW/GCC variant correctly.

--- End quote ---
Look at the file name. boost_regex-vc90-mt-1_36.lib is for Visual C++ 9.0. For MinGW, it should be boost_regex-gcc34-mt-1_36.lib. (Depending on the GCC version.)

MortenMacFly:

--- Quote from: TDragon on September 17, 2008, 03:37:54 pm ---Look at the file name. boost_regex-vc90-mt-1_36.lib is for Visual C++ 9.0. For MinGW, it should be boost_regex-gcc34-mt-1_36.lib. (Depending on the GCC version.)

--- End quote ---
Ooops - you are correct. My fault. :oops:

Navigation

[0] Message Index

[*] Previous page

Go to full version