pierreguillot / Camomile

An audio plugin with Pure Data embedded that allows to load and to control patches
GNU General Public License v3.0
905 stars 64 forks source link

"'s_net.h' file not found" when compiling dev/v.1.0.7 on macos #184

Closed fdch closed 4 years ago

fdch commented 4 years ago

Hi Pierre,

I'm on macos 10.14.5 trying to compile (using the dev branch) but I get this error when running xcodebuild

/Users/federicocamarahalac/Documents/Camomile/Source/Pd/x_libpd_multi.c:8:10: fatal error: 
      's_net.h' file not found
#include <s_net.h>
         ^~~~~~~~~
1 error generated.
...

** BUILD FAILED **

The following build commands failed:
    CompileC /Users/federicocamarahalac/Library/Developer/Xcode/DerivedData/Camomile-etnmcvgzkxaoagcgywsalfkylqjh/Build/Intermediates.noindex/Camomile.build/Release/Camomile\ -\ Shared\ Code.build/Objects-normal/x86_64/x_libpd_multi.o /Users/federicocamarahalac/Documents/Camomile/Source/Pd/x_libpd_multi.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
fdch commented 4 years ago

Quick update:

I managed to successfully compile by editing the Dependencies/LibPd/.gitmodules file to track pure-data/pure-data.git, followed by a git submodule update -f --recursive