Page 1 of 1
VR compilation error
Posted: Fri Jul 22, 2022 9:13 pm
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?
Re: VR compilation error
Posted: Mon Jul 25, 2022 3:36 pm
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
Re: VR compilation error
Posted: Sun Jul 31, 2022 8:17 pm
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
Re: VR compilation error
Posted: Mon Aug 01, 2022 3:54 pm
by davidsmithhello653
jokerGX wrote: ↑Sun Jul 31, 2022 8:17 pm
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
Hello dude, congratz for solving your prob. Can you help me please? I got the same prob, but your method didnt work

May be you know any other info how to fix
best dissertation editing services? Which for me actually ended up being extremely helpful. Presently I don't sit around composing papers of any sort and intricacy, I actually have an astounding GPA in school