Page 1 of 1

Package Requirements Terminal error

Posted: Sat Aug 01, 2020 2:48 am
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

Re: Package Requirements Terminal error

Posted: Sat Aug 01, 2020 12:30 pm
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)