1. Ubuntu and problem with Musubi path
- Posted by joahim Apr 03, 2011
- 1559 views
Hi,
i've just beginned my adventure with Euphoria (on ubuntu, Euphoria was installed from a *.deb package)
Running Musubi with eui Musubi.ew
I receive:
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 ^ Press Enter
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?
joahim
2. Re: Ubuntu and problem with Musubi path
- Posted by mattlewis (admin) Apr 03, 2011
- 1531 views
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
3. Re: Ubuntu and problem with Musubi path
- Posted by petelomax Apr 03, 2011
- 1530 views
include includes\Sdl_Wrap.ew
Why are the files in subdirectory includes not recognized by euphoria???
My guess would be that
/home/wojtek/Pobrane/Musubi/include/Sdl_Wrap.ewexists, but
/home/wojtek/Pobrane/Musubi/includes/Sdl_Wrap.ewdoes not, so you need to delete that 's'.
HTH, Pete
4. Re: Ubuntu and problem with Musubi path
- Posted by SDPringle Apr 05, 2011
- 1443 views
I know the interpreter converts forward slashes to back slashes for Windows but I don't know if it does the opposite thing for UNIX.
Shawn