VR compilation error

Post Reply
jokerGX
Posts: 3
Joined: Thu Jul 07, 2022 7:23 pm

VR compilation error

Post by jokerGX »

When I try to build the app_physicalserver_sharedmemory_vr, i get such mistake:
Error C2660: 'b3PhysicsParamSetGravity': function does not take 4 arguments
Does anyone how to fix this?
User avatar
drleviathan
Posts: 814
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: VR compilation error

Post by drleviathan »

AFAICT it does indeed expect four arguments:

Code: Select all

B3_SHARED_API int b3PhysicsParamSetGravity(b3SharedMemoryCommandHandle commandHandle, double gravx, double gravy, double gravz);
Check its declaration in the header to make sure: examples/SharedMemory/PhysicsClientC_API.h

What version of the repository is in your sandbox? I cloned it at:

Code: Select all

commit a1d96646c8ca28b99b2581dcfc4d74cc3b4de018 (HEAD -> master, origin/master, origin/HEAD)
Merge: 466b76680 66012fe21
Author: erwincoumans <erwin.coumans@gmail.com>
Date:   Thu May 26 23:12:33 2022 -0400

    Merge pull request #4118 from dbartolini/fix-warning
    
    Fix indentation
jokerGX
Posts: 3
Joined: Thu Jul 07, 2022 7:23 pm

Re: VR compilation error

Post by jokerGX »

The problem is solved when I git cloned openVR into the repo
I am not sure what is the problem, but somehow it is solved after I cloned the openVR
davidsmithhello653
Posts: 3
Joined: Sat Jul 30, 2022 8:33 am

Re: VR compilation error

Post by davidsmithhello653 »

jokerGX wrote: Sun Jul 31, 2022 8:17 pm Next year, I might get to do an exchange program in Germany and do this experiment on a proper essay writing service. Well, I might at least if I get my essay right. Yup, I have to apply for this opportunity and I have to present a convincing essay. To write that, I would like to include a theoretical approach which will be confirmed once I'm there to do the real testing. And I was just wondering if that's possible with bullet?
Thanks a lot!
Post Reply