10 messages in com.mysql.lists.plusplusRE: New Problem with DLL/MinGW| From | Sent On | Attachments |
|---|---|---|
| Death Gauge | 17 Nov 2005 21:06 | |
| Patrick McMichael | 19 Nov 2005 18:49 | |
| Death Gauge | 20 Nov 2005 08:06 | |
| Patrick McMichael | 20 Nov 2005 10:46 | |
| Ovidiu Bivolaru | 20 Nov 2005 12:16 | |
| Death Gauge | 20 Nov 2005 17:44 | |
| Patrick McMichael | 20 Nov 2005 20:56 | |
| Death Gauge | 21 Nov 2005 05:30 | |
| Patrick McMichael | 21 Nov 2005 08:00 | |
| Ovidiu Bivolaru | 21 Nov 2005 08:46 | .mingwdll |
| Subject: | RE: New Problem with DLL/MinGW![]() |
|---|---|
| From: | Death Gauge (clay...@hotmail.com) |
| Date: | 11/20/2005 08:06:51 AM |
| List: | com.mysql.lists.plusplus |
I did as you told me and I seem to get the mysqlpp.dll to compile but I can't seem to get mysqlpp.a to compile at all. I get the following error after adding the linker you recommend
g++ -shared -o mysqlpp.dll --out-implib=mysqlpp.a debug/coldata.o debug/connect ion.o debug/datetime.o debug/field_names.o debug/field_types.o debug/fields.o de bug/manip.o debug/myset.o debug/qparms.o debug/query.o debug/result.o debug/row. o debug/sql_string.o debug/string_util.o debug/type_info.o debug/vallist.o -Lc: \mysql\lib\gcc -lmysqlclient del /q "..\examples\debug\"*.exe Could Not Find C:\mysql++\examples\debug\*.exe make[1]: *** No rule to make target `mysqlpp.a', needed by `all'. Stop. make[1]: Leaving directory `C:/mysql++/lib' make: *** [all] Error 2
--Death Gauge "How do you gauge your death?!"
----Original Message Follows---- From: "Patrick McMichael" <p.s....@gats-inc.com> To: "'MySQL++ Mailing List'" <plus...@lists.mysql.com> Subject: RE: New Problem with DLL/MinGW Date: Sat, 19 Nov 2005 21:50:19 -0500
Death, This error means it's not generating the import library for the mysqlpp library (which is used in programs that use the DLL to let them know what's in the DLL, I think). You should be able to add the following flag to your linker flags and it will build the import library for you as it builds the dll.
--out-implib=mysqlpp.a
Please let us know if you get it working in MinGW with a DLL, we've all tried and given up.
-Patrick
-----Original Message----- From: Death Gauge [mailto:clay...@hotmail.com] Sent: Friday, November 18, 2005 12:06 AM To: plus...@lists.mysql.com Subject: New Problem with DLL/MinGW
Well I seem to have compiled the DLL fine but then this pops up at the end of the compilation.
del /q "..\examples\debug\"*.exe Could Not Find C:\mysql++\examples\debug\*.exe make[1]: *** No rule to make target `mysqlpp.a', needed by `all'. Stop. make[1]: Leaving directory `C:/mysql++/lib' make: *** [all] Error 2
Any ideas of what this means or how to fix it?
--Death Gauge "How do you gauge your death?!"
_________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=p.s....@gats-inc.com
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=clay...@hotmail.com
_________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/





.mingwdll