More problems compiling with v13.0.0 Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
odpad
Gnoblar
Posts: 6
Joined: Mon Aug 09, 2021 2:13 pm

More problems compiling with v13.0.0

Post by odpad »

Ogre Version: 13.0.0
Operating System: Arch Linux x86

I'm building Ogre libraries from source.

So with previous version 1.12.12 I had problem with Assimp plugin's libIrrXML.a:

Code: Select all

[ 35%] Linking CXX shared library ../lib/libOgreMain.so
[ 35%] Built target OgreMain
make[2]: *** Brak reguł do zrobienia obiektu 'Dependencies/lib/libIrrXML.a', wymaganego przez 'lib/Codec_Assimp.so.13.0'. Stop.
make[2]: *** Oczekiwanie na niezakończone zadania....
Sorry forgot to change lang. It means "No rules to make target ... required by ..."
I fixed it myself (copy pasting fix from this forum), but the problem still persists.

And in 13.0.0 this came up:

Code: Select all

/home/mishqutin/Ja/src/SRC/ogre-13.0.0/PlugIns/GLSLang/src/OgreGLSLang.cpp:123:6: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
  123 |     }};
      |
make[2]: *** [PlugIns/GLSLang/CMakeFiles/Plugin_GLSLangProgramManager.dir/build.make:76: PlugIns/GLSLang/CMakeFiles/Plugin_GLSLangProgramManager.dir/src/OgreGLSLang.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:1015: PlugIns/GLSLang/CMakeFiles/Plugin_GLSLangProgramManager.dir/all] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....
Any ideas?
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: More problems compiling with v13.0.0

Post by paroj »

OGRE_BUILD_PLUGIN_GLSLANG=OFF
OGRE_BUILD_PLUGIN_ASSIMP=OFF
odpad
Gnoblar
Posts: 6
Joined: Mon Aug 09, 2021 2:13 pm

Re: More problems compiling with v13.0.0

Post by odpad »

Thanks, but I also had to disable OGRE_BUILD_SAMPLES, OGRE_INSTALL_SAMPLES because of the following error:

Code: Select all

[100%] Linking CXX shared library ../lib/DefaultSamples.so
[100%] Built target DefaultSamples
[100%] Building CXX object Samples/Browser/CMakeFiles/SampleBrowser.dir/src/main.cpp.o
[100%] Linking CXX executable ../../bin/SampleBrowser
/usr/bin/ld: ../../lib/libOgreOverlay.so.13.0: undefined reference to `inflate'
/usr/bin/ld: ../../lib/libOgreOverlay.so.13.0: undefined reference to `inflateInit2_'
/usr/bin/ld: ../../lib/libOgreOverlay.so.13.0: undefined reference to `inflateEnd'
/usr/bin/ld: ../../lib/libOgreOverlay.so.13.0: undefined reference to `inflateReset'
collect2: error: ld returned 1 exit status
make[2]: *** [Samples/Browser/CMakeFiles/SampleBrowser.dir/build.make:101: bin/SampleBrowser] Error 1
make[1]: *** [CMakeFiles/Makefile2:1316: Samples/Browser/CMakeFiles/SampleBrowser.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Now everything works though.
Should I submit an issue on github?
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: More problems compiling with v13.0.0

Post by paroj »

no, this should be fixed in master
Post Reply