fede-vaccaro / TerrainEngine-OpenGL

An OpenGL 4 and C++ program which renders a procedural scene.
MIT License
634 stars 88 forks source link

Linux build? #20

Open MrBruz opened 2 years ago

MrBruz commented 2 years ago

How would I go about building this project on Linux based computers?

xiaolong-elf commented 7 months ago

I build is ok : g++ -o demo -std=c++17 Engine/Window.cpp Engine/utils.cpp Engine/texture.cpp Engine/shaderUtils.cpp Engine/shader.cpp Engine/ScreenSpaceShader.cpp Engine/glError.cpp Engine/buffers.cpp Engine/BaseShader.cpp DrawableObjects/Water.cpp DrawableObjects/VolumetricClouds.cpp DrawableObjects/Terrain.cpp DrawableObjects/Skybox.cpp DrawableObjects/GUI.cpp DrawableObjects/drawableObject.cpp DrawableObjects/CloudsModel.cpp imgui/imgui.cpp imgui/imgui_draw.cpp imgui/imgui_impl_opengl3.cpp imgui/imgui_widgets.cpp imgui/imgui_impl_glfw.cpp Main.cpp Compile/glad.c -std=c++17 -lX11 -lstdc++fs -lglfw3 -ldl -ljsoncpp -lpthread -lgbm -ldrm -lEGL -lGLESv2 -lassimp -lfmt -I ./TerrainEngine-OpenGL/Include -I ./TerrainEngine-OpenGL/imgui