Giter Site home page Giter Site logo

Mac M1系统运行文件报错 about jnerf HOT 1 OPEN

jittor avatar jittor commented on August 23, 2024
Mac M1系统运行文件报错

from jnerf.

Comments (1)

cjp-chu avatar cjp-chu commented on August 23, 2024

/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Users/achu/Desktop/JNeRF-master/python/jnerf/runner/runner.py
[i 0927 15:33:15.946090 32 compiler.py:955] Jittor(1.3.5.16) src: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor
[i 0927 15:33:15.994051 32 compiler.py:956] g++ at /usr/bin/g++(13.1.6)
[i 0927 15:33:15.994188 32 compiler.py:957] cache_path: /Users/achu/.cache/jittor/jt1.3.5/g++13.1.6/py3.8.8/macOS-10.16-x8xb9/AppleM1Pro/default
ld: library not found for -lomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "/Users/achu/Desktop/JNeRF-master/python/jnerf/runner/runner.py", line 2, in
import jittor as jt
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/init.py", line 18, in
from . import compiler
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/compiler.py", line 1180, in
check_cache_compile()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/compiler.py", line 884, in check_cache_compile
recompile = compile(cc_path, cc_flags+f" {opt_flags} ", files, jit_utils.cache_path+'/jit_utils_core'+extension_suffix, True)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/compiler.py", line 126, in compile
return do_compile(fix_cl_flags(cmd))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/compiler.py", line 91, in do_compile
run_cmd(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor_utils/init.py", line 188, in run_cmd
raise Exception(err_msg)
Exception: Run cmd failed: "/usr/bin/g++" "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src/utils/cache_compile.cc" "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src/utils/log.cc" "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src/utils/tracer.cc" "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src/utils/jit_utils.cc" "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src/utils/str_utils.cc" -Wall -Wno-unknown-pragmas -std=c++14 -fPIC -march=native -fdiagnostics-color=always -lstdc++ -ldl -shared -undefined dynamic_lookup -lomp -I"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/jittor/src" -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -O2 -o "/Users/achu/.cache/jittor/jt1.3.5/g++13.1.6/py3.8.8/macOS-10.16-x8xb9/AppleM1Pro/default/jit_utils_core.cpython-38-darwin.so"

Process finished with exit code 1

from jnerf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.