Giter Site home page Giter Site logo

Comments (7)

v7b1 avatar v7b1 commented on June 18, 2024

Build locations changed a little in the latest libsamplerate version. I updated MiBraids' CMakeLists.txt to reflect these changes. Also I can't seem to build the examples from libsamplerate on mac (using SDK 10.14) anymore. Don't know if this is also an issue on linux, but I simply set the options for building examples and test-suite to 'off' in the linux- and mac-build.sh scripts. Please test and report back.
Would be good if you try that on a cleaned up folder structure.

from mi-ugens.

sc3sc3 avatar sc3sc3 commented on June 18, 2024

I can confirm, build of MiBraids now succeeds, where it failed before. Thanks.
( Linux Ubuntu 20.04 )

from mi-ugens.

ndr-brt avatar ndr-brt commented on June 18, 2024

I deleted everything, and did a clean clone, but Braids still fails:

Building libsamplerate
CMake Error: The source directory "/home/andrea/Code/livecoding/mi-UGens/MiBraids/libsamplerate" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
Building MiBraids
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andrea/Code/livecoding/mi-UGens/MiBraids/build
make[1]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[2]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
Scanning dependencies of target MiBraids
make[2]: Leaving directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[2]: Entering directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
[ 10%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/stmlib/utils/random.cc.o
[ 20%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/stmlib/dsp/atan.cc.o
[ 30%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/stmlib/dsp/units.cc.o
[ 40%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/braids/analog_oscillator.cc.o
[ 50%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/braids/digital_oscillator.cc.o
[ 60%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/braids/macro_oscillator.cc.o
[ 70%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/braids/quantizer.cc.o
[ 80%] Building CXX object CMakeFiles/MiBraids.dir/home/andrea/Code/livecoding/mi-UGens/eurorack/braids/resources.cc.o
[ 90%] Building CXX object CMakeFiles/MiBraids.dir/MiBraids.cpp.o
/home/andrea/Code/livecoding/mi-UGens/MiBraids/MiBraids.cpp:51:10: fatal error: samplerate.h: No such file or directory
   51 | #include "samplerate.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/MiBraids.dir/build.make:167: CMakeFiles/MiBraids.dir/MiBraids.cpp.o] Error 1
make[2]: Leaving directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/MiBraids.dir/all] Error 2
make[1]: Leaving directory '/home/andrea/Code/livecoding/mi-UGens/MiBraids/build'
make: *** [Makefile:84: all] Error 2

from mi-ugens.

v7b1 avatar v7b1 commented on June 18, 2024

Hm, don't know what's going on here, but can you check that libsamplerate actually contains the source code? i.e. did you do --recurse-submodules when cloning mi-UGens?

from mi-ugens.

v7b1 avatar v7b1 commented on June 18, 2024

@sc3sc3 - thanks for the confirmation!

from mi-ugens.

sc3sc3 avatar sc3sc3 commented on June 18, 2024

@v7b1 thank you for your work !

from mi-ugens.

ndr-brt avatar ndr-brt commented on June 18, 2024

@v7b1 yeah sorry I forgot it, now it works like a charm! thanks

from mi-ugens.

Related Issues (16)

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.