Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

cbMP: A mediaplayer plugin

<< < (4/4)

Jenna:

--- Quote from: GeO on June 01, 2009, 05:26:03 pm ---
--- Quote from: PsYhLo on June 01, 2009, 01:00:39 pm ---i compile it successfully but it says me that the sdk version is different :(

--- End quote ---

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

--- End quote ---

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()
--- End code ---

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

[attachment deleted by admin]

PsYhLo:
@jens codeblocks crash when i try your way

GeO:
@ 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

Navigation

[0] Message Index

[*] Previous page

Go to full version