GithubHelp home page GithubHelp logo

icg's People

Contributors

jordan-heemskerk avatar luckysama avatar paulmoon avatar robertleahy avatar taiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icg's Issues

5 error messages when compiling in QT

I am running windows and have tried Visual Studio and QT Creator. Visual Studio worked great, but QT gave me a few warnings about only initializing non-static members with c++11, and the five following errors.:
main.cpp:-1: error: undefined reference to cv::Mat::operator=(cv::Scalar_<double> const&)' main.cpp:-1: error: undefined reference tocv::fastFree(void*)'
๐Ÿ‘Ž error: CMakeFiles\raytrace.dir/objects.a(main.cpp.obj): bad reloc address 0x2d in section `.text$_ZN2cv3MatD1Ev[__ZN2cv3MatD1Ev]'
๐Ÿ‘Ž error: final link failed: Invalid operation
collect2.exe:-1: error: error: ld returned 1 exit status
I am using QT 3.5.0 based on QT 5.5.0 and using MSVC 2013, 32 bit as my compiler. Not sure what I'm doing wrong, or if this problem is unique to me. I wouldn't sweat it since it worked for Visual Studio, but I'd love to be able to use QT's helpful widget design stuff in the future.
*edit: it does look like the link you provided for the installer is a different one than I used. I'll try installing the one you linked to and see if that works better,

glew and glfw dependencies in windows.

The CMakeLists.txt files for compiling on windows point to the glew and glfw libraries being common/external, but they aren't actually there. I think I got the glew library working, but can't quite figure out how to get the glfw library working. Do you have any advice or directions on how to get these libraries in for my project?

Eigen lookAt Question

Hi, I saw this line "mat4 VIEW = Eigen::lookAt( vec3(1,1,1), vec3(0,0,0), vec3(0,1,0) );" in the main.cpp of the "lecture_viewing3d_fov_eigen", But I couldn't find any references.
Could you tell me,where is the Eigen::lookAt defined.. and how could I use it?

compile errors in QT and Visual Studio on windows

I pulled the latest icg with glew and glfw libraries for windows builds, but I'm still having trouble compiling in either IDE. Visual Studio gives me 12 link errors for for LIBCMT.lib and MSVCRT.lib, like
Error 30 error LNK2005: _strchr already defined in LIBCMT.lib(strchr.obj) C:\icg-build\introglsl\MSVCRT.lib(MSVCR120.dll) introglsl
or,
Error 31 error LNK2005: _free already defined in LIBCMT.lib(free.obj) C:\icg-build\introglsl\MSVCRT.lib(MSVCR120.dll) introglsl.

With QT I get the following three errors;
C:\icg\external\glew\lib\win32\glew32s.lib(tmp\glew_static\Release\Win32\glew.obj):-1: error: undefined reference to _imp__wglGetProcAddress@4' C:\icg\external\glew\lib\win32\glew32s.lib(tmp\glew_static\Release\Win32\glew.obj):-1: error: undefined reference to_imp__wglGetProcAddress@4'
๐Ÿ‘Ž error: C:/icg/external/glew/lib/win32/glew32s.lib(tmp/glew_static/Release/Win32/glew.obj): bad reloc address 0x4 in section `.text$mn'

I suspect I need some kind of #ifndef compile guard in there for using the appropriate library, but I have no idea where it would go.
Any help would be appreciated.

Library conflict on Windows 8 with QT and glew

Hi, I have a library conflict on windows 8 with QT and the given GLEW library. I have installed the correct version of visual studio community 2013.

If I download the zip file from the Github and compile it as-is, the compiler complains that there are methods being defined twice in some libraries:

[ 12%] Linking CXX executable D:\csc305\sdfds\icg-master\helloglsl\helloglsl.exe
MSVCRT.lib(MSVCR120.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)

MSVCRT.lib(MSVCR120.dll) : error LNK2005: _strchr already defined in LIBCMTD.lib(strchr.obj)

MSVCRT.lib(MSVCR120.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)

MSVCRT.lib(MSVCR120.dll) : error LNK2005: ___iob_func already defined in LIBCMTD.lib(_file.obj)

MSVCRT.lib(MSVCR120.dll) : error LNK2005: _fprintf already defined in LIBCMTD.lib(fprintf.obj)

(the list goes on and on...)

However, if I let the compiler not using these default libraries, then the compiler complains about cannot find certain things:

cmake:
set(CMAKE_EXE_LINKER_FLAGS
"${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB")

compiler output:

[ 12%] Linking CXX executable D:\csc305\sdfds\icg-master\helloglsl\helloglsl.exe
main.cpp.obj : error LNK2001: unresolved external symbol __purecall

main.cpp.obj : error LNK2019: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) referenced in function "char * __cdecl std::_Allocate<char>(unsigned int,char *)" (??$_Allocate@D@std@@YAPADIPAD@Z)

main.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "public: virtual void * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::`scalar deleting destructor'(unsigned int)" (??_G?$basic_filebuf@DU?$char_traits@D@std@@@std@@UAEPAXI@Z)

main.cpp.obj : error LNK2019: unresolved external symbol _atexit referenced in function "void __cdecl `dynamic initializer for 'public: static class std::_Generic_error_category std::_Error_objects<int>::_Generic_object''(void)" (??__E?_Generic_object@?$_Error_objects@H@std@@2V_Generic_error_category@2@A@@YAXXZ)

GLFW.lib(win32_init.obj) : error LNK2001: unresolved external symbol _atexit

opengp::glfwTrackball Potential ODR Violation

The function opengp::glfwTrackball is declared in external/OpenGP/GL/glfw_trackball.h file, however it is not marked inline and therefore has external linkage (functions have external linkage by default).
As it is in a header it may be included in multiple translation units. The compiler will dutifully emit its code into each resulting object file, which will then cause a linker error.
To rectify this opengp::glfwTrackball should be marked inline. This will give it internal linkage and cause the linker to cull any duplicates found.

imread doesn't work on Windows machine

I'm trying to map an image to one my spheres, and I found that imread() in opencv should allow me to open the image. However, I'm getting errors when I tried to call the function. Here are the error messages.

1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_CreateCompress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "public: void __thiscall cv::JpegDecoder::close(void)" (?close@JpegDecoder@cv@@QAEXXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_dest referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_set_defaults referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_set_quality referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_alloc_huff_table referenced in function "int __cdecl cv::my_jpeg_load_dht(struct jpeg_decompress_struct *,unsigned char *,struct JHUFF_TBL * * const,struct JHUFF_TBL * * const)" (?my_jpeg_load_dht@cv@@YAHPAUjpeg_decompress_struct@@PAEQAPAUJHUFF_TBL@@2@Z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_write_scanlines referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_resync_to_restart referenced in function "void __cdecl cv::jpeg_buffer_src(struct jpeg_decompress_struct *,struct cv::JpegSource *)" (?jpeg_buffer_src@cv@@YAXPAUjpeg_decompress_struct@@PAUJpegSource@1@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFClose referenced in function "public: void __thiscall cv::TiffDecoder::close(void)" (?close@TiffDecoder@cv@@QAEXXZ)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFGetField referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFScanlineSize referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?writeLibTiff@TiffEncoder@cv@@IAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFIsTiled referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetField referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?writeLibTiff@TiffEncoder@cv@@IAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFWriteScanline referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?writeLibTiff@TiffEncoder@cv@@IAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadRGBAStrip referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadRGBATile referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFRGBAImageOK referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFOpen referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" (?readHeader@TiffDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetErrorHandler referenced in function "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" (??0TiffDecoder@cv@@QAE@XZ)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetWarningHandler referenced in function "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" (??0TiffDecoder@cv@@QAE@XZ)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadEncodedStrip referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadEncodedTile referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_write_struct referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_longjmp_fn referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_info referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_expand_gray_1_2_4_to_8 referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_palette_to_rgb referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_bgr referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_gray_to_rgb referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_rgb_to_gray referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_strip_alpha referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_swap referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_packing referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_interlace_handling referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_update_info referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_image referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_image referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_end referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: void __thiscall cv::PngDecoder::close(void)" (?close@PngDecoder@cv@@QAEXXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_destroy_write_struct referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_filter referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_compression_level referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_compression_strategy referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_init_io referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_write_fn referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_read_fn referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_get_io_ptr referenced in function "protected: static void __cdecl cv::PngDecoder::readDataFromBuf(void *,unsigned char *,unsigned int)" (?readDataFromBuf@PngDecoder@cv@@KAXPAXPAEI@Z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_error referenced in function "protected: static void __cdecl cv::PngDecoder::readDataFromBuf(void *,unsigned char *,unsigned int)" (?readDataFromBuf@PngDecoder@cv@@KAXPAXPAEI@Z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_get_IHDR referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_IHDR referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_get_tRNS referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_init referenced in function "public: __thiscall cv::JasperInitializer::JasperInitializer(void)" (??0JasperInitializer@cv@@QAE@XZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cleanup referenced in function "public: __thiscall cv::JasperInitializer::~JasperInitializer(void)" (??1JasperInitializer@cv@@QAE@XZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_stream_fopen referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" (?readHeader@Jpeg2KDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_stream_close referenced in function "public: void __thiscall cv::Jpeg2KDecoder::close(void)" (?close@Jpeg2KDecoder@cv@@QAEXXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cmprof_destroy referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cmprof_createfromclrspc referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_matrix_create referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_matrix_destroy referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_create referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_destroy referenced in function "public: void __thiscall cv::Jpeg2KDecoder::close(void)" (?close@Jpeg2KDecoder@cv@@QAEXXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_decode referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" (?readHeader@Jpeg2KDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_encode referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_readcmpt referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_writecmpt referenced in function "protected: bool __thiscall cv::Jpeg2KEncoder::writeComponent16u(void *,class cv::Mat const &)" (?writeComponent16u@Jpeg2KEncoder@cv@@IAE_NPAXABVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_getcmptbytype referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_strtofmt referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_chclrspc referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::Header::Header(int,int,float,class Imath::Vec2 const &,float,enum Imf::LineOrder,enum Imf::Compression)" (??0Header@Imf@@QAE@HHMABV?$Vec2@M@Imath@@MW4LineOrder@1@W4Compression@1@@z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::Header::~Header(void)" (??1Header@Imf@@QAE@XZ) referenced in function __catch$?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z$2
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: class Imath::Box<class Imath::Vec2 > const & __thiscall Imf::Header::dataWindow(void)const " (?dataWindow@Header@Imf@@QBEABV?$Box@V?$Vec2@H@Imath@@@imath@@xz) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: class Imf::ChannelList & __thiscall Imf::Header::channels(void)" (?channels@Header@Imf@@QAEAAVChannelList@2@XZ) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: class Imf::ChannelList const & __thiscall Imf::Header::channels(void)const " (?channels@Header@Imf@@QBEABVChannelList@2@XZ) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::Slice::Slice(enum Imf::PixelType,char *,unsigned int,unsigned int,int,int,double,bool,bool)" (??0Slice@Imf@@QAE@W4PixelType@1@PADIIHHN_N2@Z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::FrameBuffer::insert(char const * const,struct Imf::Slice const &)" (?insert@FrameBuffer@Imf@@QAEXQBDABUSlice@2@@z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "int __cdecl Imf::globalThreadCount(void)" (?globalThreadCount@Imf@@yahxz) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::InputFile::InputFile(char const * const,int)" (??0InputFile@Imf@@QAE@QBDH@Z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: class Imf::Header const & __thiscall Imf::InputFile::header(void)const " (?header@InputFile@Imf@@QBEABVHeader@2@XZ) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::InputFile::setFrameBuffer(class Imf::FrameBuffer const &)" (?setFrameBuffer@InputFile@Imf@@QAEXABVFrameBuffer@2@@z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::InputFile::readPixels(int,int)" (?readPixels@InputFile@Imf@@QAEXHH@Z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::OutputFile::OutputFile(char const * const,class Imf::Header const &,int)" (??0OutputFile@Imf@@QAE@QBDABVHeader@1@H@Z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall Imf::OutputFile::~OutputFile(void)" (??1OutputFile@Imf@@UAE@XZ) referenced in function __catch$?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z$2
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::OutputFile::setFrameBuffer(class Imf::FrameBuffer const &)" (?setFrameBuffer@OutputFile@Imf@@QAEXABVFrameBuffer@2@@z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::OutputFile::writePixels(int)" (?writePixels@OutputFile@Imf@@qaexh@Z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::Channel::Channel(enum Imf::PixelType,int,int,bool)" (??0Channel@Imf@@QAE@W4PixelType@1@HH_N@Z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Imf::ChannelList::insert(char const * const,struct Imf::Channel const &)" (?insert@ChannelList@Imf@@QAEXQBDABUChannel@2@@z) referenced in function "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: struct Imf::Channel const * __thiscall Imf::ChannelList::findChannel(char const * const)const " (?findChannel@ChannelList@Imf@@QBEPBUChannel@2@QBD@Z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "private: static short __cdecl half::convert(int)" (?convert@half@@CAFH@Z) referenced in function "public: __thiscall half::half(float)" (??0half@@QAE@M@Z)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "public: __thiscall Imf::Chromaticities::Chromaticities(class Imath::Vec2 const &,class Imath::Vec2 const &,class Imath::Vec2 const &,class Imath::Vec2 const &)" (??0Chromaticities@Imf@@QAE@ABV?$Vec2@M@Imath@@000@Z) referenced in function "public: __thiscall cv::ExrDecoder::ExrDecoder(void)" (??0ExrDecoder@cv@@QAE@XZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "bool __cdecl Imf::hasChromaticities(class Imf::Header const &)" (?hasChromaticities@Imf@@YA_NABVHeader@1@@z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ)
1>opencv_highgui2411d.lib(grfmt_exr.obj) : error LNK2019: unresolved external symbol "struct Imf::Chromaticities const & __cdecl Imf::chromaticities(class Imf::Header const &)" (?chromaticities@Imf@@YAABUChromaticities@1@ABVHeader@1@@z) referenced in function "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@

Note that my program worked fine on the lab machines. Hope someone can shed some light.

lecture_viewing3d - Mesh & GL_ELEMENT_ARRAY_BUFFER

In lecture_viewing3d, in the Mesh::init method on line 61 a buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target. This is never undone, nor is it redone in Mesh::draw.

By sheer chance nothing else is ever bound to this target so the code works, but if anyone uses this as a baseline/reference for anything in a more complicated system they're probably going to have quite the time finding the bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.