From: <iv...@cv...> - 2011-05-25 12:45:13
|
Quoting Piotr Fałdrowicz <vd...@in...>: > hi, > > I'm using qt-win-opensource-4.7.3-vs2008.exe with msvc 2010 express > edition under windows XP and lately I've tried to compile last > tagged tora version(2.1.3), but i meet some errors during linking > tora project: > > 8> Generating Code... > 8>moc_tomarkedtext.obj : error LNK2001: unresolved external symbol > "public: static struct QMetaObject const > QsciScintilla::staticMetaObject" > (?staticMetaObject@QsciScintilla@@2UQMetaObject@@B) > 8>D:\opensource\tora_build\src\Release\tora.exe : fatal error > LNK1120: 1 unresolved externals > The name of the missng symbol shows that some "moc" object was not linked into the library. While compiling QT creates meta-object file (the usally look like moc_*.cxx). The suffix .cxx is important. It seems to me that one of these files was not compiled/linked. You can use microsoft's tool dumpbin to list contens of .lib .dll. .obj > I looks like some problems with QScintilla library (I used latest > version QScintilla-gpl-2.5.1.zip). Source code for this .obj file is > generated by qt and i dont have any idea how to solve this. Any > idea what should i do or check, to get the compiled solution? > Another possible problem is that you use headers from internal Qscitilla and you mix them with binaries from newest Qscitilla version. This can lead to very suprising segfaults. ps. When I tried use 'WANT_INTERNAL_QSCINTILLA = 1' in cmake, I got several others errors during linking. Can you provide these error too. I never tried to compile Tora on windows without internal qsintilla. Ivan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |