On 19-Mar-07, at 6:47 AM, Anton Rolls wrote:

> USE: compiler
> \ FSOUND_GetVersion compile
> \ FSOUND_Init compile
> \ FSOUND_Close compile
> \ FSOUND_GetError compile
> \ FMUSIC_LoadSong compile
> \ FMUSIC_FreeSong compile
> \ FMUSIC_PlaySong compile
> \ FMUSIC_StopSong compile

If you put this stuff in a source file, the words will be compiled  
for you, you don't have to call 'compile' yourself.

> What's weird is, I can run the above file like this:
>
>       "Anton/play-song.factor" run-file
>
> but when I move everything into a subdirectory, (and even in a fresh
> Listener),
>
>       "Anton/fmod/play-song.factor" run-file
>
> I get compiler warnings for each of the C functions, eg:
>
>       Word: FSOUND_GetVersion
>       FFI: The sepcified module could not be found.
>       Nesting: { FSOUND_GetVersion }

Because your add-library call has a relative path.

> (by the way, it's really bugging me that I can't copy the error
> messages to the clipboard so I can paste them directly into this
> email message. Is there some way I can do that ?)

This will be fixed soon. In the meantime, if you need to copy  
something, run f.exe -shell=tty, then you can copy from the DOS prompt.

Slava


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to