Package Requirements Terminal error

SDK for VST 3 audio plug-in and host development.
Post Reply
david
Posts: 4
Joined: Fri Jul 21, 2017 11:14 am

Package Requirements Terminal error

Post by david »

Code: Select all

> sudo apt-get install cmake gcc "libstdc++6" libx11-xcb-dev libxcb-util-dev libxcb-cursor-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libfontconfig1-dev libcairo2-dev libgtkmm-3.0-dev libsqlite3-dev libxcb-keysyms1-dev
When trying to run the above commands in the terminal on OSX 10.15.6 i get the following error:
zsh: command not found: apt-get

Any way to make this work ?

David

david
Posts: 4
Joined: Fri Jul 21, 2017 11:14 am

Re: Package Requirements Terminal error

Post by david »

I also get an error when trying to build the examples:

Code: Select all

Make Error at /Applications/CMake.app/Contents/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
  The C++ compiler

    "/Library/Developer/CommandLineTools/usr/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/trigonomicsbook/VST_SDK/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make cmTC_ff833/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_ff833.dir/build.make CMakeFiles/cmTC_ff833.dir/build
    Building CXX object CMakeFiles/cmTC_ff833.dir/testCXXCompiler.cxx.o
    /Library/Developer/CommandLineTools/usr/bin/c++   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.8 -o CMakeFiles/cmTC_ff833.dir/testCXXCompiler.cxx.o -c /Users/trigonomicsbook/VST_SDK/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    Linking CXX executable cmTC_ff833
    /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ff833.dir/link.txt --verbose=1
    /Library/Developer/CommandLineTools/usr/bin/c++  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.8 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ff833.dir/testCXXCompiler.cxx.o -o cmTC_ff833 
    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
    ld: library not found for -lstdc++
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [cmTC_ff833] Error 1
    make: *** [cmTC_ff833/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:15 (project)

User avatar
ygrabit
Posts: 175
Joined: Fri Jun 17, 2016 7:52 am
Location: Hamburg
Contact:

Re: Package Requirements Terminal error

Post by ygrabit »

you are on MacOS.... you try to use stuff from Linux !
YVan Grabit

Post Reply