Hello,
Normally I would be able to solve such compile errors, but these are just missing includes files.
I tried compiling the Thermite engine (or even QtOgre) and I first got a few issues with CMake (QT4_X commands where missing, I removed those from the CMakeLists.txt...not the smartest choice). After that I tried compiling in Release mode, and I got a few missing includes.
This is the full compile log of Thermite (I know the application.h and GameLogic.h is from QtOgre):
Code:
1>------ Build started: Project: Thermite, Configuration: Release Win32 ------
1>Compiling...
1>VolumeSerializationProgressListenerImpl.cpp
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(60) : warning C4251: 'PolyVox::Region::m_v3dLowerCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(61) : warning C4251: 'PolyVox::Region::m_v3dUpperCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\Thermite\trunk\Thermite\include\ThermiteGameLogic.h(28) : fatal error C1083: Cannot open include file: 'GameLogic.h': No such file or directory
1>VolumeResource.cpp
1>VolumeManager.cpp
1>Utility.cpp
1>ThermiteGameLogic.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\ThermiteGameLogic.h(28) : fatal error C1083: Cannot open include file: 'GameLogic.h': No such file or directory
1>SurfacePatchRenderable.cpp
1>c:\ogresdk\include\WIN32/OgreTimerImp.h(33) : warning C4005: 'NOMINMAX' : macro redefinition
1> command-line arguments : see previous definition of 'NOMINMAX'
1>..\source\SurfacePatchRenderable.cpp(28) : fatal error C1083: Cannot open include file: 'Application.h': No such file or directory
1>SurfaceExtractorThread.cpp
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\Region.h(60) : warning C4251: 'PolyVox::Region::m_v3dLowerCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\Region.h(61) : warning C4251: 'PolyVox::Region::m_v3dUpperCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\SurfaceExtractor.h(80) : warning C4251: 'PolyVox::SurfaceExtractor::m_volData' : class 'PolyVox::Volume<VoxelType>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceExtractor'
1> with
1> [
1> VoxelType=PolyVox::uint8_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\SurfaceExtractor.h(81) : warning C4251: 'PolyVox::SurfaceExtractor::m_sampVolume' : class 'PolyVox::VolumeSampler<VoxelType>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceExtractor'
1> with
1> [
1> VoxelType=PolyVox::uint8_t
1> ]
1>SurfaceExtractorTaskData.cpp
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(60) : warning C4251: 'PolyVox::Region::m_v3dLowerCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(61) : warning C4251: 'PolyVox::Region::m_v3dUpperCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>Shell.cpp
1>PhysicalEntity.cpp
1>MultiThreadedSurfaceExtractor.cpp
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(60) : warning C4251: 'PolyVox::Region::m_v3dLowerCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\Region.h(61) : warning C4251: 'PolyVox::Region::m_v3dUpperCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\SurfaceExtractor.h(80) : warning C4251: 'PolyVox::SurfaceExtractor::m_volData' : class 'PolyVox::Volume<VoxelType>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceExtractor'
1> with
1> [
1> VoxelType=PolyVox::uint8_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\SurfaceExtractor.h(81) : warning C4251: 'PolyVox::SurfaceExtractor::m_sampVolume' : class 'PolyVox::VolumeSampler<VoxelType>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceExtractor'
1> with
1> [
1> VoxelType=PolyVox::uint8_t
1> ]
1>..\source\MultiThreadedSurfaceExtractor.cpp(28) : fatal error C1083: Cannot open include file: 'QMutex': No such file or directory
1>MapResource.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\MapHandler.h(27) : fatal error C1083: Cannot open include file: 'DotSceneHandler.h': No such file or directory
1>MapRegion.cpp
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\Region.h(60) : warning C4251: 'PolyVox::Region::m_v3dLowerCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\Region.h(61) : warning C4251: 'PolyVox::Region::m_v3dUpperCorner' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::Region'
1> with
1> [
1> Size=3,
1> Type=PolyVox::int16_t
1> ]
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\SurfaceVertex.h(53) : warning C4251: 'PolyVox::SurfaceVertex::position' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceVertex'
1> with
1> [
1> Size=3,
1> Type=float
1> ]
1>d:\thermite\polyvox\trunk\library\polyvoxcore\include\SurfaceVertex.h(54) : warning C4251: 'PolyVox::SurfaceVertex::normal' : class 'PolyVox::Vector<Size,Type>' needs to have dll-interface to be used by clients of class 'PolyVox::SurfaceVertex'
1> with
1> [
1> Size=3,
1> Type=float
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\IndexedSurfacePatch.h(88) : warning C4251: 'PolyVox::IndexedSurfacePatch::m_vecTriangleIndices' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'PolyVox::IndexedSurfacePatch'
1> with
1> [
1> _Ty=PolyVox::uint32_t
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\IndexedSurfacePatch.h(89) : warning C4251: 'PolyVox::IndexedSurfacePatch::m_vecVertices' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'PolyVox::IndexedSurfacePatch'
1> with
1> [
1> _Ty=PolyVox::SurfaceVertex
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\IndexedSurfacePatch.h(91) : warning C4251: 'PolyVox::IndexedSurfacePatch::m_vecLodRecords' : class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'PolyVox::IndexedSurfacePatch'
1> with
1> [
1> _Ty=PolyVox::LodRecord
1> ]
1>D:\Thermite\PolyVox\trunk\library\PolyVoxCore\include\IndexedSurfacePatch.h(96) : warning C4251: 'PolyVox::IndexedSurfacePatch::m_mapUsedMaterials' : class 'std::set<_Kty>' needs to have dll-interface to be used by clients of class 'PolyVox::IndexedSurfacePatch'
1> with
1> [
1> _Kty=PolyVox::uint8_t
1> ]
1>..\source\MapRegion.cpp(28) : fatal error C1083: Cannot open include file: 'Application.h': No such file or directory
1>MapManager.cpp
1>MapHandler.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\MapHandler.h(27) : fatal error C1083: Cannot open include file: 'DotSceneHandler.h': No such file or directory
1>Map.cpp
1>..\source\Map.cpp(28) : fatal error C1083: Cannot open include file: 'Application.h': No such file or directory
1>MainMenu.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\MainMenu.h(27) : fatal error C1083: Cannot open include file: '../ui_MainMenu.h': No such file or directory
1>LoadMapWidget.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\LoadMapWidget.h(27) : fatal error C1083: Cannot open include file: 'ui_LoadMapWidget.h': No such file or directory
1>LoadingProgress.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\LoadingProgress.h(27) : fatal error C1083: Cannot open include file: 'ui_LoadingProgress.h': No such file or directory
1>DataStreamWrapper.cpp
1>Generating Code...
1>Compiling...
1>CannonController.cpp
1>D:\Thermite\Thermite\trunk\Thermite\include\CannonController.h(27) : fatal error C1083: Cannot open include file: 'ui_CannonController.h': No such file or directory
1>ApplicationGameLogic.cpp
1>d:\thermite\thermite\trunk\thermite\include\ThermiteGameLogic.h(28) : fatal error C1083: Cannot open include file: 'GameLogic.h': No such file or directory
1>AnyOption.cpp
1>..\source\AnyOption.cpp(133) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>..\source\AnyOption.cpp(282) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>..\source\AnyOption.cpp(852) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>..\source\AnyOption.cpp(867) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>..\source\AnyOption.cpp(882) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>..\source\AnyOption.cpp(897) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>main.cpp
1>..\source\main.cpp(24) : fatal error C1083: Cannot open include file: 'Application.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://d:\Thermite\Thermite\trunk\Thermite\build\Thermite.dir\Release\BuildLog.htm"
1>Thermite - 14 error(s), 27 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
I could probably solve the DotSceneHandler.h, but where are the ui_X.h files?
Thanks in advance,
Calsmurf2904