Does anyone how to fix this?Error C2660: 'b3PhysicsParamSetGravity': function does not take 4 arguments
VR compilation error
-
- Posts: 3
- Joined: Thu Jul 07, 2022 7:23 pm
VR compilation error
When I try to build the app_physicalserver_sharedmemory_vr, i get such mistake:
-
- Posts: 849
- Joined: Tue Sep 30, 2014 6:03 pm
- Location: San Francisco
Re: VR compilation error
AFAICT it does indeed expect four arguments:
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
B3_SHARED_API int b3PhysicsParamSetGravity(b3SharedMemoryCommandHandle commandHandle, double gravx, double gravy, double gravz);
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
-
- Posts: 3
- Joined: Thu Jul 07, 2022 7:23 pm
Re: VR compilation error
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
I am not sure what is the problem, but somehow it is solved after I cloned the openVR