критическя ошибка nmake a .
От: Аноним  
Дата: 03.01.08 12:52
Оценка:
С наступившем Новым годом всех.
у меня проблема с nmake ом. т.е я собираю mysql драйвер для Qt4 под виндой.
ос WinXp. qt-win-opensource-src-4.3.0,и mysql5.
после nmake выдает ошибки

 link /LIBPATH:"c:\Qt\4.3.0-msvc2005\lib" /LIBPATH:"c:\Qt\4.3.0-msvc2005\
lib" /NOLOGO /DEBUG /DLL /MANIFESTFILE:"tmp\obj\debug_shared\qsqlmysqld.intermed
iate.manifest" /incremental:no /OUT:"..\..\..\..\plugins\sqldrivers\qsqlmysqld4.
dll" @C:\DOCUME~1\COMP\LOCALS~1\Temp\nm8B.tmp
   Creating library ..\..\..\..\plugins\sqldrivers\qsqlmysqld4.lib and object ..
\..\..\..\plugins\sqldrivers\qsqlmysqld4.exp
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_fetch_field re
ferenced in function "public: bool __thiscall QMYSQLResultPrivate::bindInValues(
void)" (?bindInValues@QMYSQLResultPrivate@@QAE_NXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_num_fields ref
erenced in function "public: bool __thiscall QMYSQLResultPrivate::bindInValues(v
oid)" (?bindInValues@QMYSQLResultPrivate@@QAE_NXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_stmt_result_me
tadata referenced in function "public: bool __thiscall QMYSQLResultPrivate::bind
InValues(void)" (?bindInValues@QMYSQLResultPrivate@@QAE_NXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_stmt_close ref
erenced in function "protected: void __thiscall QMYSQLResult::cleanup(void)" (?c
leanup@QMYSQLResult@@IAEXXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_store_result r
eferenced in function "protected: void __thiscall QMYSQLResult::cleanup(void)" (
?cleanup@QMYSQLResult@@IAEXXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_next_result re
ferenced in function "protected: void __thiscall QMYSQLResult::cleanup(void)" (?
cleanup@QMYSQLResult@@IAEXXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_free_result re
ferenced in function "protected: void __thiscall QMYSQLResult::cleanup(void)" (?
cleanup@QMYSQLResult@@IAEXXZ)
qsql_mysql.obj : error LNK2019: unresolved external symbol _mysql_fetch_row refe
renced in function "protected: virtual bool __thiscall QMYSQLResult::fetch(int)"

я не уверен но мне кажется у пеня в перемнной окруж. path не все правелно прописанно.
вот мой path.

C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\WINDOWS\system32;C:\Qt\4.3.0-msvc2005\bin;
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.