| Bug #5661 | Can't compile statically in BCB6 when using libmysql | ||
|---|---|---|---|
| Submitted: | 20 Sep 2004 9:55 | Modified: | 1 Oct 2004 21:55 |
| Reporter: | Marcin Lewandowski | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.21 | OS: | Windows (Windows) |
| Assigned to: | CPU Architecture: | Any | |
[20 Sep 2004 9:55]
Marcin Lewandowski
[1 Oct 2004 21:55]
MySQL Verification Team
Use the implib tool instead:
C:\test>implib libmysql.lib libmysql.dll
Borland Implib Version 3.0.8 Copyright (c) 1991, 1999 Inprise Corporation
C:\test>dir
O volume na unidade C não tem nome.
O número de série do volume é 602A-1FA1
Pasta de C:\test
2004/10/01 18:52 <DIR> .
2004/10/01 18:52 <DIR> ..
2004/09/08 05:56 245.760 libmySQL.dll
2004/10/01 18:52 11.776 libmysql.lib
2 arquivo(s) 257.536 bytes
2 pasta(s) 28.884.336.640 bytes disponíveis
Then compile your application using the libmysql.lib created by implib
from libmysql.dll. That is how WinMySQLAdmin was build with Builder 4.0.
[2 Oct 2004 17:29]
Marcin Lewandowski
I've found a solution. If I add only libmysql.lib to project, the project should compile statically.
