List:MySQL++« Previous MessageNext Message »
From:Jim Wallace Date:September 25 2007 1:00pm
Subject:Building the head of SVN with MSVC?
View as plain text  
I got the head from SVN, rebuilt the dsp/ws using bakefile.  I had to
add win sock and correct a strcmp call to get the library to compile and
now I get the following link errors on the rest.  Any ideas?

TIA,
jmw

------ This is from almost every sample.
mysqlpp_util.lib(util.obj) : error LNK2001: unresolved external symbol
"char const * const ag_optarg" (?ag_optarg@@3PBDB)

------ Build started: Project: test_wnp, Configuration: Debug Win32
------

Compiling...
test_wnp.cpp
test\test_wnp.cpp(37) : error C2653: 'WindowsNamedPipeConnection' : is
not a class or namespace name
test\test_wnp.cpp(37) : error C3861: 'is_wnp': identifier not found,
even with argument-dependent lookup
test\test_wnp.cpp(41) : error C2653: 'WindowsNamedPipeConnection' : is
not a class or namespace name
test\test_wnp.cpp(41) : error C3861: 'is_wnp': identifier not found,
even with argument-dependent lookup
test\test_wnp.cpp(44) : error C2653: 'WindowsNamedPipeConnection' : is
not a class or namespace name
test\test_wnp.cpp(44) : error C3861: 'is_wnp': identifier not found,
even with argument-dependent lookup

------ Build started: Project: test_tcp, Configuration: Debug Win32
------

Linking...
test_tcp.obj : error LNK2019: unresolved external symbol "public: static
bool __cdecl mysqlpp::TCPConnection::parse_address(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,unsigned int &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)"
(?parse_address@TCPConnection@mysqlpp@@SA_NAAV?$basic_string@DU?$char_tr
aits@D@std@@V?$allocator@D@2@@std@@AAI0@Z) referenced in function "void
__cdecl test(char const *,char const *,unsigned int)"
(?test@@YAXPBD0I@Z)

Thread
RELEASE: v2.3.2Warren Young11 Jul
  • Getting errnum() in exception?Jim Wallace20 Sep
    • Re: Getting errnum() in exception?Warren Young22 Sep
  • Building the head of SVN with MSVC?Jim Wallace25 Sep
    • Re: Building the head of SVN with MSVC?Warren Young26 Sep
  • Error num in BadQuery patchJim Wallace25 Sep
    • RE: Error num in BadQuery patchJim Wallace26 Sep
      • Re: Error num in BadQuery patchWarren Young26 Sep
    • Re: Error num in BadQuery patchWarren Young26 Sep
  • v2.3.2 and execute?Jim Wallace5 Oct
    • Re: v2.3.2 and execute?Warren Young5 Oct
  • Building svn tip on WindowsJim Wallace24 Oct
    • Re: Building svn tip on WindowsWarren Young25 Oct
  • Patch for better exception use -- BadQuery w/Errnum patch part 1Jim Wallace24 Oct
  • Better exception usage -- BadQuery w/Errnum patch part 2Jim Wallace24 Oct
  • Expose errnum() in query -- BadQuery w/Errnum patch part 3Jim Wallace24 Oct
    • Re: Expose errnum() in query -- BadQuery w/Errnum patch part 3Warren Young25 Oct
      • RE: Expose errnum() in query -- BadQuery w/Errnum patch part 3Jim Wallace25 Oct
  • BadQuery w/Errnum patch part 4Jim Wallace24 Oct
    • Re: BadQuery w/Errnum patch part 4Warren Young25 Oct
      • RE: BadQuery w/Errnum patch part 4Jim Wallace25 Oct
  • Sample files -- BadQuery w/Errnum patch part 4Jim Wallace24 Oct
    • Re: Sample files -- BadQuery w/Errnum patch part 4Warren Young25 Oct
      • RE: Sample files -- BadQuery w/Errnum patch part 4Jim Wallace25 Oct
        • Re: Sample files -- BadQuery w/Errnum patch part 4Warren Young25 Oct
          • RE: Sample files -- BadQuery w/Errnum patch part 4Jim Wallace25 Oct
          • RE: Sample files -- BadQuery w/Errnum patch part 4Jim Wallace25 Oct
            • Re: Sample files -- BadQuery w/Errnum patch part 4Warren Young25 Oct
              • RE: Sample files -- BadQuery w/Errnum patch part 4Jim Wallace25 Oct
      • RE: Sample files -- BadQuery w/Errnum patch part 4Jim Wallace25 Oct