[RTcmix-discuss] A Fresh Build (errors)

Blaine frikker at gmail.com
Wed Sep 28 18:19:07 EDT 2011


Now that I'm pulling down a fresh snapshot, I thought I'd throw out there
the errors that I'm having. Are these normal? I think originally I simply
ignored them and continued on, but for the sake of cleanliness these should
probably compile correctly without assistance.

64-bit ubuntu 10.04

When I configure and make RTCMIX, I get the following error when it builds
the example apps:
making in SYNC...
make[3]: Entering directory
`/home/blaine/src/rtcmix/RTcmix-all-092811/insts/bgg/SYNC'
g++ -Wno-deprecated -shared -Wl,-soname,libSYNC.so -o libSYNC.so SYNC.o
 -Wl,-rpath /home/blaine/src/rtcmix/RTcmix-all-092811/lib
-L/home/blaine/src/rtcmix/RTcmix-all-092811/lib -lgen -lpthread -lm -ldl
/usr/bin/ld: SYNC.o: relocation R_X86_64_32 against `.data' can not be used
when making a shared object; recompile with -fPIC
SYNC.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libSYNC.so] Error 1
make[3]: Leaving directory
`/home/blaine/src/rtcmix/RTcmix-all-092811/insts/bgg/SYNC'
done in SYNC
making in VWAVE...
make[3]: Entering directory
`/home/blaine/src/rtcmix/RTcmix-all-092811/insts/bgg/VWAVE'
g++ -Wno-deprecated -shared -Wl,-soname,libVWAVE.so -o libVWAVE.so VWAVE.o
 -Wl,-rpath /home/blaine/src/rtcmix/RTcmix-all-092811/lib
-L/home/blaine/src/rtcmix/RTcmix-all-092811/lib -lgen -lpthread -lm -ldl
/usr/bin/ld: VWAVE.o: relocation R_X86_64_32 against `.data' can not be used
when making a shared object; recompile with -fPIC
VWAVE.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libVWAVE.so] Error 1

When I go in there and add -fPIC manually and call the g++ call, I get a "ld
cannot find -lgen".

Am I doing something wrong? This is with the latest snapshot.

Thanks,
Blaine


On Wed, Sep 28, 2011 at 5:55 PM, Blaine <frikker at gmail.com> wrote:

> Sounds good. I sent an email a few weeks ago with the project source, but
> let me see if I can get it working with a fresh pull of the source tree. If
> it isn't a pain, I'll throw it over on github with instructions.
>
> There are some quirks but it seems to work. As I said, I'm not sure of the
> limitations since I'm not using it in a very extreme way :) but I do have
> several examples working, like arpeggiate and flutescale.
>
> Thanks,
> Blaine
>
>
>
> On Wed, Sep 28, 2011 at 5:38 PM, Aaron Stepp <stepp.aaron at gmail.com>wrote:
>
>> Blaine -
>>
>> I'm also quite interested in seeing pyRTcmix.  I've done several pieces
>> with python and Cmix, and would love to try and interactive mode.
>>
>> I managed to write something that allowed me to call various cmix things
>> from python, but yours sounds exhaustive - I'm interested in seeing the end
>> result!
>>
>> Aaron
>>
>>
>> On Wed, Sep 28, 2011 at 5:36 PM, Blaine <frikker at gmail.com> wrote:
>>
>>> Yep, pycmix is just a way to use python syntax for the parser (in my
>>> understanding). My project, pyRTcmix takes the rtcmix compiled shared object
>>> and wraps a python-extension (cython) interface around it so that you can
>>> call rtcmix commands from a vanilla python interpreter.
>>>
>>> I haven't confirmed that it even works with the latest build because I'm
>>> using an old branch, but all it really does it pass through the cmd()
>>> pointer so we can use maketable etc in python land.
>>>
>>> If you're interested in using it, it'd be great to have a second person
>>> try to compile it. Let me know and I'll help get it up and running. The way
>>> I use it is minimal (maketable mostly) so it may need some adjusting to get
>>> it to work for what you need it to do. Currently it exists as a kind of
>>> braindump and it could use some fresh air.  It also requires a small patch
>>> in the way dynamic files are loaded, I don't know if that made it into the
>>> source tree or not.
>>>
>>> Let me know if I can help. I am not sure if pyRTcmix is in the source
>>> tree or not.
>>>
>>> Blaine
>>>
>>>
>>>
>>> On Tue, Sep 27, 2011 at 10:36 PM, John Gibson <johgibso at indiana.edu>wrote:
>>>
>>>> Hi Joel,
>>>>
>>>> No live audio with pycmix. pycmix simply substitutes Python for MinC as
>>>> a parser. Everything else is the same: it parses the entire score, schedules
>>>> the notes, and then plays them. While it's playing, the only intervention
>>>> you have is via MIDI, OSC, or mouse control.
>>>>
>>>> It's true that you can run cmix (with Minc) in what appears to be
>>>> interactive mode -- typing commands and getting results back, but still the
>>>> instruments will not run until you've given an end-of-file.
>>>>
>>>> Maybe Blaine (on this list) will chime in about pyRTcmix, which might do
>>>> what you want. Instead of using Python as a parser front end for cmix, he
>>>> turns all of cmix into a Python module that you can access within regular
>>>> Python.
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>> On Sep 27, 2011, at 10:16 PM, Joel Matthys < <jwmatthys at yahoo.com>
>>>> jwmatthys at yahoo.com> wrote:
>>>>
>>>> I've compiled PYCMIX on Ubuntu Linux. It works fine loading scripts, but
>>>> in interactive mode, instead of audio, I get an object reference:
>>>>
>>>> <rtcmixmodule.Opaque object at 0x12b4110>
>>>>
>>>> Is this expected behavior? I haven't tested it on OS X (I've had
>>>> difficulty getting it to compile there). Is there a way to do live audio
>>>> with
>>>> PYCMIX?
>>>>
>>>> Thanks,
>>>> Joel
>>>>
>>>> _______________________________________________
>>>> RTcmix-discuss mailing list
>>>> <RTcmix-discuss at music.columbia.edu>RTcmix-discuss at music.columbia.edu
>>>>  <http://music.columbia.edu/mailman/listinfo/rtcmix-discuss>
>>>> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>>>>
>>>>
>>>> _______________________________________________
>>>> RTcmix-discuss mailing list
>>>> RTcmix-discuss at music.columbia.edu
>>>> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>>>>
>>>>
>>>
>>> _______________________________________________
>>> RTcmix-discuss mailing list
>>> RTcmix-discuss at music.columbia.edu
>>> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>>>
>>>
>>
>> _______________________________________________
>> RTcmix-discuss mailing list
>> RTcmix-discuss at music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://music.columbia.edu/pipermail/rtcmix-discuss/attachments/20110928/54353e58/attachment.html>


More information about the RTcmix-discuss mailing list