If I recall correctly, the examples that come with ogre require at least some dependencies (didn't somebody say we needed SDL2 to build?)
As one last Hurrah, I took the config files from the 'normal' build of ogre and printed them out using
Code: Select all
cmake -LAH
Code: Select all
cat ../build_params_2 | tr '\n' '@' | sed 's/=[^@]*/"&"/g' | sed 's/"=/="/g' | sed 's/@"/"@/g' | tr '@' ' ' | sed 's/ / -D/g'
Code: Select all
[ 1%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreAlignedAllocator.cpp.o
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
<command-line>:0:1: error: macro names must be identifiers
In file included from /home/user/ogre/OgreMain/include/OgrePrerequisites.h:371:0,
from /home/user/ogre/OgreMain/include/OgreArchive.h:31,
from /home/user/ogre/OgreMain/include/OgreStableHeaders.h:42,
from /home/user/ogre/OgreMain/src/OgreASTCCodec.cpp:29:
/home/user/ogre/OgreMain/include/OgreStdHeaders.h:120:38: fatal error: emscripten/emscripten.h: No such file or directory
I've tried both Debian AND Fedora under the qubes OS - and I couldn't really make it this far under the Debian installation (though I have reason to suspect something was amiss with that one. Ah, the glory of virtual machines )
Either way, great kudos to anyone who can help me fix this one.