It is currently Sat Aug 22, 2020 2:02 pm


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CMake Errors
PostPosted: Sat Apr 23, 2011 11:29 pm 

Joined: Sat Apr 23, 2011 11:13 pm
Posts: 7
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!


Top
Offline Profile  
Reply with quote  
 Post subject: Re: CMake Errors
PostPosted: Sun Apr 24, 2011 8:41 am 
Developer
User avatar

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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: CMake Errors
PostPosted: Sun Apr 24, 2011 9:36 am 

Joined: Sat Apr 23, 2011 11:13 pm
Posts: 7
That worked fine, thank you. :)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: CMake Errors
PostPosted: Sun Apr 24, 2011 12:54 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
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.

_________________
Matt Williams
Linux/CMake guy


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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