Re: Ubuntu and problem with Musubi path
- Posted by mattlewis (admin) Apr 03, 2011
- 1532 views
joahim said...
joahim@laptop:~/Downloads/Musubi$ eui Musubi.ew /home/joahim/Pobrane/Musubi/Musubi.ew:23 <0052>:: can't find 'includes\Sdl_Wrap.ew' in any of ... /home/wojtek/Pobrane/Musubi /home/wojtek/Pobrane/Musubi/Musubi.ew /usr/share/euphoria/include /usr/share/euphoria include includes\Sdl_Wrap.ew ^
Why are the files in subdirectory includes not recognized by euphoria??? I copied them also into /usr/share/euphoria/include and the result is the same :(
What do I do wrong?
I don't know what Musubi is, but it looks like the author was only thinking about it working on Windows, since he used Windows style path separators. It's generally recommended to use forward slashes when writing include statements, since they will be cross platform compatible:
include includes/Sdl_Wrap.ew
You should also make sure that the case is correct. On Windows, being inconsistent is OK, since the filesystem is case insensitive (mostly), but on Linux, filesystems are generally case sensitive.
Matt