Run example_kinetics
Posted: Mon Aug 21, 2023 11:27 pm
I am running example_kinetics.py on my M1 Mac.
However, I am getting the following error.
Is there any way to deal with this?
I could run it on windows as per the manual, but is this a Mac-specific issue?
Regards,
Haru
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [F] Error 1
make[1]: *** [CMakeFiles/F.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "/Users//Documents/opencap-processing/example_kinetics.py", line 181, in <module>
settings = processInputsOpenSimAD(baseDir, dataFolder, session_id, trial_name,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 2188, in processInputsOpenSimAD
generateExternalFunction(baseDir, dataFolder, session_id,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1514, in generateExternalFunction
buildExternalFunction(
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1727, in buildExternalFunction
shutil.copy2(path_external_filename_foo, pathBuildExternalFunction)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/build-ExpressionGraphF/foo.py'
However, I am getting the following error.
Is there any way to deal with this?
I could run it on windows as per the manual, but is this a Mac-specific issue?
Regards,
Haru
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [F] Error 1
make[1]: *** [CMakeFiles/F.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "/Users//Documents/opencap-processing/example_kinetics.py", line 181, in <module>
settings = processInputsOpenSimAD(baseDir, dataFolder, session_id, trial_name,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 2188, in processInputsOpenSimAD
generateExternalFunction(baseDir, dataFolder, session_id,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1514, in generateExternalFunction
buildExternalFunction(
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1727, in buildExternalFunction
shutil.copy2(path_external_filename_foo, pathBuildExternalFunction)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/build-ExpressionGraphF/foo.py'