StanEpp / OpenGL_ParticleSystem

MIT License
128 stars 34 forks source link

VS2019 build error #7

Open duzenko opened 5 years ago

duzenko commented 5 years ago

I get this build error in the solution generated by CMake Error C2664 'void ShaderManager::loadShader(const std::string &,const std::string &,GLenum)': cannot convert argument 1 from 'std::filesystem::path' to 'const std::string &' OpenGL_Particlesystem C:\Users\a\Documents\particlescompute\src\ParticleSystem.cpp 63 image

quaintSenator commented 1 year ago

Change your parameter1 to absolute path's string, i.e. "E:/workplace/openGL_Particlesystem/shader/vs.glsl". This could help.