matus-chochlik / oglplus

OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
http://oglplus.org/
Boost Software License 1.0
492 stars 72 forks source link

Argument list for template "oglplus::Swizzled_xyzw<T, 1Ui64>::At" is missing #125

Closed StepUpSenpai closed 8 years ago

StepUpSenpai commented 8 years ago

Hello,

My "installation" procedure:

I generated the config files (site.hpp etc.) using the configure.bat script. After that I copied .ipp and .hpp files to single directory and pointed to that directory in my IDE as an additional include directory.

During compilation I get following errors:

error : argument list for template "oglplus::Swizzled_xyzw<T, 1Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   24  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 2Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   36  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 2Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   37  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 3Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   54  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 3Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   55  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 3Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   56  1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 4Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   106 1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 4Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   107 1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 4Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   108 1   
error : argument list for template "oglplus::Swizzled_xyzw<T, 4Ui64>::At" is missing    MyProjectPath\oglplus\math\vector_swizzle.ipp   109 1   

My config: Windows 10 64 bit Geforce GTX660, driver version: 361.43 Visual Studio 2013 Community Edition (update 5) oglplus v. 0.67.0

Libs used alongside oglplus: glew glfw3

I am using oglplus in cuda project, but as far as I know it should be using Microsoft's compiler for code unrelated to cuda, instead of nvcc.

matus-chochlik commented 8 years ago

Hi, thanks for catching this. Should be fixed on develop now.