Projects / MoreAmp / Comments

RSS Comments for MoreAmp

25 Feb 2007 05:54 144419855310001

Spindown on linux
I couldn't get spindown to work though, the button remained grayed out. Has this not yet been implemented on linux? (If not, will that be in any future release?)

25 Feb 2007 05:41 144419855310001

Compiled on x86_64 linux
For the benefit of everybody, here is how I managed to get moreamp-0.1.19 to compile (on fedora core 6 x86_64).

1) I'd been having trouble getting it to make against the rpms of wxGTK. I found out that this was to do with one of the options it was compiled with, so I downloaded wxGTK-2.6.3 (yes, get the older version 2.6.3, not 2.8. Guy above who's having trouble making it against version 2.6.2: I really recommend just getting the 2.6.3 tarball).

Important! Make sure you configure it with --disable-unicode . The instructions you use to build wxGTK should therefore look like this below:

> mkdir buildgtk

> cd buildgtk

> ../configure --with-gtk --disable-unicode

> make

> su <type root password>

> make install

> /sbin/ldconfig

2) Now that that's done, cd to the Moreamp source folder, e.g.

cd /usr/local/MoreAmp-0.1.19

At this point, when I tried to compile with ./mamkunixwxall.sh , I eventually ran into errors to do with libmp4 or mpeg4ip not being present or something.

So do this:

./configure --help

and it will give you a list of all the options you can compile with. I found that what was giving me trouble was --with-mp4v2 and --with-mp4v2enc , both of which are enabled by default.

I then did:

vim ./mamkunixwx.sh

and changed the line

./configure

to this:

./configure --without-mp4v2enc --without-mp4v2

3) After this, I still ran into problems, and got this error:

maGUIwx.cpp: In function ‘void maLogAPI(const char*, int, int)’:

maGUIwx.cpp:6358: error: cast from ‘void*’ to ‘int’ loses precision

make[1]: *** [obj/maGUIwx.o] Error 1

make[1]: Leaving directory `/usr/local/MoreAmp-0.1.19/src'

make: *** [moreamp] Error 2

I found that this is to do to a bug to do with the fact that I'm on 64bit linux, so if you're using 32bit, you can skip this point. If you're using the latest version of Moreamp, this may even have been fixed... til then:

I opened src/maGUIwx.cpp (or: /usr/local/MoreAmp-0.1.19/src/maGUIwx.cpp ) with my favorite text editor, kate, and changed line 6358 (see the message above, which refers to an error on line 6358 of this file).

I changed "int" on this line to "long". So, instead of looking like this:

sprintf(cstr, "%s window=%d=x%x item=%d", errtxt, window, (int)g_w[window], item);

It now looks like this:

sprintf(cstr, "%s window=%d=x%x item=%d", errtxt, window, (long)g_w[window], item);

4) Nearly finished now...

I then changed into the libs/ directory:

cd /usr/local/MoreAmp-0.1.19/libs/

and ran:

./mamklibsunix.sh

I then cd back to the source directory:

cd ..

and ran:

./mamkunixwx.sh

5) And it compiled! If from this point on it works for you, then great. I however was not yet done.

When I tried to run moreamp, I got an error message to do with some library being missing. libwx_gtk2_xrc-2.6.so.0 not found, or something.

I then linked this library (which was in the wxGTK folder I compiled earlier) to /usr/lib64. If you're not 64 bit, then use /usr/lib. e.g.:

ln -s /usr/local/wxGTK-2.6.3/buildgtk/lib/libwx_gtk2_xrc-2.6.so.0 /usr/lib64

But then I got the same error again when I tried to start moreamp, but with a different library! Fortunately, the solution was the same again:

ln -s /usr/local/wxGTK-2.6.3/buildgtk/lib/<name_of_library.so.0> /usr/lib64

This happened a few times over, but eventually, I started moreamp, and it ran.

Frankly, the interface was somewhat cluttered/malformed on linux, and needs more work (perhaps it looks better on Mac OS), but then I suppose moreamp is still yet beta software.

Happy compiling!

31 Dec 2006 06:02 dips

Re: has anyone gotten this to compile on linux ???

> having a hell of a time trying to get

> this to work between the dep's for the

> audio libs and just it tryint to compile

> with wx2.6.2 is a nightmare. does anyone

> have this compiled and want to upload

> the binary's of it ?

Depends on how you are trying to compile it - with or without GTK or with WxWidgets. I have been using MoreAmp for a couple of weeks now...no problems in getting it compiled on FC6 with wxWidgets and GTK2

What error do you get?

08 Jan 2006 22:46 pmisteli

Re: has anyone gotten this to compile on linux ???
Please post comments like this on one of the forums at

sourceforge.net/forum/...

Thanks.

16 Dec 2005 09:11 dak0

has anyone gotten this to compile on linux ???
having a hell of a time trying to get this to work between the dep's for the audio libs and just it tryint to compile with wx2.6.2 is a nightmare. does anyone have this compiled and want to upload the binary's of it ?

Screenshot

Project Spotlight

NovaFTP

A fast, modern, and feature-rich FTP client.

Screenshot

Project Spotlight

storebackup

A tool for making disk space optimized snapshot backups onto another disk.