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: 811
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: 2
Joined: Sat Jul 30, 2022 8:33 am

Re: VR compilation error

Post 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
Post Reply