List:MySQL++« Previous MessageNext Message »
From:Daniel Kolbo Date:April 18 2008 4:02pm
Subject:mingw32-make: *** [mysqlpp_beemutex.o] Error 2
View as plain text  

I am a PHP programmer, trying to transition to C++.  I need C++ to 
communicate with MySQL, so I realize i need to have mysql++ libraries.

I am using winXP.  I have MinGW as part of CodeBlocks.  I am just trying 
to install MySQL++, and I am having problems.  I have been following the 
README-MinGW.txt that comes with mysql++.

Here is the printout of my steps in the Command Prompt.  Please go easy 
on my ignorance.  Any and all assistance is greatly appreciated. 

======= C O M M A N D === P R O M P T ===== S T AR T ======

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Dan>cd "c:\Program Files\MySQL\MySQL Server 

C:\Program Files\MySQL\MySQL Server 5.0\lib\opt>dlltool -k -d 
libmysqlclient.def" -l libmysqlclient.a

C:\Program Files\MySQL\MySQL Server 5.0\lib\opt>cd "c:\mysql++-3.0.2"

C:\mysql++-3.0.2>mingw32-make -f Makefile.mingw
g++ -c -o mysqlpp_beemutex.o -g -mthreads -DUNICODE -D_UNICODE 
-DHAVE_MYSQL_SSL_SET -I"C:\Program Files\MySQL\MySQL Server 
5.0\include"   -MTmy
sqlpp_beemutex.o -MFmysqlpp_beemutex.o.d -MD lib/beemutex.cpp
process_begin: CreateProcess(NULL, -c "g++ -c -o mysqlpp_beemutex.o -g 
-I\"C:\Program Files
\MySQL\MySQL Server 5.0\include\"   -MTmysqlpp_beemutex.o 
d -MD lib/beemutex.cpp", ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [mysqlpp_beemutex.o] Error 2

======= C O M M A N D === P R O M P T ===== E N D ======


mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo18 Apr
  • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
    • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
    • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo21 Apr
      • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young21 Apr
        • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo25 Apr
          • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young25 Apr
            • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Daniel Kolbo26 Apr
              • Re: mingw32-make: *** [mysqlpp_beemutex.o] Error 2Warren Young27 Apr