The good news is that there is a MySQL dev-pak but it does not have the
embedded server. If you just want to connect to an external database
then the Dev-pak should work for you. You can get it throught the "Check
for updates/packages" menu item in the tools menu of Dev-C++ or just
search Google for MysSQL dev-pak.
P.S. Switch to Linux and forget Windows programming is definitely not a
bad thing... :) Sadly the linux version of Dev-C++ is no longer
maintained :P
Eesh Modi wrote:
>Thanks for the info David - really helpful. Since I am new at programming it
>would probably be excessively difficult for me to convert the .lib library
>to .a. I will have to consider my options. Different database engine? Switch
>to Linux and forget windows programming?
>
>Thanks again,
>Eesh
>
>----- Original Message -----
>From: "David McKen" <dml...@co...>
>To: "Dev-C++ Mailing List" <dev...@li...>
>Sent: Monday, May 09, 2005 11:06 PM
>Subject: Re: [Dev-C++] mysql download
>
>
>
>
>>To Eesh & Hariyanto.
>>
>>I am really not sure why but the mysql developers do not provide the .a
>>files needed to compile programs with mingw. You have a few options from
>>here:
>>
>>1. Convert the .lib (MS ViusalC++) libraries to .a (mingw). Relatively
>>simple but long and painful. Disadvantage is that this method can't
>>produce static libraries (which to me kinda nulls out the reason I am
>>using an EMBEDDED server). Som info on the topic can be found at:
>>http://www.synnottsoftware.com/tutorials/mysqlwindows.php
>>http://lists.mysql.com/win32/16919
>>
>>2. Compile with cygwin (and be eternally dependent on the cygwin dll).
>>Not a bad thing until you start distributing.
>>
>>3. Cross compile. From what I have heard not a good thing to do in
>>general if you plan to keep your sanity.
>>
>>4. Build mysql (at least the libs) from scratch writing the makefile
>>yourself (I can tell you right now using the Dev-C++ import MSVC++
>>project does not work with the project file from mysql). Even if one has
>>a copy of Visual C++ and starting going through the dependency tree by
>>hand you will find so my projects within the workspace that the
>>libraries are dependent on that option 1 actually looks easy). Believe
>>me I tried for a couple hours before getting fed up (I think it had more
>>to do with the fact that I was using Visual Studio .NET)
>>
>>Hope this helps
>>David McKen
>>
>>Hariyanto wrote:
>>
>>
>>
>>>I have error when compile in mysql_com.h, I want to download mysql under
>>>
>>>
>window there are 3 file :
>
>
>>>1. Windows Essentials (x86) 4.1.11 14.1M
>>> MD5: dc331a3a3c9b151d3840dd2b4c47ed49
>>>
>>>2. Windows (x86) 4.1.11 35.1M
>>> MD5: b4b9d56bbf8139197f9c730c96c48595
>>>
>>>3. Without installer (unzip in C:\) 4.1.11 36.2M
>>> MD5: 6330f744f8a15cd9c3f6a70e023ce563
>>>
>>>which one I must to download to develop program with glade and dev-cpp.
>>>thx
>>>
>>>
>>>
>>>
|