AlloSphere-Research-Group / allolib

Library for interactive multimedia application development
BSD 3-Clause "New" or "Revised" License
36 stars 15 forks source link

MacOS 10.15.1 (Catalina) Issues #31

Closed philipkobernik closed 4 years ago

philipkobernik commented 4 years ago

Hello!

Having issues with running running an allolib playground example: ./run.sh allolib/examples/graphics/2D.cpp

At first had issues, stdio.h and math.h and assert.h and string.h could not be found. Followed instructions from this stack overflow answer (https://stackoverflow.com/a/58349403) and created a symbolic link by using this command:

sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/

This allowed the linker/compiler to find stdio.h, math.h, assert.h, string.h ...

But now the linker/compiler is complaining about other files: fatal error: 'Carbon/Carbon.h' file not found fatal error: 'CoreMIDI/CoreMIDI.h' file not found fatal error: 'CoreAudio/AudioHardware.h' file not found fatal error: 'IOKit/serial/ioss.h' file not found fatal error: 'CoreAudio/AudioHardware.h' file not found

any ideas on how to proceed?

Thanks, Philip

mantaraya36 commented 4 years ago

Can you provide the exact output?

Also, what version OS and Xcode do you have?

Those are all system libraries that should be there if Xcode command line tools are installed....

On Tue, Jan 7, 2020 at 11:23 PM Philip Kobernik notifications@github.com wrote:

Hello!

Having issues with running running an allolib playground example: ./run.sh allolib/examples/graphics/2D.cpp

At first had issues, stdio.h and math.h and assert.h and string.h could not be found. Followed instructions from this stack overflow answer ( https://stackoverflow.com/a/58349403) and created a symbolic link by using this command:

sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/

This allowed the linker/compiler to find stdio.h, math.h, assert.h, string.h ...

But now the linker/compiler is complaining about other files: fatal error: 'Carbon/Carbon.h' file not found fatal error: 'CoreMIDI/CoreMIDI.h' file not found fatal error: 'CoreAudio/AudioHardware.h' file not found fatal error: 'IOKit/serial/ioss.h' file not found fatal error: 'CoreAudio/AudioHardware.h' file not found

any ideas on how to proceed?

Thanks, Philip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AlloSphere-Research-Group/allolib/issues/31?email_source=notifications&email_token=AADK3R2OCMEXQDLS4VFPAG3Q4V5NTA5CNFSM4KED6TTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEVZ7HA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADK3R4FQ6TV4KZ3N3UQBO3Q4V5NTANCNFSM4KED6TTA .

philipkobernik commented 4 years ago

MacOS 10.15.1 Xcode 11.3

output of ./run.sh allolib/examples/graphics/2D.cpp

+ cmake -G 'Unix Makefiles' -Wno-deprecated -DBUILD_EXAMPLES=0 -DCMAKE_BUILD_TYPE=Release -DAL_APP_FILE=../../../2D.cpp -DAL_VERBOSE_OUTPUT=OFF -DAL_APP_RUN=1 /Users/philipkoberink/ucsb/allolib_playground
serial
Building al_ext
al_ext at: /Users/philipkoberink/ucsb/allolib_playground/al_ext
Assimp not found. Not building al_assets3d extension.
 - NOT BUILDING Extension: assets3d
OpenVR not found. Not building al_openvr extension.
 * Extension: openvr
libsndfile not found. Not building soundfile extension.
 - NOT BUILDING Extension: soundfile
fftw3 not found. Not building spatialaudio
 - NOT BUILDING Extension: spatialaudio
 * Extension: statedistribution
** DONE Processing extensions **
al_ext linking to al_openvr;al_statedistribution
+ set +x
+ cmake --build . --target 2D_run --config Release -- -j7
[  1%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o
[  1%] Building CXX object ../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o
[  2%] Building CXX object ../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o
[  3%] Built target glad
[  8%] Built target oscpack
[ 16%] Built target Gamma
[ 16%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o
[ 17%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o
[ 17%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o
[ 17%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/input.c.o
In file included from In file included from In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/init.c:28:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/context.cIn file included from :/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/input.c::183:
28:
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183:
28:
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h30:::303010:::10 10: : fatal error: fatal errorfatal error: : 'Carbon/Carbon.h''Carbon/Carbon.h''Carbon/Carbon.h' file  filenot   notfoundfile  found
not 
found
#include <Carbon/Carbon.h>
#include <Carbon/Carbon.h>         ^~~~~~~~~~~~~~~~~

         ^~~~~~~~~~~~~~~~~
#include <Carbon/Carbon.h>
         ^~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h30::3010::10 : note: notedid:  notdid  findnot  headerfind  header'Carbon.h'  'Carbon.h'in  inframework  framework'Carbon' 'Carbon' /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h(loaded from '/System/Library/Frameworks') :(loaded from '/System/Library/Frameworks')30
:
10: note: did not find header 'Carbon.h' in framework 'Carbon' (loaded from '/System/Library/Frameworks')
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: note: did not find header 'CoreFoundation.h' in framework 'CoreFoundation'
      (loaded from '/System/Library/Frameworks')
1 error generated.
1 error generated.
make[3]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o] Error 1
1 error generated.
make[3]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/input.c.o] Error 1
make[2]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 17%] Building CXX object ../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui_widgets.cpp.o
[ 17%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o
[ 18%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>  // Use old API to avoid need for separate .mm file
         ^~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: note: did not find header 'Carbon.h' in framework 'Carbon' (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: fatal error: 'CoreMIDI/CoreMIDI.h' file not found
#include <CoreMIDI/CoreMIDI.h>
         ^~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: note: did not find header 'CoreMIDI.h' in framework 'CoreMIDI' (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o] Error 1
make[2]: *** [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/all] Error 2
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/rtaudio_c.cpp:2:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found
#include <CoreAudio/AudioHardware.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio'
      (loaded from '/System/Library/Frameworks')
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.cpp:44:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found
#include <CoreAudio/AudioHardware.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o] Error 1
make[2]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/all] Error 2
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: fatal error: 'IOKit/serial/ioss.h' file not found
#include <IOKit/serial/ioss.h>
         ^~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: note: did not find header 'serial/ioss.h' in framework 'IOKit'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o] Error 1
make[2]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/all] Error 2
make[2]: *** [../../../../../build/Release/external/CMakeFiles/imgui.dir/all] Error 2
make[1]: *** [CMakeFiles/2D_run.dir/rule] Error 2
make: *** [2D_run] Error 2
+ set +x

I see that Carbon, CoreFoundation, RtMidi frameworks are present in /System/Library/Frameworks/.

When I search for the header file Carbon.h, they show up in /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/

Whereas, in /System/Library/Frameworks/Carbon.framework/Versions/A/ the directory is missing the Headers folder:

philipkoberink@/System/Library/Frameworks/Carbon.framework/Versions/A$ ll
total 16
drwxr-xr-x   6 root  wheel    192 Oct 23 17:41 .
drwxr-xr-x   4 root  wheel    128 Dec  3 09:53 ..
-rwxr-xr-x   1 root  wheel  22656 Oct 23 17:41 Carbon
drwxr-xr-x  11 root  wheel    352 Oct 23 17:36 Frameworks
drwxr-xr-x   6 root  wheel    192 Oct 23 17:33 Resources
drwxr-xr-x   3 root  wheel     96 Oct 17 17:00 _CodeSignature

Thanks for your attention, Andres.

PS I also tried this, but I got swatted down.

sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/* /System/Library/Frameworks

result:

ln: /System/Library/Frameworks/Carbon.framework: Operation not permitted
ln: /System/Library/Frameworks/CloudKit.framework: Operation not permitted
ln: /System/Library/Frameworks/Cocoa.framework: Operation not permitted
ln: /System/Library/Frameworks/Collaboration.framework: Operation not permitted
ln: /System/Library/Frameworks/ColorSync.framework: Operation not permitted
ln: /System/Library/Frameworks/Combine.framework: Operation not permitted
ln: /System/Library/Frameworks/Contacts.framework: Operation not permitted
ln: /System/Library/Frameworks/ContactsUI.framework: Operation not permitted
ln: /System/Library/Frameworks/CoreAudio.framework: Operation not permitted
mantaraya36 commented 4 years ago

This seems very messed up, I suspect there is a problem with your installation of the command line tools. In all my macOS install across different versions, I haven't encountered this (I have never had to make symlinks as you have had to...), perhaps this is a change in the latest version of Xcode? What version of Xcode and cmake are you using?

mantaraya36 commented 4 years ago

OK, reading the stackoverflow post more carefully, it seems that this happens with an update to Catalina...

mantaraya36 commented 4 years ago

Does Xcode provide an option in the menus to install the command line tools? I remember I have done it this way too.

philipkobernik commented 4 years ago

I installed command line tools via xcode-select --install

when I run it again, I get xcode-select: error: command line tools are already installed, use "Software Update" to install updates

Don't see a menu option in xcode.

mantaraya36 commented 4 years ago

What are your versions of Xcode and cmake?

On Thu, Jan 9, 2020 at 11:31 AM Philip Kobernik notifications@github.com wrote:

I installed command line tools via xcode-select --install

when I run it again, I get xcode-select: error: command line tools are already installed, use "Software Update" to install updates

Don't see a menu option in xcode.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AlloSphere-Research-Group/allolib/issues/31?email_source=notifications&email_token=AADK3R3D622SROEZLLG2W6DQ453PTA5CNFSM4KED6TTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRPWAY#issuecomment-572717827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADK3R2X32TTTUJQRKYLKQDQ453PTANCNFSM4KED6TTA .

mantaraya36 commented 4 years ago

Can you try manually installing an earlier version of Xcode (not through the Apple store)? I think you can still find them in the Apple developers site.

philipkobernik commented 4 years ago

Xcode 11.3 cmake version 3.15.5

I can try installing earlier Xcode

younkhg commented 4 years ago

It seems it is intentional to not provide /usr/include (section "Command Line Tools" in [1]). Also, Catalina tries to prevent you from creating/modifying quite a lot of folders in system level (including /usr). So I think having symlinks will only be a short term solution.

I tried to reproduce the problem on Catalina (I also do not have /usr/include on my machine) but the compilation was successful. Might need more time to investigate. @philipkobernik , can you try running code in this repo? https://github.com/younkhg/see_if_it_works

No need to clone, just download it, go into the folder, ./config.sh then ./run.sh catalina. It should print "it ran" if everything works.

One thing to note is that the compilation is failing with dependency libs (GLFW, etc.) maybe the problem is not in the allolib and updating the dep libs to newer version of those could help. I also tried compiling today's master/head of the GLFW and the compilation was successful.

[1] https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes?language=objc

philipkobernik commented 4 years ago

Success:

$ ./config.sh 
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Users/philipkoberink/ucsb/see_if_it_works/build

$ ./run.sh catalina
Scanning dependencies of target catalina
[ 50%] Building CXX object CMakeFiles/catalina.dir/catalina.cpp.o
[100%] Linking CXX executable catalina
[100%] Built target catalina
it ran
younkhg commented 4 years ago

If the simple example compiled, I think whether we have /usr/include is not a problem. The next step we can try is building allolib without run script.

  1. clone the repo
  2. in the repo directory

    mkdir build cmake -B build -S . make -C build

Depending on this compilation result we can choose where to look next. I'm curious if other people in the AlloSphere Research Group are also experiencing this issue?

philipkobernik commented 4 years ago

I cloned the repo & did the recursive submodule update. then:

$ cmake -B build -S .
-- ==== Configuring Gamma.
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'libsndfile'
--   No package 'libsndfile' found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- libsndfile: SNDFILE_LIBRARY-NOTFOUND
-- threading: 
-- Using Cocoa for window creation
-- Checking for module 'jack'
--   No package 'jack' found
-- Checking for module 'libpulse-simple'
--   No package 'libpulse-simple' found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
CMake Deprecation Warning at external/rtaudio/CMakeLists.txt:207 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- Compiling with support for: core
-- Checking for module 'jack'
--   No package 'jack' found
CMake Deprecation Warning at external/rtmidi/CMakeLists.txt:154 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- Compiling with support for: coremidi
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Using the single-header code from /Users/philipkoberink/ucsb/allolib/external/json/single_include/
serial
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/philipkoberink/ucsb/allolib/build

Looks like success.

$ make -C build

... thousands of lines ...

[100%] Linking CXX static library libal.a
[100%] Built target al

Looks like success.

younkhg commented 4 years ago

looks good! So it seems both your system and allolib do not have problem. Next we can try the same with allolib_playground repo. if that fails, the problem would be in playground's cmake, if not, then the problem is in the run script... @mantaraya36 any other thoughts?

philipkobernik commented 4 years ago

in allolib_playground:

allolib_playground$ cmake -B build -S .
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
[!] app file not provided, building all

CMake Warning (dev) at allolib/CMakeLists.txt:20 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_EXAMPLES'.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework   
-- ==== Configuring Gamma.
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'libsndfile'
--   No package 'libsndfile' found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- libsndfile: SNDFILE_LIBRARY-NOTFOUND
-- threading: 
-- Using Cocoa for window creation
-- Checking for module 'jack'
--   No package 'jack' found
-- Checking for module 'libpulse-simple'
--   No package 'libpulse-simple' found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
CMake Deprecation Warning at allolib/external/rtaudio/CMakeLists.txt:207 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- Compiling with support for: core
-- Checking for module 'jack'
--   No package 'jack' found
CMake Deprecation Warning at allolib/external/rtmidi/CMakeLists.txt:154 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- Compiling with support for: coremidi
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Using the single-header code from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/json/single_include/
serial
Building al_ext
al_ext at: /Users/philipkoberink/ucsb/allolib_playground/al_ext
-- Checking for module 'libassimp'
--   No package 'libassimp' found
Assimp not found. Not building al_assets3d extension.
 - NOT BUILDING Extension: assets3d
OpenVR not found. Not building al_openvr extension.
 * Extension: openvr
libsndfile not found. Not building soundfile extension.
 - NOT BUILDING Extension: soundfile
fftw3 not found. Not building spatialaudio
 - NOT BUILDING Extension: spatialaudio
 * Extension: statedistribution
** DONE Processing extensions **
al_ext linking to al_openvr;al_statedistribution
Building path tutorials/interaction-sequencing/*.cpp
Building 01_parameters from tutorials/interaction-sequencing/*.cpp
Building 02_parameters_OSC from tutorials/interaction-sequencing/*.cpp
Building 03_presets from tutorials/interaction-sequencing/*.cpp
Building 04_sequencer_system from tutorials/interaction-sequencing/*.cpp
Building 05_polysynth from tutorials/interaction-sequencing/*.cpp
Building 06_trigger from tutorials/interaction-sequencing/*.cpp
Building 07_event_sequencer from tutorials/interaction-sequencing/*.cpp
Building 08_event_recorder from tutorials/interaction-sequencing/*.cpp
Building 09_bundles from tutorials/interaction-sequencing/*.cpp
Building 10_distributedapp from tutorials/interaction-sequencing/*.cpp
Building 11_audio_spatialization from tutorials/interaction-sequencing/*.cpp
Building 12_audio_spatialization_scene from tutorials/interaction-sequencing/*.cpp
Building path cookbook/av/*.cpp
Building audioToGraphics from cookbook/av/*.cpp
Building helloVirtualWorld from cookbook/av/*.cpp
Building path cookbook/shaders/*.cpp
Building path cookbook/simulation/*.cpp
Building flocking from cookbook/simulation/*.cpp
Building gravityWell from cookbook/simulation/*.cpp
Building levyFlight from cookbook/simulation/*.cpp
Building particleSystem from cookbook/simulation/*.cpp
Building waveEquation from cookbook/simulation/*.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/philipkoberink/ucsb/allolib_playground/build

then

allolib_playground$ make -C build

... thousands of lines ...

[ 99%] Building CXX object al_ext/statedistribution/cuttlebone/CMakeFiles/scratch_sendto.dir/scratch/sendto.cpp.o
clang: warning: -O4 is equivalent to -O3 [-Wdeprecated]
[100%] Linking CXX executable scratch_sendto
[100%] Built target scratch_sendto

Looks like success.

younkhg commented 4 years ago

Then I guess the run script sets something else. I'm not familiar with the playground code yet though... I'll try looking into the script. @mantaraya36 do you have a guess on where the problem would be in the run script?

mantaraya36 commented 4 years ago

Finally looking at this.

I see from a post above that the run script calls cmake like this:

cmake -G 'Unix Makefiles' -Wno-deprecated -DBUILD_EXAMPLES=0 -DCMAKE_BUILD_TYPE=Release -DAL_APP_FILE=../../../2D.cpp -DAL_VERBOSE_OUTPUT=OFF -DAL_APP_RUN=1 /Users/philipkoberink/ucsb/allolib_playground

I don't see anything unusual there, but Peter, can you try this line and then building, removing some of the flags until it builds?

philipkobernik commented 4 years ago

Wondered for a second if there is a “peter” on the ARG then realized you meant me... haha no worries.

I can definitely try that.

On Wed, Jan 15, 2020 at 12:47 PM Andres Cabrera notifications@github.com wrote:

Finally looking at this.

I see from a post above that the run script calls cmake like this:

cmake -G 'Unix Makefiles' -Wno-deprecated -DBUILD_EXAMPLES=0 -DCMAKE_BUILD_TYPE=Release -DAL_APP_FILE=../../../2D.cpp -DAL_VERBOSE_OUTPUT=OFF -DAL_APP_RUN=1 /Users/philipkoberink/ucsb/allolib_playground

I don't see anything unusual there, but Peter, can you try this line and then building, removing some of the flags until it builds?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AlloSphere-Research-Group/allolib/issues/31?email_source=notifications&email_token=AAE2FBWOI65IAGVESSVV2NDQ55Y53A5CNFSM4KED6TTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBYAXI#issuecomment-574849117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2FBSJVRB2XRWKUKWMQ7TQ55Y53ANCNFSM4KED6TTA .

--

http://philip.news +1 206.553.9785

mantaraya36 commented 4 years ago

Yes! Sorry Philip!

philipkobernik commented 4 years ago

Andres, I modified line 150-152 of run.sh, removing flags until it looks like

set -x
  "${CMAKE_BINARY}"
set +x

and still getting same fatal errors:

allolib_playground/philip$ ../run.sh ../allolib/examples/graphics/2D.cpp
+ cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>
  cmake [options] -S <path-to-source> -B <path-to-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

+ set +x
+ cmake --build . --target 2D_run --config Release -- -j7
[  0%] Building CXX object ../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o
[  1%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o
[  2%] Building CXX object ../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o
[  3%] Built target glad
[  8%] Built target oscpack
[ 16%] Built target Gamma
[ 16%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o
[ 17%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o
[ 17%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o
[ 18%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/init.c:28:
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>
         ^~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: note: did not find header 'Carbon.h' in framework 'Carbon'
      (loaded from '/System/Library/Frameworks')
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/context.c:28:
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>
         ^~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: note: did not find header 'Carbon.h' in framework 'Carbon'
      (loaded from '/System/Library/Frameworks')
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: note: did not find header 'CoreFoundation.h' in framework
      'CoreFoundation' (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 error generated.
make[3]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o] Error 1
make[2]: *** [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 18%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>  // Use old API to avoid need for separate .mm file
         ^~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: note: did not find header 'Carbon.h' in framework 'Carbon'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o] Error 1
make[2]: *** [../../../../../build/Release/external/CMakeFiles/imgui.dir/all] Error 2
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: fatal error: 'CoreMIDI/CoreMIDI.h' file not found
#include <CoreMIDI/CoreMIDI.h>
         ^~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: note: did not find header 'CoreMIDI.h' in framework 'CoreMIDI'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o] Error 1
make[2]: *** [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/all] Error 2
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.cpp:44:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found
#include <CoreAudio/AudioHardware.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/rtaudio_c.cpp:2:
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found
#include <CoreAudio/AudioHardware.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o] Error 1
make[2]: *** [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/all] Error 2
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: fatal error: 'IOKit/serial/ioss.h' file not found
#include <IOKit/serial/ioss.h>
         ^~~~~~~~~~~~~~~~~~~~~
/Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: note: did not find header 'serial/ioss.h' in framework 'IOKit'
      (loaded from '/System/Library/Frameworks')
1 error generated.
make[3]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o] Error 1
make[2]: *** [../../../../../build/Release/external/CMakeFiles/serial.dir/all] Error 2
make[1]: *** [CMakeFiles/2D_run.dir/rule] Error 2
make: *** [2D_run] Error 2
+ set +x
mantaraya36 commented 4 years ago

Two things to try:

(First make sure you are back to the original CMakeLists.txt file)

  1. Try removing line 44:

    set(CMAKE_CONFIGURATION_TYPES "Debug;Release")

  2. Try changing line 151 in run.sh to:

"${CMAKE_BINARY}" -G "${GENERATOR}" -DAL_APP_FILE=../../../${APP_FILE} "${INITIALDIR}" > cmake_log.txt

On Thu, Jan 16, 2020 at 11:08 AM Philip Kobernik notifications@github.com wrote:

Andres, I modified line 150-152 of run.sh, removing flags until it looks like

set -x "${CMAKE_BINARY}" set +x

and still getting same fatal errors:

allolib_playground/philip$ ../run.sh ../allolib/examples/graphics/2D.cpp

  • cmake Usage

    cmake [options] cmake [options] cmake [options] -S -B

Specify a source directory to (re-)generate a build system for it in the current working directory. Specify an existing build directory to re-generate its build system.

Run 'cmake --help' for more information.

  • set +x
  • cmake --build . --target 2D_run --config Release -- -j7 [ 0%] Building CXX object ../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o [ 1%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o [ 2%] Building CXX object ../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o [ 3%] Built target glad [ 8%] Built target oscpack [ 16%] Built target Gamma [ 16%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o [ 17%] Building C object ../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o [ 17%] Building CXX object ../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o [ 18%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/init.c:28: In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183: /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found

    include <Carbon/Carbon.h>

     ^~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: note: did not find header 'Carbon.h' in framework 'Carbon' (loaded from '/System/Library/Frameworks') In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/context.c:28: In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/internal.h:183: /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found

    include <Carbon/Carbon.h>

     ^~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/glfw/src/cocoa_platform.h:30:10: note: did not find header 'Carbon.h' in framework 'Carbon' (loaded from '/System/Library/Frameworks') /Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found

    include <CoreFoundation/CoreFoundation.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/list_ports/list_ports_osx.cc:6:10: note: did not find header 'CoreFoundation.h' in framework 'CoreFoundation' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/context.c.o] Error 1 make[3]: Waiting for unfinished jobs.... 1 error generated. make[3]: [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/init.c.o] Error 1 make[2]: [../../../../../build/Release/external/glfw/src/CMakeFiles/glfw.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 18%] Building CXX object ../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o /Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: fatal error: 'Carbon/Carbon.h' file not found

    include <Carbon/Carbon.h> // Use old API to avoid need for separate .mm file

     ^~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/imgui/imgui.cpp:9781:10: note: did not find header 'Carbon.h' in framework 'Carbon' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/CMakeFiles/imgui.dir/imgui/imgui.cpp.o] Error 1 make[2]: [../../../../../build/Release/external/CMakeFiles/imgui.dir/all] Error 2 /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: fatal error: 'CoreMIDI/CoreMIDI.h' file not found

    include <CoreMIDI/CoreMIDI.h>

     ^~~~~~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtmidi/RtMidi.cpp:720:10: note: did not find header 'CoreMIDI.h' in framework 'CoreMIDI' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/RtMidi.cpp.o] Error 1 make[2]: [../../../../../build/Release/external/rtmidi/CMakeFiles/rtmidi.dir/all] Error 2 1 error generated. make[3]: [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/list_ports/list_ports_osx.cc.o] Error 1 make[3]: Waiting for unfinished jobs.... In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.cpp:44: /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found

    include <CoreAudio/AudioHardware.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/RtAudio.cpp.o] Error 1 make[3]: Waiting for unfinished jobs.... In file included from /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/rtaudio_c.cpp:2: /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: fatal error: 'CoreAudio/AudioHardware.h' file not found

    include <CoreAudio/AudioHardware.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/rtaudio/RtAudio.h:890:10: note: did not find header 'AudioHardware.h' in framework 'CoreAudio' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/rtaudio_c.cpp.o] Error 1 make[2]: [../../../../../build/Release/external/rtaudio/CMakeFiles/rtaudio.dir/all] Error 2 /Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: fatal error: 'IOKit/serial/ioss.h' file not found

    include <IOKit/serial/ioss.h>

     ^~~~~~~~~~~~~~~~~~~~~

    /Users/philipkoberink/ucsb/allolib_playground/allolib/external/serial/src/impl/unix.cc:46:10: note: did not find header 'serial/ioss.h' in framework 'IOKit' (loaded from '/System/Library/Frameworks') 1 error generated. make[3]: [../../../../../build/Release/external/CMakeFiles/serial.dir/serial/src/impl/unix.cc.o] Error 1 make[2]: [../../../../../build/Release/external/CMakeFiles/serial.dir/all] Error 2 make[1]: [CMakeFiles/2D_run.dir/rule] Error 2 make: [2D_run] Error 2

  • set +x

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AlloSphere-Research-Group/allolib/issues/31?email_source=notifications&email_token=AADK3R2QO7AVS72XXM4QYR3Q6CWC5A5CNFSM4KED6TTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJFF2JI#issuecomment-575298853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADK3R5SAABEKT5HDZNXZBTQ6CWC5ANCNFSM4KED6TTA .

philipkobernik commented 4 years ago

Andres,

I tried both those things, still getting the same fatal errors.

Philip

philipkobernik commented 4 years ago

@mantaraya36 Anything else I can do to help shed light on this issue?

mantaraya36 commented 4 years ago

@fishuyo has tested on Catalina, so it's not a Catalina issue. I'm hoping you can get together with @fishuyo to debug on your machine.

Can you try allotemplate to see if this works?

https://github.com/AlloSphere-Research-Group/allotemplate

On Tue, Jan 28, 2020 at 9:30 AM Philip Kobernik notifications@github.com wrote:

@mantaraya36 https://github.com/mantaraya36 Anything else I can do to help shed light on this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AlloSphere-Research-Group/allolib/issues/31?email_source=notifications&email_token=AADK3R6LCEGXXIH3O2T3ZLDRABTSTA5CNFSM4KED6TTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKEGQ3Y#issuecomment-579364975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADK3RZRTD3RPGQJM53PWQ3RABTSTANCNFSM4KED6TTA .

philipkobernik commented 4 years ago

Clean install of Catalina fixed the issue.