Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - karanveer41

Pages: [1]
1
General / Re: Failing to load images and font on application run
« on: October 06, 2014, 06:16:31 am »
Okay, I found a way to make it work. Instead of navigating to the folder using the finder, I opened up the terminal and navigated with that and ran the executable with ./ command and it worked.

2
General / Re: Failing to load images and font on application run
« on: October 05, 2014, 07:52:14 pm »
There is just an executable file, I'm not using an IDE to run the application. When I double click the executable, it opens up the mac terminal and that's were I see the error message.

3
General / Failing to load images and font on application run
« on: October 03, 2014, 05:57:36 am »
I am working with the book 'SFML Game Development' by Artur Moreira and I am having trouble running the SFML projects that come with the book.

I followed all the instructions and used cmake and and then 'make install' to build the project files. When I click on the 01_Intro executable in the built folder, I get this error.

Failed to load image "Media/Textures/Eagle.png". Reason : Unable to open file
Failed to load font "Media/Sansation.ttf" (failed to create the font face)

Both those files are present in the Media folder right next to the executable. I don't know too much about SFML at this point to tell whats wrong. Any guesses on whats going on?

Pages: [1]