![]() The variable fields should no longer be pink, and the message window at the bottom of the CMake window should say "Configuring done".ġ0) Click Generate. You can view the description of the CMake variables by hovering over the variable and waiting for a pop-up with info to appear.ĩ) Click Configure. This specifies the name of the Visual Studio Solution file and the app or. Click to the right of where it says C:/OpenSim 3.x and make sure this is your. ![]() Click Finish.ħ) One of the pink fields that shows up is called OPENSIM_INSTALL_DIR. Leave "Use default native compilers" selected in the option menu below the drop-down box. If C:\OpenSim 3.3\sdk\buildinfo.txt contains "Win64", then choose "Visual StuWin64" otherwise, choose "Visual Studio 12 2013". Which of the two you should choose depends on if OpenSim was built as 32-bit or 64-bit. The drop-down menu provides a list of generators, which, for Visual Studio, is a combination of the Visual Studio version (e.g., "10 2010", "12 2013", "14 2015") and whether you want to build 32-bit or 64-bit ("Win64") executables with your CMake project. For OpenSim 3.3, you should select either "Visual Studio 12 2013" or "Visual StuWin64" (in older versions of CMake, the options may appear as "Visual Studio 12" and "Visual Studio 12 Win64"). Click Yes.Ħ) Another dialog box will open. ![]() ExampleMain/build (It's ok if you use all backslashes instead of all forward slashes)ĥ) If the "build" directory doesn't exist yet, a message box will pop up asking if you want to create this directory. Running CMakeĢ) For the field "Where is the source code": Browse to the correct folder where you stored your code such as /ExampleMain.ģ) For the field "Where to build the binaries": Copy-paste the same folder into this field, but add a build folder. Any empty folder will do, for example, C:/OpenSimWorkspace/ would be easy to recognize. Copy the /sdk/APIExamples/ExampleMain directory into a folder (work space) outside of the OpenSim installation so that future uninstalls and installs of OpenSim do not destroy your work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |