Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
Build Problems http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=469 |
Page 1 of 2 |
Author: | SirSpence99 [ Tue Dec 25, 2012 1:04 am ] |
Post subject: | Build Problems |
Hello, I am an (Almost) complete novice when it comes to programming and I am having difficulty actually getting the library to be included in my VS2012 Project. I was wondering if I could get pointed in the right direction. Thanks! EDIT Ok I got it to compile. Had to rerun some things. Now I'm trying to figure out how to actually get it to #include properly. I keep having difficulty with it saying it can not open source file. Edit2 Woo got that. Now I'm getting the error: error LNK2019: unresolved external symbol "public: class PolyVox::Vector<3,int> const & __thiscall PolyVox::Region::getLowerCorner(void)const " (?getLowerCorner@Region@PolyVox@@QBEABV?$Vector@$02H@2@XZ) referenced in function "public: int __thiscall PolyVox::BaseVolume<unsigned char>::getDepth(void)const " (?getDepth@?$BaseVolume@E@PolyVox@@QBEHXZ) This error only occurs when I actually go and try to build it using VS 2012 Express. |
Author: | David Williams [ Wed Dec 26, 2012 9:38 am ] |
Post subject: | Re: Build Problems |
For the latest error perhaps you are not linking against PolyVoxCore.lib? I don't have VS2012 but in VS2010 you go 'Project Properties->Configuration Properties->Linker->Input->Additional Dependencies' and make sure PolyVoxCore.lib is in the list. You might need to make sure it can find this library by setting 'Project Properties->Configuration Properties->Linker->Additional Library Directories' in the appropriate way. Ddid you use CMake to build PolyVox, and have you got the examples working yet? If so you can just copy the include/linker settings from there. |
Author: | SirSpence99 [ Wed Dec 26, 2012 9:47 pm ] |
Post subject: | Re: Build Problems |
So far I've tried building with cmake and it did not give me the examples. I also can not find polyvoxcore.lib where would it be located? |
Author: | David Williams [ Thu Dec 27, 2012 8:44 am ] |
Post subject: | Re: Build Problems |
SirSpence99 wrote: So far I've tried building with cmake and it did not give me the examples. I also can not find polyvoxcore.lib where would it be located? In order for the examples to build to need to have Qt installed so maybe you don't have this? After you run CMake and then bulid the resulting solution you should find the lib files in 'polyvox\build\library\PolyVoxCore\Debug' and/or 'polyvox\build\library\PolyVoxCore\Release'. |
Author: | SirSpence99 [ Thu Dec 27, 2012 3:29 pm ] |
Post subject: | Re: Build Problems |
I already installed QT but it appears that Cmake does not recognize that it is installed. |
Author: | milliams [ Thu Dec 27, 2012 8:17 pm ] |
Post subject: | Re: Build Problems |
SirSpence99 wrote: I already installed QT but it appears that Cmake does not recognize that it is installed. When you are running the CMake gui, there should be an entry for QT_QMAKE_EXECUTABLE. Set that entry to point to the qmake.exe from your installed version of Qt.
|
Author: | SirSpence99 [ Thu Jan 03, 2013 7:28 pm ] |
Post subject: | Re: Build Problems |
I'm trying to use cmake and qt but now I'm getting the error: CMake Error at C:/Programming/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "C:/Programming/MinGW/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Programming/PolyVox/build/CMakeFiles/CMakeTmp I have no idea how to fix this. |
Author: | David Williams [ Thu Jan 03, 2013 8:11 pm ] |
Post subject: | Re: Build Problems |
Matt is the best person to comment on this, but are you using the version of PolyVox from Git or the last stable relese? In your case I'd recommend the last stable version, as we have made some CMake changes since then which may be related to your issue. @Matt - I thought I saw this error on the build machine today but I can't find it now. Maybe I'm going mad... |
Author: | SirSpence99 [ Fri Jan 04, 2013 4:33 am ] |
Post subject: | Re: Build Problems |
Alright I can not get cmake to build anything using vs2010 or mingw makefiles. SO I can't get QT to open it and I have visual studio 2012 express So I can't get the QT addin for vs. And I can't get cmake to actually build any examples that will run. |
Author: | David Williams [ Fri Jan 04, 2013 9:30 am ] |
Post subject: | Re: Build Problems |
SirSpence99 wrote: Alright I can not get cmake to build anything using vs2010 or mingw makefiles. So are you saying that your problem appears to be with CMake rather than with PolyVox? A few other things to keep in mind:
|
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |