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

CMake Errors
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=204
Page 1 of 1

Author:  Deedel [ Sat Apr 23, 2011 11:29 pm ]
Post subject:  CMake Errors

Hi,

When building PolyVox with CMake I encounter various unknown target referenced errors. No errors are reported on the configure log (apart from doxygen etc misssing):

Quote:
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
`sphinx-build` was not found. Try setting SPHINXBUILD_EXECUTABLE to its location.

Summary
-------
Static libraries: ON
Dynamic libraries: OFF
Build examples: ON
Build tests: ON
API Docs available: NO
- Qt Help bundling: NO
Build manual: NO

Configuring done


But when clicking generate (I tried with static libraries and with dynamic libraries) the errors below are returned:

Quote:
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
`sphinx-build` was not found. Try setting SPHINXBUILD_EXECUTABLE to its location.

Summary
-------
Static libraries: OFF
Dynamic libraries: ON
Build examples: ON
Build tests: ON
API Docs available: NO
- Qt Help bundling: NO
Build manual: NO

Configuring done
Generating done
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: BasicExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: BasicExample depends on unknown target: PolyVoxUtil
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: OpenGLExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: OpenGLExample depends on unknown target: PolyVoxUtil
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: PagingExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: PagingExample depends on unknown target: PolyVoxUtil
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: BasicExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: BasicExample depends on unknown target: PolyVoxUtil
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: OpenGLExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: OpenGLExample depends on unknown target: PolyVoxUtil
CMake Error: Unknown Target referenced : PolyVoxCore
CMake Error: Target: PagingExample depends on unknown target: PolyVoxCore
CMake Error: Unknown Target referenced : PolyVoxUtil
CMake Error: Target: PagingExample depends on unknown target: PolyVoxUtil


The error message that appears is "Error in generation process, project files may be invalid." I'm on Windows 7 using VS 2010 and grabbed PolyVox from git. Does anyone have any ideas as to why this strange error is appearing, if any more details are needed just ask. Thanks!

Author:  David Williams [ Sun Apr 24, 2011 8:41 am ]
Post subject:  Re: CMake Errors

Can you try the last stable snapshot from here: http://thermite3d.org/releases/PolyVox/PolyVox-SVN1440.zip ?

We've been making some changes to the CMake files over the last few days - firstly to change PolyVox into a static library and secondly to get nightly tests running. There's a good chance the CMake files have been broken, but I'm away from my main dev machine for a few days so I can't test on Windows.

Author:  Deedel [ Sun Apr 24, 2011 9:36 am ]
Post subject:  Re: CMake Errors

That worked fine, thank you. :)

Author:  milliams [ Sun Apr 24, 2011 12:54 pm ]
Post subject:  Re: CMake Errors

This was caused by the changes I made to the CMake files to make it possible to build static or dynamic libraries. For some reason it didn't cause an error in Linux.

I think it should be fixed in commit fce8089.

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