You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried compiling on arch linux but get compile error.
In file included from /home/markus/code/glsmac/src/base/Base.h:11,
from /home/markus/code/glsmac/src/base/Module.h:7,
from /home/markus/code/glsmac/src/audio/Audio.h:5,
from /home/markus/code/glsmac/src/audio/Audio.cpp:1:
/home/markus/code/glsmac/src/audio/Audio.cpp: In member function ‘void audio::Audio::RemoveAndDeleteActor(scene::actor::Sound*)’:
/home/markus/code/glsmac/src/audio/Audio.cpp:20:25: error: ‘find’ was not declared in this scope
20 | ASSERT( find( m_removal_queue.begin(), m_removal_queue.end(), actor ) == m_removal_queue.end(), "actor already in removal queue" );
| ^~~~
/home/markus/code/glsmac/src/base/Assert.h:10:13: note: in definition of macro ‘ASSERT’
10 | if ( !( _condition ) ) { \
| ^~~~~~~~~~
[ 63%] Building CXX object CMakeFiles/GLSMAC.dir/src/ui/object/UIObject.cpp.o
[ 63%] Building CXX object CMakeFiles/GLSMAC.dir/src/ui/object/Mesh.cpp.o
[ 63%] Building CXX object CMakeFiles/GLSMAC.dir/src/ui/object/Surface.cpp.o
make[2]: *** [CMakeFiles/GLSMAC.dir/build.make:2904: CMakeFiles/GLSMAC.dir/src/audio/Audio.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/markus/code/glsmac/src/graphics/Graphics.cpp: In member function ‘void graphics::Graphics::RemoveOnWindowResizeHandler(void*)’:
/home/markus/code/glsmac/src/graphics/Graphics.cpp:46:32: error: ‘find’ is not a member of ‘std’; did you mean ‘bind’?
46 | auto it = std::find( m_on_resize_handlers_order.begin(), m_on_resize_handlers_order.end(), object );
| ^~~~
| bind
In file included from /home/markus/code/glsmac/src/base/Base.h:11,
from /home/markus/code/glsmac/src/graphics/opengl/Scene.h:6,
from /home/markus/code/glsmac/src/graphics/opengl/Scene.cpp:1:
/home/markus/code/glsmac/src/graphics/opengl/Scene.cpp: In member function ‘void graphics::opengl::Scene::AddActorToZIndexSet(graphics::opengl::Actor*)’:
/home/markus/code/glsmac/src/graphics/opengl/Scene.cpp:53:17: error: ‘find’ was not declared in this scope
53 | ASSERT( find( it->second.begin(), it->second.end(), gl_actor ) == it->second.end(), "actor already found in zindex set" );
| ^~~~
/home/markus/code/glsmac/src/base/Assert.h:10:13: note: in definition of macro ‘ASSERT’
10 | if ( !( _condition ) ) { \
| ^~~~~~~~~~
/home/markus/code/glsmac/src/graphics/opengl/Scene.cpp: In member function ‘void graphics::opengl::Scene::RemoveActorFromZIndexSet(graphics::opengl::Actor*)’:
/home/markus/code/glsmac/src/graphics/opengl/Scene.cpp:62:25: error: ‘find’ was not declared in this scope
62 | auto actor_it = find( it->second.begin(), it->second.end(), gl_actor );
| ^~~~
make[2]: *** [CMakeFiles/GLSMAC.dir/build.make:2862: CMakeFiles/GLSMAC.dir/src/graphics/Graphics.cpp.o] Error 1
make[2]: *** [CMakeFiles/GLSMAC.dir/build.make:2820: CMakeFiles/GLSMAC.dir/src/graphics/opengl/Scene.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1669: CMakeFiles/GLSMAC.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
make -j32 262.37s user 16.23s system 2106% cpu 13.227 total
The text was updated successfully, but these errors were encountered:
hartmark
added a commit
to hartmark/glsmac
that referenced
this issue
May 19, 2024
I tried compiling on arch linux but get compile error.
The text was updated successfully, but these errors were encountered: