Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Cannot Build C++ Connector (1 reply)

$
0
0
Windows 7
Visual Studio 2005
CMake 2.8.4

Unzipped C++ Connector Source files to: C:\Temp\MySQL\

CD C:\Temp\MySQL\Driver

cmake -G "Visual Studio 8 2005"
----------------------------------------------------------------------------------
-- Check for working C compiler using: Visual Studio 8 2005
-- Check for working C compiler using: Visual Studio 8 2005 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 8 2005
-- Check for working CXX compiler using: Visual Studio 8 2005 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring driver
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Temp/MySQL/driver
---------------------------------------------------------------------------------

This creates a "Projects.sln" solution file in the same directory. I open the solution file in Visual Studio and Attempt to build it:

1>------ Build started: Project: mysqlcppconn, Configuration: Debug Win32 ------
2>------ Build started: Project: mysqlcppconn-static, Configuration: Debug Win32 ------
2>Compiling...
1>Compiling...
2>mysql_warning.cpp
1>mysql_warning.cpp
2>c:\temp\mysql\cppconn\config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
2>mysql_util.cpp
1>c:\temp\mysql\cppconn\config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
1>mysql_util.cpp
2>C:\Temp\MySQL\cppconn/config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
2>mysql_statement.cpp
1>C:\Temp\MySQL\cppconn/config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
1>mysql_statement.cpp
2>C:\Temp\MySQL\cppconn/config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
2>mysql_resultset_metadata.cpp
1>C:\Temp\MySQL\cppconn/config.h(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory

BLAH BLAH BLAH BLAH BLAH

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>