denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Fairly good news Re: MIDI in on windows binaries


From: Jeremiah Benham
Subject: Re: [Denemo-devel] Fairly good news Re: MIDI in on windows binaries
Date: Mon, 07 Jan 2013 17:12:36 -0600
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/07/13 16:26, Richard Shann wrote:
On Mon, 2013-01-07 at 14:31 -0600, Jeremiah Benham wrote:
This is another nasty hack I hope to find a fix for. I created two
symlinks in /usr/lib pointing to where gub installed them.

What should the link look like - a link from the
host /usr/lib/libevdocument.la to where?

It should look something (not exactly) like this:
sudo ln -s /home/jjbenham/src/gub_master/gub/target/mingw/root/usr/lib/libevdoc* /usr/lib/

I wrote a script so that I can switch between targets. I type ./rebuild mingw or ./rebuild darwin etc..
Here is the script:

#!/bin/bash

if [ $# -lt 1 ]
then
        echo "Usage : $0 (mingw, darwin, linux)"
        exit
fi

sudo rm /usr/lib/libevview.*
sudo rm /usr/lib/libevdoc*

case "$1" in

mingw)  echo "Rebuilding mingw"
sudo ln -s /home/jjbenham/src/gub_master/gub/target/mingw/root/usr/lib/libevview.* /usr/lib/ sudo ln -s /home/jjbenham/src/gub_master/gub/target/mingw/root/usr/lib/libevdoc* /usr/lib/
    rm -rf target/mingw/*/denemo*
    make PLATFORMS='mingw' denemo
    ;;
linux)  echo  "Rebuilding linux"
sudo ln -s /home/jjbenham/src/gub_master/gub/target/linux-x86/root/usr/lib/libevview.* /usr/lib/ sudo ln -s /home/jjbenham/src/gub_master/gub/target/linux-x86/root/usr/lib/libevdoc* /usr/lib/
    rm -rf target/linux-x86/*/denemo*
    make PLATFORMS='linux-x86' denemo
    ;;
darwin)  echo  "Rebuilding darwin"
sudo ln -s /home/jjbenham/src/gub_master/gub/target/darwin-x86/root/usr/lib/libevview.* /usr/lib/ sudo ln -s /home/jjbenham/src/gub_master/gub/target/darwin-x86/root/usr/lib/libevdoc* /usr/lib/
    rm -rf target/darwin-x86/*/denemo*
    make PLATFORMS='darwin-x86' denemo
    ;;
*) echo "$1 is not suported yet"
   ;;
esac


Jeremiah



Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]