This is a memo for the group members in Gravity. My code relies on several 3rd party libraries and my own libraries. Here is a memo about how to build it. 3rd Party Libraries: URL: svn+ssh://<your_user_name>@ exavis.cse.ohio-state.edu/home/leeten/SVN/lib/trunk
After you check out the folder to a local folder (e.g. d:/lib). - Open cmake-gui. Put the box "Where is the source code" as d:/lib/src and the box "Where to build the binaries" as d:/lib/src/build/<version_of_visual_studio>/<arch>. (For instance, if you are using Visual Studio 2010 and you want to build x64 version, put <version_of_visual_studio> as 2010 and <arch> as x64.
- Set up the install path in CMAKE_INSTALL_PREFIX. I will suggest the value as d:/lib/src/install/<version_of_visual_studio>/<arch>.
- Click configure and then Generate.
- Open d:/lib/src/build/<version_of_visual_studio>/<arch>/lib.sln to build the libraries.
- In this solution,build the project INSTALL
MyLib: My own libraries: URL: svn+ssh://<your_user_name>@ exavis.cse.ohio-state.edu/home/leeten/SVN/mylib/trunk
After you check out the folder to a local folder (e.g. d:/mylib). - Open cmake-gui. Put the box "Where is the source code" as d:/mylib/ and the box "Where to build the binaries" as d:/mylib/build/<version_of_visual_studio>/<arch>. (For instance, if you are using Visual Studio 2010 and you want to build x64 version, put <version_of_visual_studio> as 2010 and <arch> as x64.
- Set up the install path in CMAKE_INSTALL_PREFIX. I will suggest the value as d:/mylib/install/<version_of_visual_studio>/<arch>.
- Set WITH_CUDA as ON if you have CUDA Toolkit.
- Set WITH_OPENCV as ON if you have OpenCV installed.
- Set WITH_OPENGL as ON if you have OpenGL installed.
- Set WITH_STATIC_LINK as ON.
- Set THIRDPARTY_DIR as the path you setup before.
- Click configure and then Generate.
- Open d:/lib/src/build/<version_of_visual_studio>/<arch>/lib.sln to build the libraries.
- In this solution,build the project INSTALL
|