monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] More Visual C++ trouble


From: Richard Levitte
Subject: [Monotone-devel] More Visual C++ trouble
Date: Sun, 11 Nov 2007 11:30:34 +0100 (CET)

Hello,

let me tell ya, working out problems with Visual C++, only using the
available build slave, that's not the easiest task ;-)...

As it is now, there are quite a lot of linking problems with pcrewrap,
and I'm wondering if it's simply that _WIN32 needs to be defined in
visualc/pcre.vcproj...  But I feel unsure about it, as I thought that
was a preprocessor symbol the compiler created itself...

 9>Linking...
 9>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other 
libs; use /NODEFAULTLIB:library
 9>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_free
 9>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_exec 
referenced in function "public: bool __thiscall pcre::regex::match(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,enum pcre::flags)const " 
(address@hidden@pcre@@address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z)
 9>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_malloc
 9>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_study 
referenced in function "private: void __thiscall pcre::regex::init(char const 
*,enum pcre::flags)" (address@hidden@pcre@@address@hidden@@Z)
 9>pcrewrap.obj : error LNK2019: unresolved external symbol 
__imp__pcre_compile2 referenced in function "private: void __thiscall 
pcre::regex::init(char const *,enum pcre::flags)" 
(address@hidden@pcre@@address@hidden@@Z)
 
9>D:\dev\open_source\mtbuildbot\slave-dir\full-i686-winvista-vs2005\build\visualc\Release\tester.exe
 : fatal error LNK1120: 5 unresolved externals
 9>Build Time 0:28
 9>Build log was saved at 
"file://d:\dev\open_source\mtbuildbot\slave-dir\full-i686-winvista-vs2005\build\visualc\Release\BuildLog.htm"
 9>tester - 6 error(s), 49 warning(s)
...
 8>Linking...
 8>   Creating library Release/mtn.lib and object Release/mtn.exp
 8>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_free
 8>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_exec 
referenced in function "public: bool __thiscall pcre::regex::match(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,enum pcre::flags)const " 
(address@hidden@pcre@@address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z)
 8>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_malloc
 8>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_study 
referenced in function "private: void __thiscall pcre::regex::init(char const 
*,enum pcre::flags)" (address@hidden@pcre@@address@hidden@@Z)
 8>pcrewrap.obj : error LNK2019: unresolved external symbol 
__imp__pcre_compile2 referenced in function "private: void __thiscall 
pcre::regex::init(char const *,enum pcre::flags)" 
(address@hidden@pcre@@address@hidden@@Z)
 8>Release/mtn.exe : fatal error LNK1120: 5 unresolved externals
 8>Build Time 4:04
 8>Build log was saved at 
"file://d:\dev\open_source\mtbuildbot\slave-dir\full-i686-winvista-vs2005\build\visualc\monotoneRelease\BuildLog.htm"
 8>monotone - 6 error(s), 772 warning(s)
...
 10>Linking...
 10>   Creating library Release/unit_tests.lib and object Release/unit_tests.exp
 10>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_free
 10>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_exec 
referenced in function "public: bool __thiscall pcre::regex::match(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const &,enum pcre::flags)const " 
(address@hidden@pcre@@address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z)
 10>pcrewrap.obj : error LNK2001: unresolved external symbol __imp__pcre_malloc
 10>pcrewrap.obj : error LNK2019: unresolved external symbol __imp__pcre_study 
referenced in function "private: void __thiscall pcre::regex::init(char const 
*,enum pcre::flags)" (address@hidden@pcre@@address@hidden@@Z)
 10>pcrewrap.obj : error LNK2019: unresolved external symbol 
__imp__pcre_compile2 referenced in function "private: void __thiscall 
pcre::regex::init(char const *,enum pcre::flags)" 
(address@hidden@pcre@@address@hidden@@Z)
 10>Release/unit_tests.exe : fatal error LNK1120: 5 unresolved externals
 10>Build Time 4:06
 10>Build log was saved at 
"file://d:\dev\open_source\mtbuildbot\slave-dir\full-i686-winvista-vs2005\build\visualc\unit-testsRelease\BuildLog.htm"
 10>unit_tests - 6 error(s), 760 warning(s)

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]