I have downloaded HordeEditor and installed. Copied to other drive, set QTDIR to QT4.5.2_shared and opened a solution in MSVC2005.
Rebuild all in Release.
First of all I do get lots of warnigngs like this:
Quote:
Warning 10 warning LNK4006: "__declspec(dllimport) public: void __thiscall QXmlStreamWriter::writeStartDocument(void)" (__imp_?writeStartDocument@QXmlStreamWriter@@QAEXXZ) already defined in QtCore4.lib(QtCore4.dll); second definition ignored QtXml4.lib
also two link warnings at the end of building:
Quote:
Warning 513 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library QTerrainNodeExtension
Warning 515 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library HordeSceneEditor
I removed QXml.lib from QXmlTree project to get rid of LNK4006.
Building again.. warning LNK4098 is the only warning.
Running, good, saving scene - crash.
Building Debug:
I have no QT debug libraries built, so I changed debug to release(qtmaind.lib to qtmain.lib).
building debug version and launching fires warning:
Quote:
The plugin 'D:/Programming/3rdParty/HordeEditor/Tools/Horde3DEditor/bin/plugins/
QTerrainNodeExtensiond.dll' uses incompatible Qt library. Expected build key "Wi
ndows msvc release full-config", got "Windows msvc debug full-config"
The plugin 'D:/Programming/3rdParty/HordeEditor/Tools/Horde3DEditor/bin/plugins/
TerrainToolPlugInd.dll' uses incompatible Qt library. Expected build key "Window
s msvc release full-config", got "Windows msvc debug full-config"
Ok, Editor launched. I've added a new Node Reference(Knight) and tried to save:
Assertion failed with no valid block heap.
Here is Call Stack, but I think that the problem is not here but in corrupted stack(Probably that LNK4098 is the reason):
Quote:
ntdll.dll!7c90120e()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!7c96c201()
ntdll.dll!7c96c63e()
ntdll.dll!7c9603b0()
QtCore4.dll!670e2cdd()
kernel32.dll!7c85f8d7()
> msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x02457bd8) Line 2072 C++
msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x02457bd8, int nBlockUse=0) Line 1279 + 0x9 bytes C++
msvcr80d.dll!_free_dbg(void * pUserData=0x02457bd8, int nBlockUse=0) Line 1220 + 0xd bytes C++
msvcr80d.dll!operator delete(void * pUserData=0x02457bd8) Line 54 + 0x10 bytes C++
HordeSceneEditord.exe!QModelIndex::`scalar deleting destructor'() + 0x32 bytes C++
HordeSceneEditord.exe!QList<QModelIndex>::node_destruct(QList<QModelIndex>::Node * from=0x0248502c, QList<QModelIndex>::Node * to=0x0248502c) Line 367 + 0x2f bytes C++
HordeSceneEditord.exe!QList<QModelIndex>::free(QListData::Data * data=0x02485018) Line 561 C++
HordeSceneEditord.exe!QList<QModelIndex>::~QList<QModelIndex>() Line 535 C++
HordeSceneEditord.exe!QReferenceNode::save() Line 89 C++
HordeSceneEditord.exe!SceneTreeView::save() Line 153 C++
HordeSceneEditord.exe!SceneTreeWidget::save() Line 55 C++
HordeSceneEditord.exe!HordeSceneEditor::saveScene() Line 475 C++
HordeSceneEditord.exe!HordeSceneEditor::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=5, void * * _a=0x0012c3b8) Line 123 + 0x8 bytes C++