|
| JCaesar (3) | |
| Hello, Short version: I got errors compiling MySQL++ Long story: I've coded something under Linux using MySQL++, now I wanted to port it for windwos. Therefore, I need a Windows MySQL++ lib. According to google, there is no way to get it precompiled (which seems pretty funny to me...), so I just tried to compile it myself. Something, I must admit is, I use VC++ 10 beta. I installed MySQL Server 5.1 with headers, to avoid changing the paths, I just linked "%ProgramFiles%\MySQL\MySQL Server" 5.0 to ".\MySQL Server 5.1". I took the vc2008 files for conversion. VC++ complains about unresolved external symbols: Whole output: http://codepad.org/hTkQKc5s I hope you can help me with getting that lib... ~JCaesar | |
| NGen (231) | |
| You're having functions declared, but not defined. You probably don't have all of the files you need, or you might not be linking them correctly. | |
| JCaesar (3) | ||
| I think I really tried now... The Problem is: I don't really know what I am looking for. A single line of those errors is a mess for me...
It looks like I don't link something of the mysql-stuff right. But I link mysqlclient.lib and libmysql.lib, there is nothing left to be linked from the mysql include dir. I tried all the other libs once. | ||
| guestgulkan (1280) | |
| What do you mean by: I just linked "%ProgramFiles%\MySQL\MySQL Server" 5.0 to ".\MySQL Server 5.1" ?? | |
| JCaesar (3) | |
| @guestgulkan I used a symlink. But I figured out now, I need the 32bit Version of MySQl-Server... When something does not work: It's always x64 vs x86... And that line saved me from changing all the project settings: mklink /J "%ProgramFiles%\MySQL\MySQL Server 5.0" "%ProgramFiles(x86)%\MySQL\MySQL Server 5.0" | |
| guestgulkan (1280) | |
| Actually my suggestion for the directory name thing was going to be (a) to rename the folder, or (b) copy the folder and give the copy the required name :-) | |
This topic is archived - New replies not allowed.
