Menu

No MidiShareLight

Help
Ivan M
2012-07-22
2012-10-22
  • Ivan M

    Ivan M - 2012-07-22

    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

     
  • Ivan M

    Ivan M - 2012-07-22

    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:

    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!

     
  • Dominique Fober

    Dominique Fober - 2012-07-23

    Althought I'm now having a bad time trying to compile this one library.

    Can you tell me the kind of "bad time" you have to compile?

    Dom

     
  • Ivan M

    Ivan M - 2012-07-23

    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.

     
  • Dominique Fober

    Dominique Fober - 2012-07-23

    I supose that since guidolib needs Midishare, this is also a guidolib
    problem.

    MidiShare is not required for the guidolib, only the MidiShareLight part (that
    should compile without problem).
    --
    Dom

     
  • Ivan M

    Ivan M - 2012-07-23

    But the readme says that if you want midi export in Linux then you have to
    download and compile Midishare

     
  • Dominique Fober

    Dominique Fober - 2012-07-23

    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.

     
  • Ivan M

    Ivan M - 2012-07-31

    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.

     
  • Ivan M

    Ivan M - 2012-07-31

    I meant

    $ git checkout dev

    the dev branch.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.