User forums > Help
[solved] cannot find -lboost_regex-mgw34-mt-1_38.lib
Seronis:
i had to put -llibboost_regex-mgw34-mt-1_38 in there, no suffix, and it worked for me. the suffix still causes problems but at least i didnt have to rename any files.
edit:
btw thanks for such fast responses. kinda makes me curious why i didnt have this issue on my system at home. will have to reinstall from scratch to see if its just the version of gcc my friend has here. either way problem solved before time for me to go back home so greatly appreciated.
Jenna:
--- Quote from: Seronis on March 21, 2009, 11:33:47 pm ---i had to put -llibboost_regex-mgw34-mt-1_38 in there, no suffix, and it worked for me. the suffix still causes problems but at least i didnt have to rename any files.
--- End quote ---
You are right of course.
Just a typo of mine, but the quoted FAQ describes it correctly.
TimmermanV:
--- Quote from: Ceniza on March 21, 2009, 10:32:02 pm ---So, you are trying to link a MSVC library with GCC. Although it works to some extent, it is not exactly the best thing to do.
--- End quote ---
I was trying to do the same thing here, so I'm curious, what is the best thing to do and why?
Seronis:
My problem actually had nothing to do with MSVC since I use gcc. As jens pointed out it ended up just being a naming convention issue that is more the fault of bjam building the boost libraries with unconventional names that gcc doesnt handle automatically. Not really even C::Bs fault but greatful for the work-a-round jens linked to.
I think I read something about using msvc binaries being linked with gcc in one of the cross compiling forums in the past. Might be worth a search. Dont really know anything else about that stuff since i've always assumed you should only link binaries with others made from the same environment.
nanyu:
my method is :
${#boost.lib}\lib\libboost_regex-mgw34-mt-1_38.lib
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version