Open PengfeiRen96 opened 7 years ago
1.when i built app/helloworld_thrust and cudax:
nvcc fatal : redefinition of argument 'optimize'
2.when i built app/helloworld_openni
error C2338: OUT_OF_RANGE_ACCESS c:\program files (x86)\microsoft visual studio 12.0\vc\include\eigen\src\Core\DenseCoeffsBase.h
3.when i built app/helloworld_cudagl
can't find header "tracker/OffscreenRender/CustomFrameBuffer.h"
then i find "CustomFrameBuffer.h" in "tracker/OpenGL/CustomFrameBuffer.h".
however,there are some errors like :
CustomFrameBuffer fb;
fb.init(width, width);
GLuint texture_id = fb.extra_tex_id();
and the definition of the init() function in CustomFrameBuffer.cpp like this:
void init(int image_width, int image_height, bool render_block_id);
The errors that you get when building the 3rd party libraries are not related to the implementation of hmodel-cpp project. To resolve these issues you should contact the authors of the corresponding 3rd party libraries.
thanks.however,why<OpenGP/GL/EigenOpenGLSupport3.h> can't be found
@anastasia-tkach
Can you upload the 3rd party libiaries when you building the hmodel project?
the OpenGP/GL/EigenOpenGLSupport3.h has been remove.
see https://github.com/OpenGP/OpenGP/issues/22
important note: you don't need to build the helloworld apps to build hmodel They were supported for htrack, but I cannot confirm for hmodel
however,i also meet the error OUT_OF_RANGE_ACCESS when i built the hmodel
I am afraid in that case anastasia would need to know what line caused the assertion to be able to help you out!
the error come from "Eigen\src\Core\DenseCoeffsBase.h" EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType z() const { EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=3, OUT_OF_RANGE_ACCESS); return (*this)[2]; } but i can't fix a position on the hmodel projection
I can tell you the error is telling you are trying to get a .z() out of a Vector2, but where that comes from is something you have to find out on your own (by asking on the Eigen forums or stackoverflow?)
thanks,i am trying to find the line caused the assertion
error C2338: OUT_OF_RANGE_ACCESS can be solved by using a lower version of Eigen. http://eigen.tuxfamily.org/index.php?title=News:Eigen_3.2.2_released!
@RenFeiTemp How did you solve error D8016:锟斤拷/RTC1锟斤拷锟酵★拷/O2锟斤拷锟斤拷锟斤拷锟斤拷选锟筋不锟斤拷锟斤拷 ?
@Yangmt123 did you meet the problem : error C2338: OUT_OF_RANGE_ACCESS c:\program files (x86)\microsoft visual studio 12.0\vc\include\eigen\src\Core\DenseCoeffsBase.h?
how did you solve this problem?
@JiangLinjunbupt The reason is the lack of the header file DenseCoeffsBase.h
1.error D8016: 锟斤拷/RTC1锟斤拷锟酵★拷/O2锟斤拷锟斤拷锟斤拷锟斤拷选锟筋不锟斤拷锟斤拷 2.error C2338: OUT_OF_RANGE_ACCESS 3.error C1083: “OpenGP/GL/EigenOpenGLSupport3.h”