On 10-Feb-05, at 5:15 PM, Josh Farquhar wrote:
On 11/02/2005, at 7:02 AM, Frank Condello wrote:
On 10-Feb-05, at 3:59 AM, Josh Farquhar wrote:
On 10/02/2005, at 7:09 PM, Frank Condello wrote:
Like I mentioned in a previous post, declares+libmikmod wouldn't be
too difficult to get going. I realize you're a relative newbie but
that could be a good learning exercise :)
Then again, if you grab my FMOD Wrappers:
<http://developer.chaoticbox.com/> it can be as simple as this
(error checking aside):
f = GetFolderItem("mymusic.mod")
myMusic = f.OpenAsFMODmusic
myMusic.Play
Full documentation is available online:
<http://developer.chaoticbox.com/documentation/fmodwrappers/>,
check out the "Installation & Quickstart" and "FMODmusic Class"
sections for more info.
Of course, you have to make sure FMOD's licensing fits your needs,
but it's free for freeware, and I personally find the shareware
licenses to be extremely reasonable, considering you get the same
audio engine used in the likes of World of Warcraft and FarCry.
But, when I try to run the program, I get this error:
Application Launch Failure:
The application "My Application" could not be launched because of a
shared library error: "<main><main><fmod><>"
You might want to read over the "Installation & Quickstart" part of
the manual again.... You haven't installed FMOD - go to
<http://fmod.org/> and download the appropriate package for your
platform. Grab the shared library or DLL and put it in the same
directory as your REALbasic project.
I did actually, I run Mac OS X, so I put the Shared Library
(fmod_cfm.shlb) into the same folder as my project file. That's why I
was wondering what was wrong because I have done everything according
to the manual so far.
Are you building MachO or PEF? Unfortunately the MachO version of FMOD
is only supplied as a static library so it won't work with RB. I've
asked if they could provide a framework or dlyb for OS X and it's under
consideration for a future release (I wouldn't rely on seeing this any
time soon though).
Other than that I'm not sure what the problem could be (you're using RB
5.5 right?) You can also try putting the FMOD library into
"./Library/CFMSupport/" this way any app will see it, but it's usually
neater to supply the library along side your app for distribution.
Frank.
------------
Open Source RB Plugins and Classes
<http://developer.chaoticbox.com>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|