Open unfa opened 5 years ago
In the src/platform.h file the linux platform is not set at all. Moreover, the ffmpeg, python,... dependencies are in the repo for Windows. For Linux, the best is to use the package system and the cmake file has to be changed to do that.
I see. Is there a way to build anything for Linux so far?
Not easily, I'm afraid. Once the cmake file is tweaked to use python and libtcc is should not be too hard.
I managed to build on Ubuntu and get something running. Get 0.14 branch to test it
In file included from /home/redneck/programs/Imogen/src/Bitmap.cpp:26:
/home/redneck/programs/Imogen/src/Platform.h:101:10: fatal error: SDL.h: No such file or directory
101 | #include <SDL.h>
Arch Linux
Shouldn't it be #include <SDL2/SDL.h>
?
Do you have SDL2 package installed?
Yes, i have, and i have SDL.h in /usr/include/SDL2
. I also have SDL.h in /usr/include/SDL
which is SDL 1.x
Should be better now
/home/redneck/programs/Imogen/ext/imgui_impl_sdl.cpp:50:10: fatal error: SDL.h: No such file or directory
50 | #include <SDL.h>
I pushed some commits so it's be possible to compile Imogen with emscripten by cmake/emcmake. Not running yet due to nodes being translated from C to JS
I'm trying to build latest Master branch code of Imogen on Manjaro Linux. This is what I get: