where is the source code?
Posted by: paul delamusica
Date: August 13, 2012 09:53AM

Hi,

I am using MSVC10 to build a simple example from
http://docs.oracle.com/cd/E17952_01/refman-5.1-en/connector-cpp-examples-complete-example-1.html

I followed the steps in http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-apps-windows-visual-studio.html.

I got a lot of link errors like that shown below.

Next, I want to build the libraries from the source code as suggested in the download page (http://dev.mysql.com/downloads/connector/cpp/).

Where can I download the source code?

Error example:

mysqlcppconn-static.lib(mysql_resultset_metadata.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>> const &,int)" (__imp_??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@H@Z)

Options: ReplyQuote


Subject
Views
Written By
Posted
where is the source code?
1813
August 13, 2012 09:53AM
757
August 14, 2012 10:39AM
739
August 20, 2012 09:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.