Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   MySQL und Matlab (https://www.delphipraxis.net/111642-mysql-und-matlab.html)

The Lord 7. Apr 2008 08:05


MySQL und Matlab
 
Hi DP'ler,

ich versuche gerade von Matlab aus auf eine SQL Datenbank zu zugreifen, um mit dieser zu arbeiten. Ich habe auch dieses schöne Projekt im Netz gefunden:
MySQL and Matlab

Ich habe aber Probleme mit dem kompilieren des Quellcodes.
Ich schreibe in Matlab:

Code:
>> mex -I "C:\Alexander\mysql2\include" -DWIN32 mysql.cpp "C:\Alexander\mysql2\lib\opt\libmySQL.lib"
(Die Pfade sind natürlich angepasst)

Und ich bekomme diesen Fehler:
Code:
mysql.cpp
mysql.cpp(10) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "mysql.h": No such file or directory
 
  C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: Error: Compile of 'mysql.cpp' failed.
 
??? Error using ==> mex at 208
Unable to complete successfully.
Ich habe gerade nochmal die Dateien mit Total Commander gesucht und die sind im richtigen Ordner (oder ich bin blöd).

Ich benutzt hier übrigens Windows XP und Matlab R2007b und den Compiler von "Microsoft Visual C++ 2005".


Kann mir da jmd helfen?

Gruß
Alex


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz