Alhaziel wrote:
Hi to Everyone!
I have built the solution and everything seems working fine, but I got this error when I try to run the OpenGlExample Project... I have already checked... both in the addtional dependencies path...and the file .lib is already linked... the dll and the object file are also in the proper lib (C:\Qt\4.7.2\lib)...so I do not know hot to solve this issue...
Just to be clear, are you having a problem building the example application or running it? You do not need the .lib file to run the application, only to build it.
In order to build, you need to make sure the .lib exists in 'C:\Qt\4.7.2\lib', and you need to check it is in your additional dependancies. I assume you have built PolyVox using CMake? This should have set up the additional dependancies for you. Also, be aware that 'QtOpenGLd4.lib' is different from 'QtOpenGL4.lib' - the one with a 'd' is from the debug build of Qt.
If you have built but cannot run then you do not need the .lib file but you need the .dll file. Again be aware there that 'QtOpenGLd4.dll' is different from 'QtOpenGL4.dll'. You need to make sure the .dll is somewhere in your system path (which might not include 'C:\Qt\4.7.2\lib') or in your working directory (which might not be the same folder as your executable).
Alhaziel wrote:
Finally, I would like to use the PolyVox technology in my project... but I am using VC2008 and I think this may be a problem... anyway, I would like to use just the PolyVox Core files... so, is it possible to include those files in my project and use them, or I need to link other dependecies and include other files? Basically I am just interested in the core algorithm and all the rendering process will be handled by myself (in directx).
The use of OpenGL and Qt is only for the examples - PolyVox core does not use these. PolyVox core is written in standard C++ with no dependancies, but it does use parts of the new C++0x standard. Some of these features are not part of VS2008 but are in VS2010, so if you are using VS2008 you will need to have Boost installed. But I'm guessing you do have this, or you wouldn't have got as far as the linker errors above.