It is currently Sat Aug 22, 2020 4:25 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Build polyvox under window with VS2013
PostPosted: Wed Mar 11, 2015 6:09 pm 

Joined: Wed Mar 11, 2015 6:42 am
Posts: 1
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Build polyvox under window with VS2013
PostPosted: Thu Mar 12, 2015 9:07 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net