1. Ubuntu and problem with Musubi path

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

new topic     » topic index » view message » categorize

2. Re: Ubuntu and problem with Musubi path

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Ubuntu and problem with Musubi path

joahim said...
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.ew 
exists, but
/home/wojtek/Pobrane/Musubi/includes/Sdl_Wrap.ew 
does not, so you need to delete that 's'.

HTH, Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: Ubuntu and problem with Musubi path

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu