I want to compile the GuidoLib with the MIDI support, but after doing
cmake cmake/ -DMIDIEXPORT=yes
make
it gives my an error: "cannot find -lmidisharelight". I've seen that in the
midisharelight folder there's only a folder for win32 and another for MacOS.
Is MIDI export supported in Linux? If it is, how can I solve this problem?
I am using the last version of the git repository as of 22/7/2012. My
operating system is Ubuntu 12.04.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you must get the midishare source code:
git://midishare.git.sourceforge.net/gitroot/midishare/midishare
midisharelight is a recent addition to the project and for the moment, it is
only
available from the 'dev' branch. It is located at the project root folder.
midisharelight is cmake based:
cd midisharelight/cmake
cmake -G "Unix Makefiles"
make
sudo make install
Althought I'm now having a bad time trying to compile this one library.
Sorry!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I'm getting different problems with MidiShare, depending if i'm
downloading it directly from sourceforge (the supposed stable release) or i'm
getting it through git.
What I do first is going to the Midishare folder/src/linux . Then I try to do
the typical
./configure
make
make install
When using the stable release, i get a syntax error in the ./configure step ( "(" unexpected)
When using the git downloaded version first I do ./configure step, it seems to go well, and it warns me that I should have the linux kernel code installed prior to compile the midishare module. But then in the Make step, i get errors of some undeclared types, like_ kLev0, sysDate,evDate, etc..
I've already installed the linux kernel source, first through synaptic (there
are a lot of packages that say linux-source, so I installed them all..) and I
also tried with the line _sudo apt-get install linux-headers-$(uname -r)
I don't know whether this is a programming error or I should have some header
installed somewhere that I don't have
I supose that since guidolib needs Midishare, this is also a guidolib problem.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It means that the readme is not clear enough. Sorry for that. It talks about
downloading midishare and about compiling midisharelight (see below):
Supporting MIDI export on linux:
-------------------------------
you must get the midishare source code:
git://midishare.git.sourceforge.net/gitroot/midishare/midishare
midisharelight is a recent addition to the project and for the moment, it is only
available from the 'dev' branch. It is located at the project root folder.
midisharelight is cmake based:
> cd midisharelight/cmake
> cmake -G "Unix Makefiles"
> make
> sudo make install
I'll change that to clarify.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Finally I understood what I was doing wrong. I downloaded midishare from the
repository but I didn't find the midisharelight folder, because I wasn't
switching to the dev bransh with
$ git checkout branch
After I ran cmake in this folder everything went well.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I want to compile the GuidoLib with the MIDI support, but after doing
cmake cmake/ -DMIDIEXPORT=yes
make
it gives my an error: "cannot find -lmidisharelight". I've seen that in the
midisharelight folder there's only a folder for win32 and another for MacOS.
Is MIDI export supported in Linux? If it is, how can I solve this problem?
I am using the last version of the git repository as of 22/7/2012. My
operating system is Ubuntu 12.04.
Thank you
Ok, didn't see the README file:
Supporting MIDI export on linux:
you must get the midishare source code:
git://midishare.git.sourceforge.net/gitroot/midishare/midishare
midisharelight is a recent addition to the project and for the moment, it is
only
available from the 'dev' branch. It is located at the project root folder.
midisharelight is cmake based:
Althought I'm now having a bad time trying to compile this one library.
Sorry!
Can you tell me the kind of "bad time" you have to compile?
Dom
Now I'm getting different problems with MidiShare, depending if i'm
downloading it directly from sourceforge (the supposed stable release) or i'm
getting it through git.
What I do first is going to the Midishare folder/src/linux . Then I try to do
the typical
./configure
make
make install
When using the stable release, i get a syntax error in the ./configure step ( "(" unexpected)
When using the git downloaded version first I do ./configure step, it seems to go well, and it warns me that I should have the linux kernel code installed prior to compile the midishare module. But then in the Make step, i get errors of some undeclared types, like_ kLev0, sysDate,evDate, etc..
I've already installed the linux kernel source, first through synaptic (there
are a lot of packages that say linux-source, so I installed them all..) and I
also tried with the line _sudo apt-get install linux-headers-$(uname -r)
I don't know whether this is a programming error or I should have some header
installed somewhere that I don't have
I supose that since guidolib needs Midishare, this is also a guidolib problem.
Thank you.
MidiShare is not required for the guidolib, only the MidiShareLight part (that
should compile without problem).
--
Dom
But the readme says that if you want midi export in Linux then you have to
download and compile Midishare
It means that the readme is not clear enough. Sorry for that. It talks about
downloading midishare and about compiling midisharelight (see below):
I'll change that to clarify.
Finally I understood what I was doing wrong. I downloaded midishare from the
repository but I didn't find the midisharelight folder, because I wasn't
switching to the dev bransh with
After I ran cmake in this folder everything went well.
Thank you.
I meant
$ git checkout dev
the dev branch.