Git Product home page Git Product logo

xdav's People

Contributors

jjuiice avatar

Watchers

 avatar

xdav's Issues

Does not compile

Hi!

After fixing…

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 160026f..ef376ec 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,7 +15,7 @@ set(DEPS "${CMAKE_SOURCE_DIR}/deps")
 set(GLAD_GL_SRC "${DEPS}/GLAD/src/gl.c")
 
 # Required libraries
-find_library(GLFW3_LIB NAMES glfw3 HINTS "${DEPS}/GLFW/lib")
+find_library(GLFW3_LIB NAMES glfw HINTS "${DEPS}/GLFW/lib")
 
 # Add source to this project's executable.
 set(SRCS

…locally to have installed glfw3 found, I run into this compile error:

# cmake . && make -j5
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.UO8awd2aQh/xdav
[ 20%] Linking CXX executable xdav
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xdav.dir/io.cpp.o: in function `AudioIO::AudioIO()':
io.cpp:(.text+0x8f): undefined reference to `SoLoud::Soloud::Soloud()'
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: io.cpp:(.text+0xba): undefined reference to `SoLoud::Soloud::init(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: io.cpp:(.text+0xcf): undefined reference to `SoLoud::Soloud::~Soloud()'
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/xdav.dir/io.cpp.o: in function `AudioIO::~AudioIO()':
io.cpp:(.text+0x112): undefined reference to `SoLoud::Soloud::deinit()'
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: io.cpp:(.text+0x122): undefined reference to `SoLoud::Soloud::~Soloud()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/xdav.dir/build.make:146: src/xdav] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/xdav.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Best, Sebastian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.