Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Build polyvox under window with VS2013
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=632
Page 1 of 1

Author:  dwei [ Wed Mar 11, 2015 6:09 pm ]
Post subject:  Build polyvox under window with VS2013

Hi everyone:
I try to build the polyvox under VS 2013 with CMake. However after the build with CMake, there is no DLL or exe files under directory of C:\polyvox-0.2.1\build . I see some solution files for visual studio. I will list them in the following. Any help will be welcomed and thank you.

Polyvox version: polyvox-0.2.1

Compiler:Visual Studio 2013

Qt: 4.8.6

cmake: cmake-3.1.3

After hitting the "configuration" buttom in cmake gui: This is what I get:


Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
`sphinx-build` was not found. Try setting SPHINXBUILD_EXECUTABLE to its location.

-- The following features have been enabled:

* Examples , Examples of PolyVox usage
* Tests , Unit tests
* API docs , HTML documentation of the API
* Qt Help , API docs in Qt Help format

-- The following OPTIONAL packages have been found:

* Doxygen , API documentation generator , <http://www.doxygen.org>
Building the API documentation

-- The following RECOMMENDED packages have been found:

* Qt4 , C++ framework , <http://qt-project.org>
Building the examples
Building the tests

-- The following REQUIRED packages have been found:

* OpenGL

-- The following features have been disabled:

* Bindings , SWIG bindings
* Manual , HTML user's manual

-- The following OPTIONAL packages have not been found:

* SWIG , Bindings generator , <http://www.swig.org>
* PythonLibs , Programming language , <http://www.python.org>


Summary
-------
Library type: STATIC
Build examples: ON
Build tests: ON
Build bindings: OFF
API Docs available: YES
- Qt Help bundling: ON
Build manual: OFF

Configuring done

Author:  David Williams [ Thu Mar 12, 2015 9:07 am ]
Post subject:  Re: Build polyvox under window with VS2013

Running CMake does not actually build the project - it simply generates the build system for your platform (in your case it has generated the Visual Studio solution files). You need to open these and build them in Visual Studio to create the .dll and .exes.

That said, be prepared for some minor errors when building in VS2013. There are some points where you might have to replace '0' with 'nullptr' (or vice-versa, I forget).

Alternatively you can get the latest 'develop' branch from the Git repository. This works correctly with VS2013 and you don't even need to build it asd PolyVox is now header-only. You might still want to build the examples though, and in this case you will need to update to Qt 5.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/