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

Mesh load failed! #29

Closed
ochos opened this issue Jan 21, 2015 · 2 comments
Closed

Mesh load failed! #29

ochos opened this issue Jan 21, 2015 · 2 comments

Comments

@ochos
Copy link

ochos commented Jan 21, 2015

Hi Benny,
Thank you for your great tutorials, but I am having a issue with Mesh load failed as shown below. Do you have any idea why its happen?
screen shot 2015-01-21 at 14 44 40

I am using mac OS(Yosemite), Xcode6.1.1 and have installed SDL2, glew, assimp with brew and cmaked as you described.
screen shot 2015-01-21 at 14 49 33
The models haven't been moved from the res folder.

Thank you in advance,
ochos

@zeyorama
Copy link

My first guess is your working directory is wrong.
Look, you are trying to access a folder starting from the location you are started the program. Lets imagine you are in your Home folder and starting the executable like ./Project/Program and your res folder is inside the Project folder. Now the Program tries to find the res folder not in your Project folder but in your Home folder instead, because your working directory is your Home folder.
Long speech no sense, your executable and your res folder needs to be in the same folder and your have to start your program in this folder with your working directory set to this folder.
If you are starting your program with an IDE, set your working directory inside the IDE to the folder, where your res folder is located.

Hope this helps and sorry for my bad english.
zeyorama

@ochos
Copy link
Author

ochos commented Feb 5, 2015

Dear zeyorama,

Thank you for your comment. It helps a lot and works properly!
Sorry for my lateness.

Hide

@ochos ochos closed this as completed Feb 5, 2015
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