Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2019 build error #7

Open
duzenko opened this issue Aug 18, 2019 · 1 comment
Open

VS2019 build error #7

duzenko opened this issue Aug 18, 2019 · 1 comment

Comments

@duzenko
Copy link

duzenko commented Aug 18, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants