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

Need help and support for vs 2015? #2

Open
weifu010320307 opened this issue Oct 9, 2016 · 10 comments
Open

Need help and support for vs 2015? #2

weifu010320307 opened this issue Oct 9, 2016 · 10 comments

Comments

@weifu010320307
Copy link

The code can be compiled by vs 2015, but many project was crash when the start running those exe. Any suggest for this?

Book users from China, Perry, 2016/10/09

@michaelhiatt
Copy link

I realise there is a description page stating that vs2015 support is currently not there (yet).
I also note the last commit seems to be a couple of months old.
Is there any word on when the vs2015 project support will land?

@weifu010320307
Copy link
Author

Thanks, it is my fault, after do some configuration, it is ok now

From: michaelhiatt
Date: 2016-11-14 11:00
To: openglredbook/examples
CC: weifu010320307; Author
Subject: Re: [openglredbook/examples] Need help and support for vs 2015? (#2)
I realise there is a description page stating that vs2015 support is currently not there (yet).
I also note the last commit seems to be a couple of months old.
Is there any word on when the vs2015 project support will land?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@ghost
Copy link

ghost commented Mar 2, 2017

I have the same problem. Some projects crash when I try to run them. What did you do to get the code working in vs 2015?

@elmindreda
Copy link

If you are running the examples from within Visual Studio then you need to set the working directory so they will find the data files in bin/media. Setting the working directory to $(OutDir) is probably the easiest way.

outdir

@ghost
Copy link

ghost commented Mar 2, 2017

The error I get when building is a linking error, It says that it could not open glfw3_d.lib

@elmindreda
Copy link

elmindreda commented Mar 2, 2017

@nldvos Try this fork, which contains fixes for the use of GLFW. It is also available as pull request #5.

@ghost
Copy link

ghost commented Mar 6, 2017

I was able to solve my problems. The first one was that the code was running on my CPU graphics card (which supports OpenGL 4.4). The second problem was that for some reason the models in the media folder were gone. I don't know how this could happen as I downloaded the repository recently, maybe they disappeared by using cmake (It is my first time using cmake, so I don't know).

@weifu010320307
Copy link
Author

weifu010320307 commented Mar 8, 2017 via email

@ghost
Copy link

ghost commented Mar 8, 2017

I downloaded the repository again (this time I did not used cmake) and copy pasted the bin/media folder.

@weifu010320307
Copy link
Author

weifu010320307 commented Mar 9, 2017 via email

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

3 participants