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

Crashes at start in another folder [minor] #18

Closed
itichi opened this issue Dec 10, 2013 · 4 comments
Closed

Crashes at start in another folder [minor] #18

itichi opened this issue Dec 10, 2013 · 4 comments

Comments

@itichi
Copy link

itichi commented Dec 10, 2013

I get an error when I cmake/make craft in another directory :(

[574][itichi@home: Craft]$ mkdir tmpbuild && cd tmpbuild
[574][itichi@home: tmpbuild]$ cmake ../.
[574][itichi@home: tmpbuild]$ make
[574][itichi@home: tmpbuild]$ ./craft
error 78: failed to open file for reading
Erreur de segmentation (core dumped)
[575][itichi@home: tmpbuild]$ echo $?
139

@petarov
Copy link

petarov commented Dec 10, 2013

output of

strace  ./craft 

?

@fogleman
Copy link
Owner

The texture file and shaders directory are expected to be in the same folder as the binary.

@itichi
Copy link
Author

itichi commented Dec 10, 2013

nice,

it works perfectly by copying texture and shaders, thanks :)

@itichi itichi closed this as completed Dec 10, 2013
@dymk
Copy link
Contributor

dymk commented Dec 11, 2013

Related: #6

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

4 participants