MicBosi / VisualizationLibrary

Visualization Library is a C++ middleware for high-performance 2D and 3D graphics applications based on OpenGL 1.x-4.x supporting Windows, Linux and Mac OS X.
http://VisualizationLibrary.org
Other
344 stars 97 forks source link

I get build errors with beta 3 when VL_PIPELINE_PRECISION == 2 #147

Closed RallyTronics closed 7 years ago

RallyTronics commented 7 years ago

Visual Studio 2015...

Severity Code Description Project File Line Suppression State Error C2198 'PFNGLUNIFORMMATRIX3FVPROC': too few arguments for call VLGraphics F:\VisualizationLibrary_2\src\vlGraphics\ProjViewTransfCallback.cpp 109 Error C2440 'type cast': cannot convert from 'vl::mat3' to 'vl::fmat4' VLGraphics F:\VisualizationLibrary_2\src\vlGraphics\ProjViewTransfCallback.cpp 109 Error C2664 'void vl::Array<vl::fvec3,GLfloat,3,5126>::transform(const vl::mat4 &)': cannot convert argument 1 from 'vl::Matrix4' to 'const vl::mat4 &' VLGraphics F:\VisualizationLibrary_2\src\vlGraphics\FlatManipulator.cpp 220 Error C2664 'void vl::Array<vl::fvec3,GLfloat,3,5126>::transform(const vl::mat4 &)': cannot convert argument 1 from 'vl::Matrix4' to 'const vl::mat4 &' VLGraphics F:\VisualizationLibrary_2\src\vlGraphics\FlatManipulator.cpp 232

FabienMathieu commented 7 years ago

Hello,

I propose a pull request to the main contributor for your issue. Until the pull request be accepted, you can use my branche _fixmatrix to solve your problem. My repository is:

Best regards

Fabien MATHIEU

RallyTronics commented 7 years ago

Thanks, I will give it a try tonight when I get home from work.