Bites and Overlay are not found in cmake-gui

Problems building or running the engine, queries about how to use features etc.
Post Reply
OgreHunter
Gnoblar
Posts: 2
Joined: Sat Jun 15, 2019 2:46 am

Bites and Overlay are not found in cmake-gui

Post by OgreHunter » Sun Jun 16, 2019 9:45 am

Ogre Version: :1.12.1:
Operating System: :win7:

Cmake version: 3.15.0-rc1

CmakeError:
C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\src.cxx(1): error C2065: “__deprecated__”: Undeclared identifier
[C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\cmTC_b324d.vcxproj]

C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\src.cxx(1): error C4430: Missing type specifier - assumed to be int. Note: C++ does not support the default int [C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\cmTC_b324d.vcxproj]

C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\src.cxx(1): error C2448: “__attribute__”: Function style initializers are similar to function definitions [C:\Users\Administrator\Desktop\ogrebuild\CMakeFiles\CMakeTmp\cmTC_b324d.vcxproj]

Source file was:
__attribute__((__deprecated__)) int somefunc() { return 0; }
int main() { return somefunc();}

Cmake-gui report no error,just have "configured done".But on linux platform,it has not the same problem!
0 x

Post Reply