Hi, Tried to compile SVN Irrlicht with
#define _IRR_WCHAR_FILESYSTEM and there are compilation errors:
Gravité Code Description Projet Fichier Ligne
Erreur C2440 'initialisation' : impossible de convertir de 'const char [12]' en 'const irr::fschar_t *' Irrlicht C:\Users\Public\Projets\Irrlicht\source\Irrlicht\CWGLManager.cpp 41
Gravité Code Description Projet Fichier Ligne
Erreur C2440 '=' : impossible de convertir de 'const irr::fschar_t *' en 'LPCSTR' Irrlicht C:\Users\Public\Projets\Irrlicht\source\Irrlicht\CWGLManager.cpp 56
Found out that it might not be fixed from there:
http://irrlicht.sourceforge.net/forum/v ... AR#p292314
Removing this preset and the compilation work.
There will be a examples cleanup due soon, as the examples all fail to link. (Linker errors)
Found also linker errors when compiling the examples: (They all fail with the same error)
Gravité Code Description Projet Fichier Ligne
Erreur LNK2019 symbole externe non résolu __imp_createDevice référencé dans la fonction main 01.HelloWorld C:\Users\Public\Projets\Irrlicht\examples\01.HelloWorld\main.obj 1
Other linker errors:
Gravité Code Description Projet Fichier Ligne
Erreur LNK2001 symbole externe non résolu "__declspec(dllimport) class irr::video::SMaterial irr::video::IdentityMaterial" (__imp_?IdentityMaterial@video@irr@@3VSMaterial@12@A) 03.CustomSceneNode C:\Users\Public\Projets\Irrlicht\examples\03.CustomSceneNode\main.obj 1
Gravité Code Description Projet Fichier Ligne
Erreur LNK2019 symbole externe non résolu "__declspec(dllimport) class irr::core::string<char,class irr::core::irrAllocator<char> > irr::core::LOCALE_DECIMAL_POINTS" (__imp_?LOCALE_DECIMAL_POINTS@core@irr@@3V?$string@DV?$irrAllocator@D@core@irr@@@12@A) référencé dans la fonction "char const * __cdecl irr::core::fast_atof_move(char const *,float &)" (?fast_atof_move@core@irr@@YAPEBDPEBDAEAM@Z) 16.Quake3MapShader C:\Users\Public\Projets\Irrlicht\examples\16.Quake3MapShader\main.obj 1
Gravité Code Description Projet Fichier Ligne
Erreur LNK2019 symbole externe non résolu "__declspec(dllimport) class irr::core::string<char,class irr::core::irrAllocator<char> > irr::core::LOCALE_DECIMAL_POINTS" (__imp_?LOCALE_DECIMAL_POINTS@core@irr@@3V?$string@DV?$irrAllocator@D@core@irr@@@12@A) référencé dans la fonction "char const * __cdecl irr::core::fast_atof_move(char const *,float &)" (?fast_atof_move@core@irr@@YAPEBDPEBDAEAM@Z) 21.Quake3Explorer C:\Users\Public\Projets\Irrlicht\examples\21.Quake3Explorer\main.obj 1
Note: Perhaps theses linker errors could come that I build everything in MSVC Community 2015?. EDIT: Tried to recompile in 32bit instead and did the same thing. I suspect the IDE for this one (MSVC 2015, I will have to see why)
EDIT2: Seem that MSVC set the paths for each project now instead of using a global one. The one for the LIB work but the reference paths for the rest doesn't. (MSVC 2015)