CedricGuillemet / Imogen

GPU Texture Generator
MIT License
761 stars 64 forks source link

Building on linux #74

Open leiserfg opened 5 years ago

leiserfg commented 5 years ago

I have been trying to build it on Linux, but I'm having some compilation errors, the first one was regarding BGFX_CONFIG_RENDERER_OPENGLES, I manage to fix it by changing

https://github.com/CedricGuillemet/Imogen//blob/dev-0.14/CMakeLists.txt#L82 to be ADD_DEFINITIONS(-DBGFX_CONFIG_RENDERER_OPENGLES=31) but now I'm getting: undefined reference to 'stbi_write_png' when linking.

By the way, great work, with a little bit of marketing it can become a huge open source project.

CedricGuillemet commented 5 years ago

Thanks leiserfg I did a mess with bimg trying to add support for jpeg write. Finally, I've just adding back image write support in the app instead. I'll do my bes to fix it today.

CedricGuillemet commented 5 years ago

It's fixed! The project needs some travis/azure dev ops continuous integration. I work on Windows and if there is no CI, the Linux/Mac/emscripten build will keep failing after a while.

leiserfg commented 5 years ago

I'll try to set up a Travis pipeline to build the Linux version, if I make it work I will do a PR.

unfa commented 4 years ago

Any development on this? I'd love to test Imogen on Linux :)

CedricGuillemet commented 4 years ago

I'm cleaning/debugging the 0.14 version atm and I have a linux box. So, in a couple weeks it should be out :)

unfa commented 4 years ago

Awesome! Thank you :)