I'm trying to use tgui 0.7 with CodeLite on Windows 10. I installed the TDM-GCC compiler (5.1) (32-bit).
I can successfully use CMake(32-bit) to create a CodeLite project. However, when I try to build it using CodeLite I get this error:
<tgui path>\src\TGUI\Loading\Theme.cpp: In member function 'virtual void tgui::Theme::initWidget(tgui::Widget*, std::__cxx11::string, std::__cxx11::string)':
<tgui path>\src\TGUI\Loading\Theme.cpp:364:66: error: '_fullpath' was not declared in this scope
buffer = _fullpath(nullptr, resourcePath.c_str(), 512);
^
src\TGUI\CMakeFiles\tgui.dir\build.make:562: recipe for target 'src/TGUI/CMakeFiles/tgui.dir/Loading/Theme.cpp.obj' failed
mingw32-make.exe[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
The same issue appeared when I tried the 0.8 version of tgui.
When instead I try to use the precompiled version of tgui 0.7 for tdm I get errors where I use themes (for instance when calling theme->load), and also in the Singnals.hpp file.
What I'm trying to do is simply compile a tgui 0.7 project on windows 10, but since VS 2017 Community has no tutorial and CodeBlocks keeps having problems with c++11, CodeLite was the best solution.
Thanks for any help.
I can successfully use CMake(32-bit) to create a CodeLite project. However, when I try to build it using CodeLite I get this error:
<tgui path>\src\TGUI\Loading\Theme.cpp: In member function 'virtual void tgui::Theme::initWidget(tgui::Widget*, std::__cxx11::string, std::__cxx11::string)':
<tgui path>\src\TGUI\Loading\Theme.cpp:364:66: error: '_fullpath' was not declared in this scope
buffer = _fullpath(nullptr, resourcePath.c_str(), 512);
^
src\TGUI\CMakeFiles\tgui.dir\build.make:562: recipe for target 'src/TGUI/CMakeFiles/tgui.dir/Loading/Theme.cpp.obj' failed
mingw32-make.exe[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
The same issue appeared when I tried the 0.8 version of tgui.
When instead I try to use the precompiled version of tgui 0.7 for tdm I get errors where I use themes (for instance when calling theme->load), and also in the Singnals.hpp file.
What I'm trying to do is simply compile a tgui 0.7 project on windows 10, but since VS 2017 Community has no tutorial and CodeBlocks keeps having problems with c++11, CodeLite was the best solution.
Thanks for any help.