Hi,
I'm new here, and I'm currently enjoying the idea of voxels and dynamically generated environments (minecraft was fun for a few days). Not unlike every other armchair programmer I see in forums regarding voxels, I want to learn more and play with something. Unfortunately I'm having problems right out of the gate.
I need to admit that most of this is way beyond me. It's been a long time since I've touched a compiler, let alone all these complex dependencies. My current programming(scripting is probably more accurate) groove has settled in a place I can comfortably work out of notepad.
With that said, I find this voxel stuff fascinating, and I've decided to stop here as a place to see if I can learn and maybe even contribute - if I can get up to speed. So if I'm too far behind and not worthy of help, I understand completely.
I downloaded the latest source as of a couple of days ago, and somewhat struggled to get an environment going. I had some hurdles, but I worked through those. But I'm stuck now with what seems to be a linking problem in the building process.
I installed all the required programs (on windows) except for the document generating options. So I have Cmake 2.8.7, codeblocks 10.05 with minGW and the gigantic Qt enviroment. I think I've properly compiled with Cmake using: CMake -G "CodeBlocks - MinGW Makefiles", and have since loaded BasicExample, polyVoxCore and polyVoxUtil into the codeblocks workspace.
When I try to build BasicExample I get 183 errors, all of which seem to be undefined reference errors. I hope it's a simple fix, or I'm missing something in the IDE to make this work.
Here is the build messages:
CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp|| undefined reference to `__gxx_personality_sj0'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp|| undefined reference to `__gxx_personality_sj0'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp|| undefined reference to `std::ios_base::Init::~Init()'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp|| undefined reference to `std::ios_base::Init::Init()'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.text$_ZN12OpenGLWidgetD1Ev[OpenGLWidget::~OpenGLWidget()]+0x36)||undefined reference to `operator delete(void*)'| int) const]+0xf)||undefined reference to `__gxx_personality_sj0'| )]+0xf)||undefined reference to `__gxx_personality_sj0'| unsigned short)]+0x13)||undefined reference to `__gxx_personality_sj0'| :~SimpleVolume()]+0x4c)||undefined reference to `operator delete[](void*)'| :~SimpleVolume()]+0x64)||undefined reference to `operator delete[](void*)'| :SurfaceMesh()]+0xc)||undefined reference to `__gxx_personality_sj0'| :~SurfaceMesh()]+0xc)||undefined reference to `__gxx_personality_sj0'| :execute()]+0x12)||undefined reference to `__gxx_personality_sj0'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.text$_ZNSt16invalid_argumentD1Ev[std::invalid_argument::~invalid_argument()]+0x16)||undefined reference to `std::logic_error::~logic_error()'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.text$_ZNSt16invalid_argumentD1Ev[std::invalid_argument::~invalid_argument()]+0x2a)||undefined reference to `operator delete(void*)'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.text$_ZNSt16invalid_argumentD0Ev[std::invalid_argument::~invalid_argument()]+0x16)||undefined reference to `std::logic_error::~logic_error()'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.text$_ZNSt16invalid_argumentD0Ev[std::invalid_argument::~invalid_argument()]+0x2a)||undefined reference to `operator delete(void*)'| unsigned short)]+0x19)||undefined reference to `__gxx_personality_sj0'| unsigned short)]+0x7d)||undefined reference to `std::allocator<char>::allocator()'| unsigned short)]+0xa1)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'| unsigned short)]+0xb6)||undefined reference to `__cxa_allocate_exception'| unsigned short)]+0xde)||undefined reference to `std::invalid_argument::invalid_argument(std::string const&)'| unsigned short)]+0xf3)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| unsigned short)]+0x10f)||undefined reference to `__cxa_free_exception'| unsigned short)]+0x13c)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| unsigned short)]+0x154)||undefined reference to `std::terminate()'| unsigned short)]+0x15f)||undefined reference to `std::allocator<char>::~allocator()'| unsigned short)]+0x187)||undefined reference to `__cxa_throw'| unsigned short)]+0x191)||undefined reference to `std::terminate()'| unsigned short)]+0x1a8)||undefined reference to `std::allocator<char>::~allocator()'| unsigned short)]+0x1f2)||undefined reference to `std::allocator<char>::allocator()'| unsigned short)]+0x216)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'| unsigned short)]+0x22b)||undefined reference to `__cxa_allocate_exception'| unsigned short)]+0x253)||undefined reference to `std::invalid_argument::invalid_argument(std::string const&)'| unsigned short)]+0x268)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| unsigned short)]+0x284)||undefined reference to `__cxa_free_exception'| unsigned short)]+0x2b1)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| unsigned short)]+0x2c9)||undefined reference to `std::terminate()'| unsigned short)]+0x2d4)||undefined reference to `std::allocator<char>::~allocator()'| unsigned short)]+0x2fc)||undefined reference to `__cxa_throw'| unsigned short)]+0x306)||undefined reference to `std::terminate()'| unsigned short)]+0x31d)||undefined reference to `std::allocator<char>::~allocator()'| unsigned short)]+0x5cc)||undefined reference to `operator new[](unsigned int)'| unsigned short)]+0x782)||undefined reference to `operator delete[](void*)'| unsigned short)]+0x804)||undefined reference to `operator new[](unsigned int)'| :Block::~Block()]+0x18)||undefined reference to `operator delete[](void*)'| :~vector()]+0xc)||undefined reference to `__gxx_personality_sj0'| :~vector()]+0xc)||undefined reference to `__gxx_personality_sj0'| :~vector()]+0xc)||undefined reference to `__gxx_personality_sj0'| :Block::initialise(unsigned short)]+0x16)||undefined reference to `__gxx_personality_sj0'| :Block::initialise(unsigned short)]+0x91)||undefined reference to `std::allocator<char>::allocator()'| :Block::initialise(unsigned short)]+0xb2)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'| :Block::initialise(unsigned short)]+0xc7)||undefined reference to `__cxa_allocate_exception'| :Block::initialise(unsigned short)]+0xec)||undefined reference to `std::invalid_argument::invalid_argument(std::string const&)'| :Block::initialise(unsigned short)]+0xfe)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| :Block::initialise(unsigned short)]+0x114)||undefined reference to `__cxa_free_exception'| :Block::initialise(unsigned short)]+0x132)||undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| :Block::initialise(unsigned short)]+0x144)||undefined reference to `std::terminate()'| :Block::initialise(unsigned short)]+0x14f)||undefined reference to `std::allocator<char>::~allocator()'| :Block::initialise(unsigned short)]+0x174)||undefined reference to `__cxa_throw'| :Block::initialise(unsigned short)]+0x19d)||undefined reference to `std::terminate()'| :Block::initialise(unsigned short)]+0x1ae)||undefined reference to `std::allocator<char>::~allocator()'| :Block::initialise(unsigned short)]+0x21b)||undefined reference to `operator new[](unsigned int)'| :~_Vector_base()]+0xc)||undefined reference to `__gxx_personality_sj0'| :~_Vector_base()]+0xc)||undefined reference to `__gxx_personality_sj0'| :~_Vector_base()]+0xc)||undefined reference to `__gxx_personality_sj0'| )]+0xf)||undefined reference to `__gxx_personality_sj0'| )]+0x2ab)||undefined reference to `__cxa_begin_catch'| )]+0x31a)||undefined reference to `__cxa_rethrow'| )]+0x341)||undefined reference to `__cxa_end_catch'| )]+0xf)||undefined reference to `__gxx_personality_sj0'| )]+0x310)||undefined reference to `__cxa_begin_catch'| )]+0x38c)||undefined reference to `__cxa_rethrow'| )]+0x3b6)||undefined reference to `__cxa_end_catch'| )]+0xf)||undefined reference to `__gxx_personality_sj0'| )]+0x2ad)||undefined reference to `__cxa_begin_catch'| )]+0x31c)||undefined reference to `__cxa_rethrow'| )]+0x343)||undefined reference to `__cxa_end_catch'| ) const]+0x36)||undefined reference to `std::__throw_length_error(char const*)'| unsigned int)]+0xd)||undefined reference to `operator delete(void*)'| unsigned int)]+0xd)||undefined reference to `operator delete(void*)'| unsigned int)]+0xd)||undefined reference to `operator delete(void*)'| ) const]+0x36)||undefined reference to `std::__throw_length_error(char const*)'| ) const]+0x36)||undefined reference to `std::__throw_length_error(char const*)'| )]+0x24)||undefined reference to `std::__throw_bad_alloc()'| )]+0x32)||undefined reference to `operator new(unsigned int)'| )]+0x24)||undefined reference to `std::__throw_bad_alloc()'| )]+0x3f)||undefined reference to `operator new(unsigned int)'| )]+0x24)||undefined reference to `std::__throw_bad_alloc()'| )]+0x32)||undefined reference to `operator new(unsigned int)'| )]+0xc)||undefined reference to `__gxx_personality_sj0'| )]+0xbf)||undefined reference to `__cxa_begin_catch'| )]+0xdd)||undefined reference to `__cxa_rethrow'| )]+0x100)||undefined reference to `__cxa_end_catch'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.rdata$_ZTVSt16invalid_argument[vtable for std::invalid_argument]+0x10)||undefined reference to `std::logic_error::what() const'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.rdata$_ZTISt16invalid_argument[typeinfo for std::invalid_argument]+0x0)||undefined reference to `vtable for __cxxabiv1::__si_class_type_info'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.rdata$_ZTISt11logic_error[typeinfo for std::logic_error]+0x0)||undefined reference to `vtable for __cxxabiv1::__si_class_type_info'| CMakeFiles\BasicExample.dir\objects.a(main.cpp.obj)main.cpp:(.rdata$_ZTISt9exception[typeinfo for std::exception]+0x0)||undefined reference to `vtable for __cxxabiv1::__class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, unsigned char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, unsigned char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, unsigned char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, unsigned char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, unsigned char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::cout'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(unsigned int)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ios_base::Init::~Init()'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp|| undefined reference to `std::ios_base::Init::Init()'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.rdata$_ZTI12OpenGLWidget[typeinfo for OpenGLWidget]+0x0)||undefined reference to `vtable for __cxxabiv1::__si_class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.rdata$_ZTI9QGLWidget[typeinfo for QGLWidget]+0x0)||undefined reference to `vtable for __cxxabiv1::__si_class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.rdata$_ZTI7QWidget[typeinfo for QWidget]+0x0)||undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.rdata$_ZTI12QPaintDevice[typeinfo for QPaintDevice]+0x0)||undefined reference to `vtable for __cxxabiv1::__class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.rdata$_ZTI7QObject[typeinfo for QObject]+0x0)||undefined reference to `vtable for __cxxabiv1::__class_type_info'| CMakeFiles\BasicExample.dir\objects.a(OpenGLWidget.cpp.obj)OpenGLWidget.cpp:(.text$_ZN12OpenGLWidgetD0Ev[OpenGLWidget::~OpenGLWidget()]+0x36)||undefined reference to `operator delete(void*)'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Region.cpp.obj):Region.cpp|| undefined reference to `std::ios_base::Init::~Init()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Region.cpp.obj):Region.cpp|| undefined reference to `std::ios_base::Init::Init()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(VertexTypes.cpp.obj):VertexTypes.cpp|| undefined reference to `std::ios_base::Init::~Init()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(VertexTypes.cpp.obj):VertexTypes.cpp|| undefined reference to `std::ios_base::Init::Init()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__gxx_personality_sj0'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::allocator()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_allocate_exception'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::invalid_argument::invalid_argument(std::string const&)'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_free_exception'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::terminate()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::~allocator()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_throw'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::terminate()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::~allocator()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::allocator()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_allocate_exception'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::invalid_argument::invalid_argument(std::string const&)'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_free_exception'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::terminate()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::~allocator()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `__cxa_throw'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::terminate()'| C:\Users\lh\Download\PolyVox\PolyVox-GIT-2e4bf67\library\PolyVoxCore\libPolyVoxCore.a(Utility.cpp.obj):Utility.cpp|| undefined reference to `std::allocator<char>::~allocator()'| ||=== Build finished: 183 errors, 0 warnings ===|
I would surely appreciate any help.
|