Stuck in 'CMake Configure' due to 'Qt5' error

Problems building or running the engine, queries about how to use features etc.
Post Reply
Ramon_BCN
Gnoblar
Posts: 2
Joined: Wed Apr 14, 2021 1:39 am

Stuck in 'CMake Configure' due to 'Qt5' error

Post by Ramon_BCN »

Ogre Version: :1.12.12:
Operating System: :Linux:

After installing all the dependencies (a lot :roll: ) launch again 'CMake' and press the 'Configure' button I have reached a point where I have no idea how to solve the error that gives me 'CMake' , I put below the red text that appears in 'CMake':

Code: Select all

CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:66 (string):
   string does not recognize sub-command APPEND
Call Stack (most recent call first):
   /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:187 (qt5_make_output_file)
   Components / Bites / CMakeLists.txt: 173 (qt5_wrap_cpp)
Any help is welcome.

Apparently trying to test the 'Scape Terrain Editor' will not be as easy as I was told, apart from that over the years I have become more stupid when it comes to compiling applications...
paroj
OGRE Team Member
OGRE Team Member
Posts: 1420
Joined: Sun Mar 30, 2014 2:51 pm
x 622
Contact:

Re: Stuck in 'CMake Configure' due to 'Qt5' error

Post by paroj »

sounds like you need to update your cmake: https://cmake.org/cmake/help/latest/com ... tml#append

or use a older Qt that still supports cmake < 3.4
Ramon_BCN
Gnoblar
Posts: 2
Joined: Wed Apr 14, 2021 1:39 am

Re: Stuck in 'CMake Configure' due to 'Qt5' error

Post by Ramon_BCN »

Thank you 'Pavel', (Mr. Rojtberg)

Obviously you were right, after updating from version 3.3.2 to 3.3.17 everything has worked perfectly, although now I have another small problem, 'cmake --build. --config release 'gives me 2 errors, I put the last lines:

Code: Select all

[97%] Building CXX object Components / Csharp / CMakeFiles / libOgre.dir / __ / __ / csharp / OgreBitesCSHARP_wrap.cxx.o
[97%] Linking CXX shared module ../../csharp/libOgre.so
/ bin / sh: mcs: command not found
gmake [2]: *** [Components / Csharp / CMakeFiles / libOgre.dir / build.make: 154: csharp / libOgre.so] Error 127
gmake [2]: *** The file 'csharp / libOgre.so' is deleted
gmake [1]: *** [CMakeFiles / Makefile2: 1393: Components / Csharp / CMakeFiles / libOgre.dir / all] Error 2
gmake: *** [Makefile: 172: all] Error 2
Would it be too much to ask for a little more help?

Greetings
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 174
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 41

Re: Stuck in 'CMake Configure' due to 'Qt5' error

Post by sercero »

It seems that you are missing the Mono C# compiler.

https://www.mono-project.com/download/stable/
paroj
OGRE Team Member
OGRE Team Member
Posts: 1420
Joined: Sun Mar 30, 2014 2:51 pm
x 622
Contact:

Re: Stuck in 'CMake Configure' due to 'Qt5' error

Post by paroj »

Ramon_BCN wrote: Wed Apr 14, 2021 6:15 pm Thank you 'Pavel', (Mr. Rojtberg)

Obviously you were right, after updating from version 3.3.2 to 3.3.17 everything has worked perfectly, although now I have another small problem, 'cmake --build. --config release 'gives me 2 errors, I put the last lines:

Code: Select all

[97%] Building CXX object Components / Csharp / CMakeFiles / libOgre.dir / __ / __ / csharp / OgreBitesCSHARP_wrap.cxx.o
[97%] Linking CXX shared module ../../csharp/libOgre.so
/ bin / sh: mcs: command not found
gmake [2]: *** [Components / Csharp / CMakeFiles / libOgre.dir / build.make: 154: csharp / libOgre.so] Error 127
gmake [2]: *** The file 'csharp / libOgre.so' is deleted
gmake [1]: *** [CMakeFiles / Makefile2: 1393: Components / Csharp / CMakeFiles / libOgre.dir / all] Error 2
gmake: *** [Makefile: 172: all] Error 2
Would it be too much to ask for a little more help?

Greetings
if you are actually only after Scape, you can disable the C# bindings as OGRE_BUILD_COMPONENT_CSHARP=OFF in CMake
Niubbo
Greenskin
Posts: 109
Joined: Sat Jan 23, 2016 11:26 am
x 11

Re: Stuck in 'CMake Configure' due to 'Qt5' error

Post by Niubbo »

Here you can find my tutorial for the installation from CMAKE, the last chapter is about the install of Scape

viewtopic.php?f=2&t=95997
Post Reply