Run example_kinetics

New project for OpenCap, which is a new software package to estimate 3D human movement dynamics from smartphone videos. OpenCap strongly relies on OpenSim.
User avatar
Haruki Toda
Posts: 3
Joined: Tue Jul 12, 2022 5:46 pm

Run example_kinetics

Post by Haruki Toda » 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'

User avatar
Haruki Toda
Posts: 3
Joined: Tue Jul 12, 2022 5:46 pm

Re: Run example_kinetics

Post by Haruki Toda » Tue Aug 22, 2023 12:14 am

Dear OpenCap team

My problem may be similar to previous FAQ from Ananya Goyal.
Is there a solution?


Regards,

Haru

User avatar
Antoine Falisse
Posts: 438
Joined: Wed Jan 07, 2015 2:21 am

Re: Run example_kinetics

Post by Antoine Falisse » Wed Aug 23, 2023 8:45 am

Hi Haruki,

Do you know what processor you are using (Arm vs x86)?
We might not yet be supporting Arm for the kinetics part.

Best,
Antoine

User avatar
Haruki Toda
Posts: 3
Joined: Tue Jul 12, 2022 5:46 pm

Re: Run example_kinetics

Post by Haruki Toda » Wed Aug 23, 2023 5:11 pm

Hi Antoine,

Unfortunately, my mac have arm.
I hope that you will support arm as soon as possible.

Regards,

Haru

User avatar
Antoine Falisse
Posts: 438
Joined: Wed Jan 07, 2015 2:21 am

Re: Run example_kinetics

Post by Antoine Falisse » Thu Aug 24, 2023 10:40 am

Hi,

We will work on this, but this will probably be in a couple of months.
If you could use a windows or linux machine in the meantime, that would be awesome.

Thanks,
Antoine

User avatar
Dani Dresdner
Posts: 5
Joined: Tue Jan 31, 2023 1:50 pm

Re: Run example_kinetics

Post by Dani Dresdner » Sun Feb 04, 2024 3:36 pm

Hi,

I am getting the same error. I am on a Windows computer with an x64 processor. I have previously been able to run the example kinetics file but have not gotten it to work recently. Do you have any suggestions?

Thank you,
Dani Dresdner

User avatar
Antoine Falisse
Posts: 438
Joined: Wed Jan 07, 2015 2:21 am

Re: Run example_kinetics

Post by Antoine Falisse » Tue Feb 06, 2024 10:08 am

Hi Dani,

What's the error you're having on your windows machine?

Best,
Antoine

User avatar
Dani Dresdner
Posts: 5
Joined: Tue Jan 31, 2023 1:50 pm

Re: Run example_kinetics

Post by Dani Dresdner » Tue Feb 06, 2024 10:50 am

Here is the error I am getting
Attachments
Screen Shot 2024-02-06 at 10.48.33 AM.png
Screen Shot 2024-02-06 at 10.48.33 AM.png (22.44 KiB) Viewed 861 times

User avatar
Antoine Falisse
Posts: 438
Joined: Wed Jan 07, 2015 2:21 am

Re: Run example_kinetics

Post by Antoine Falisse » Tue Feb 06, 2024 3:30 pm

Can you please copy the entire error message?

User avatar
Dani Dresdner
Posts: 5
Joined: Tue Jan 31, 2023 1:50 pm

Re: Run example_kinetics

Post by Dani Dresdner » Wed Feb 07, 2024 10:33 am

Screen Shot 2024-02-07 at 10.31.51 AM.png
Screen Shot 2024-02-07 at 10.31.51 AM.png (135.94 KiB) Viewed 835 times

POST REPLY