Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening ReactPhysics3D built for Visual Studio 2013 produces make_pair errors. #4

Closed
sydan92 opened this issue Apr 2, 2015 · 2 comments
Assignees
Labels

Comments

@sydan92
Copy link

sydan92 commented Apr 2, 2015

After building ReactPhysics3D with CMake for Visual Studio I get an intellisense error coming from the ConvexMeshShape.h file:

1   IntelliSense: no instance of function template "std::make_pair" matches the argument list argument types are: (reactphysics3d::uint, std::set<reactphysics3d::uint, std::less<reactphysics3d::uint>, std::allocator<char32_t>>) c:\LocalProjects\CollisionDetection\reactphysics\reactphysics3d-0.5.0\reactphysics3d\src\collision\shapes\ConvexMeshShape.h 227 36  reactphysics3d
@DanielChappuis DanielChappuis self-assigned this Apr 2, 2015
@sydan92
Copy link
Author

sydan92 commented Apr 2, 2015

Some additional information that might help with this issue, I decided to go ahead and try and include the reactphysics3D.h in my project anyway to see what would happen, after adding the additional dependency and trying to build I get:

 Error  1   error C2664: 'std::make_pair' : cannot convert parameter 1 from 'reactphysics3d::uint' to 'reactphysics3d::uint &&' c:\localprojects\collisiondetection\reactphysics\reactphysics3d-0.5.0\reactphysics3d\src\collision\shapes\convexmeshshape.h 227 ReactPhysics3DApp

(twice, line 227 and 232)

Which matches up with the intellisense error.

@DanielChappuis
Copy link
Owner

Thanks a lot for reporting this issue.

The issue has been fixed in this commit: 3aaac82
You can simply pull again the "master" branch to get the update.

Please, let me know if the issue is now fixed on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants