Cross-Compiling Find Mysql/Connector on Linux with MiniGW

Hello

How do you detect the MySQL CPP Connector on Linux on Ubuntu(Linux) using GCC, or MingGW to create a Windows app? I tried

http://pastebin.com/2P438hf7

The problem I am having regular compiling works but if I try to create the make files I get the following

1
2
3
4
5
6
7
 ./cmake_mingw.sh /media/home2/vivienne/GameEconomicUrhoWin  -DURHO3D_64BIT=0 -DURHO3D_GAMEECONOMICSERVER=1 -DURHO3D_GAMEECONOMICSERVERCLIENT=1 -DURHO3D_GAMEECONOMICGAMECLIENT=1  -DWIN32=0 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWIN32=0 -DURHO3D_SSE=0 -DFORCESQLROOT=1
-- DirectX SDK search skipped for MinGW. It is assumed that MinGW itself comes with the necessary headers & libraries
-- Could NOT find MysqlConnectorCpp (missing:  MYSQLCONNECTORCPP_INCLUDE_DIR MYSQLCONNECTORCPP_LIBRARY) 
NOT FOUND
-- Configuring done
-- Generating done
-- Build files have been written to: /media/home2/vivienne/GameEconomicUrhoWin


The build results is

http://pastebin.com/EU9iBWw2

Regular building works but not when I try to cross-compile a Windows app using the compiler.

Vivienne
Last edited on
Topic archived. No new replies allowed.