Author Topic: cbMP: A mediaplayer plugin  (Read 17956 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: cbMP: A mediaplayer plugin
« Reply #15 on: June 02, 2009, 12:13:19 am »
i compile it successfully but it says me that the sdk version is different :(

I tried it too, the problem is not the sdk version, but  the dynamic libraries (libtag.so and audiere.so).
look at he Code::Blocks Logpane::
/home/[user]/.codeblocks/share/codeblocks/plugins/cbMP.so: not loaded (missing symbols?)

In Windows you just have to put this libraries to your Code::Blocks install. But in Linux (Ubuntu) i don't know
where to put it (i copied them in every folder that has something to do with Code::Blocks but i had no success :?)!!

GeO

It happens, because the medi-library of wxWidgets will not be loaded if you use default wx-config parameters.

I attach a patch, that makes the plugin compilable and installable on linux (debian 64-bit).
But I'm not able to play any files. I can load a file (mp3 or ogg), but if I want to play it (double-click in the playlist) the following MessageBox pops up:

Code
Error: Couldn't open file! 
                          Debuginfo: OpenSampleSource()

I also did not find a way to remove the file or add another one.

[attachment deleted by admin]

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: cbMP: A mediaplayer plugin
« Reply #16 on: June 02, 2009, 07:12:48 am »
@jens codeblocks crash when i try your way

Offline GeO

  • Multiple posting newcomer
  • *
  • Posts: 51
Re: cbMP: A mediaplayer plugin
« Reply #17 on: June 02, 2009, 02:11:17 pm »
@ jens thx alot you fixed my problems with the libraries

Now cbMP works on Ubuntu (and on every OS with wxGTK support)!
I have updated the SVN repository (look at page 1)!
I created two build target Windows/Linux and i uploaded the libcbMP.cbplugin binary linked to the C::B svn rev 5616(from jens' repo) to http://sourceforge.net/project/showfiles.php?group_id=258661&package_id=323616

Greets GeO