Skip to content

Commit

Permalink
Merge pull request #2228 from freemanlo/issue2227
Browse files Browse the repository at this point in the history
Add an additional option CMAKE_GENERATEOR_PLATFORM=x64 in the instruc…
  • Loading branch information
dorodnic committed Aug 14, 2018
2 parents b5954f1 + a420e45 commit f78e562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/unity/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ At the end of this step, the Unity project will be available in the CMake output
- Generate the VS solution using cmake (run from librealsense root dir):
- `mkdir build`
- `cd build`
- `cmake .. -DBUILD_CSHARP_BINDINGS=ON -DBUILD_UNITY_BINDINGS=ON -DBUILD_SHARED_LIBS=ON -DDOTNET_VERSION_LIBRARY=3.5`
- `cmake .. -DBUILD_CSHARP_BINDINGS=ON -DBUILD_UNITY_BINDINGS=ON -DBUILD_SHARED_LIBS=ON -DDOTNET_VERSION_LIBRARY=3.5 -DCMAKE_GENERATOR_PLATFORM=x64`
- The file 'realsense2.sln' should be created in 'build' folder, open the file with Visual Studio, C# examples and library will be available in the solution under 'Wrappers/csharp'.
- Build Intel.RealSense project, this step will build both the native library and the .NET wrapper and will copy both DLLs to the Unity project Plugins folder.
- In case Unity is installed and activated, a Unity package should be created at build/\<configuration\>/realsense.unitypackage. This file can be imported by the Unity editor.
Expand Down

0 comments on commit f78e562

Please sign in to comment.