py-js: error "make projects" - when building project (after installation)
I followed the Quickstart seemingly successfully.
Then I followed the “Building Experimental Externals using Cmake”
Some externals are successfully build but I also get the following errors (I include all the execution):
py-js % make projects
Makefile:454: warning: overriding commands for target check' Makefile:248: warning: ignoring old commands for target check’
~/Unity_projects/py-js ~/Unity_projects/py-js
– The C compiler identification is AppleClang 14.0.3.14030022
– The CXX compiler identification is AppleClang 14.0.3.14030022
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
CMAKE_OSX_ARCHITECTURES set to x86_64
CMAKE_SOURCE_DIR/source/projects/cmx: /Users/soklamon/Unity_projects/py-js/source/projects/cmx
CMAKE_BINARY_DIR}/include: /Users/soklamon/Unity_projects/py-js/build/include
– Found Python3: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version “3.11.4”) found components: Interpreter Development Development.Module Development.Embed
CMAKE_LIBRARY_OUTPUT_DIRECTORY: /Users/soklamon/Unity_projects/py-js/source/projects/py/…/…/…/externals
CMAKE_CURRENT_BINARY_DIR: /Users/soklamon/Unity_projects/py-js/build/source/projects/py
Python3_VERSION: 3.11.4
Python3_VERSION_MAJOR: 3
Python3_VERSION_MINOR: 11
Python3_FOUND: TRUE
Python3_Interpreter_FOUND: TRUE
Python3_Development_FOUND: TRUE
Python3_EXECUTABLE: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
Python3_INTERPRETER_ID: Python
Python3_STDARCH: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
Python3_STDLIB: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
Python3_SITELIB: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
Python3_SITEARCH: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
Python3_SOABI: cpython-311-darwin
Python3_LIBRARIES: /Library/Frameworks/Python.framework/Versions/3.11/lib/libpython3.11.dylib
Python3_INCLUDE_DIRS: /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
Python3_LINK_OPTIONS: LINKER:-rpath,/Library/Frameworks
Python3_LIBRARY_DIRS: /Library/Frameworks/Python.framework/Versions/3.11/lib
Python3_RUNTIME_LIBRARY_DIRS: /Library/Frameworks/Python.framework/Versions/3.11/lib
using standard local configuration
using standard local configuration
– Configuring done (4.5s)
– Generating done (0.2s)
– Build files have been written to: /Users/soklamon/Unity_projects/py-js/build
[ 3%] Building C object source/projects/cmx/CMakeFiles/cmx.dir/cmx.c.o
[ 6%] Linking C static library libcmx.a
[ 6%] Built target cmx
[ 10%] Building C object source/projects/demo/CMakeFiles/demo.dir/demo.c.o
[ 13%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/demo.mxo/Contents/MacOS/demo
Copy PkgInfo
[ 13%] Built target demo
[ 17%] Building CXX object source/projects/krait/CMakeFiles/krait.dir/krait.cpp.o
[ 20%] Linking CXX CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/krait.mxo/Contents/MacOS/krait
Copy PkgInfo
[ 20%] Built target krait
[ 24%] Building C object source/projects/mamba/CMakeFiles/mamba.dir/mamba.c.o
[ 27%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/mamba.mxo/Contents/MacOS/mamba
Copy PkgInfo
[ 27%] Built target mamba
[ 31%] Building C object source/projects/mxpy/CMakeFiles/mxpy.dir/mxpy.c.o
[ 34%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/mxpy.mxo/Contents/MacOS/mxpy
Copy PkgInfo
[ 34%] Built target mxpy
[ 37%] Building CXX object source/projects/pktpy/CMakeFiles/pktpy.dir/pktpy.cpp.o
[ 41%] Linking CXX CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/pktpy.mxo/Contents/MacOS/pktpy
Copy PkgInfo
[ 41%] Built target pktpy
[ 41%] Built target api_c
[ 44%] Building C object source/projects/py/CMakeFiles/py.dir/py.c.o
[ 48%] Building C object source/projects/py/CMakeFiles/py.dir/api.c.o
/Users/soklamon/Unity_projects/py-js/source/projects/py/api.c:26131:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CYTHON_FALLTHROUGH;
^
/Users/soklamon/Unity_projects/py-js/source/projects/py/api.c:345:34: note: expanded from macro ‘CYTHON_FALLTHROUGH’
#define CYTHON_FALLTHROUGH attribute((fallthrough))
^
/Users/soklamon/Unity_projects/py-js/source/projects/py/api.c:26142:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CYTHON_FALLTHROUGH;
^
/Users/soklamon/Unity_projects/py-js/source/projects/py/api.c:345:34: note: expanded from macro ‘CYTHON_FALLTHROUGH’
#define CYTHON_FALLTHROUGH attribute((fallthrough))
^
2 warnings generated.
[ 51%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/py.mxo/Contents/MacOS/py
Copy PkgInfo
[ 55%] Built target py
[ 58%] Building C object source/projects/pyjs/CMakeFiles/pyjs.dir/pyjs.c.o
[ 62%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/pyjs.mxo/Contents/MacOS/pyjs
Copy PkgInfo
[ 62%] Built target pyjs
[ 65%] Building CXX object source/projects/shell/CMakeFiles/shell.dir/shell.cpp.o
[ 68%] Linking CXX CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/shell.mxo/Contents/MacOS/shell
Copy PkgInfo
[ 68%] Built target shell
[ 72%] Building C object source/projects/zpy/CMakeFiles/zpy.dir/zpy.c.o
[ 75%] Building C object source/projects/zpy/CMakeFiles/zpy.dir///max-sdk-base/c74support/max-includes/common/commonsyms.c.o
[ 79%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/zpy.mxo/Contents/MacOS/zpy
ld: warning: dylib (/usr/local/lib/libczmq.dylib) was built for newer macOS version (13.0) than being linked (12.0)
ld: warning: dylib (/usr/local/lib/libzmq.dylib) was built for newer macOS version (13.0) than being linked (12.0)
ld: warning: dylib (/usr/local/lib/libsodium.dylib) was built for newer macOS version (13.0) than being linked (12.0)
Copy PkgInfo
[ 79%] Built target zpy
[ 82%] Building C object source/projects/zthread/CMakeFiles/zthread.dir/zthread.c.o
[ 86%] Building C object source/projects/zthread/CMakeFiles/zthread.dir///max-sdk-base/c74support/max-includes/common/commonsyms.c.o
[ 89%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/zthread.mxo/Contents/MacOS/zthread
ld: warning: dylib (/usr/local/lib/libzmq.dylib) was built for newer macOS version (13.0) than being linked (12.0)
ld: warning: dylib (/usr/local/lib/libsodium.dylib) was built for newer macOS version (13.0) than being linked (12.0)
Copy PkgInfo
[ 89%] Built target zthread
[ 93%] Building C object source/projects/zedit/CMakeFiles/zedit.dir/mongoose.c.o
[ 96%] Building C object source/projects/zedit/CMakeFiles/zedit.dir/zedit.c.o
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:113:23: warning: unused variable ‘toggle’ [-Wunused-variable]
t_object *toggle, *metro;
^
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:113:32: warning: unused variable ‘metro’ [-Wunused-variable]
t_object *toggle, metro;
^
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:119:13: warning: code will never be executed [-Wunreachable-code]
newobject_fromboxtext(patcher, “cycle~ 440”);
^~~~~~~~~~~~~~~~~~~~~
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:112:13: note: silence by adding parentheses to mark code as explicitly dead
if (1) {
^
/ DISABLES CODE / ( )
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:460:9: warning: code will never be executed [-Wunreachable-code]
systhread_mutex_lock(x->x_mutex);
^~~~~~~~~~~~~~~~~~~~
/Users/soklamon/Unity_projects/py-js/source/projects/zedit/zedit.c:34:20: warning: unused variable ‘s_enable_hexdump’ [-Wunused-variable]
static const char s_enable_hexdump = “no”;
^
5 warnings generated.
[100%] Linking C CFBundle shared module /Users/soklamon/Unity_projects/py-js/externals/zedit.mxo/Contents/MacOS/zedit
Copy PkgInfo
[100%] Built target zedit
~/Unity_projects/py-js
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (10 by maintainers)
also, needless to say, thank you for your contribution to the python-max community building this lib