Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile on osx 10.11 #1

Open
olilarkin opened this issue Nov 17, 2016 · 4 comments
Open

can't compile on osx 10.11 #1

olilarkin opened this issue Nov 17, 2016 · 4 comments

Comments

@olilarkin
Copy link

i have installed artifastring but get the following errors:

configure:6151: $? = 0
configure:6160: result: yes
configure:6231: checking for pkg-config
configure:6249: found /opt/local/bin/pkg-config
configure:6261: result: /opt/local/bin/pkg-config
configure:6286: checking pkg-config is at least version 0.9.0
configure:6289: result: yes
configure:6299: checking for ARTIFASTRING
configure:6306: $PKG_CONFIG --exists --print-errors "artifastring"
Package artifastring was not found in the pkg-config search path.
Perhaps you should add the directory containing artifastring.pc' to the PKG_CONFIG_PATH environment variable No package 'artifastring' found configure:6309: $? = 1 configure:6323: $PKG_CONFIG --exists --print-errors "artifastring" Package artifastring was not found in the pkg-config search path. Perhaps you should add the directory containing artifastring.pc'
to the PKG_CONFIG_PATH environment variable
No package 'artifastring' found

@nickbailey
Copy link
Owner

That message was brought to you my autotools, I didn't type it. I don't have a
Mac to test this stuff on so thanks for bringing it to my attention.

So on my Linux box, I get this:

nick@ariel:~/Research/SMRGyGurdy$ pkg-config --libs artifastring
-L/usr/local/lib -lartifastring -lm -lfftw3f

I guess you don't. Again, on my Linux box:

nick@ariel:~/Research/SMRGyGurdy$ ls -l /usr/local/lib/pkgconfig/
artifastring.pc
-rw-r--r-- 1 root staff 337 Nov 16 15:01 /usr/local/lib/pkgconfig/
artifastring.pc

I suppose it might be worth a try to find where that artifastring.pc is
installed on your Mac (presumably under /opt/something) then try
adding the directory to PKG_CONFIG_PATH. So say it got installed as /opt/lib/
pkgconfig/artifastring.pc, then if PKG_CONFIG_PATH is empty...

nick@ariel:~/Research/SMRGyGurdy$ echo $PKG_CONFIG_PATH

(like mine), just do

export PKG_CONFIG_PATH=/opt/something

and configure. If it's not empty, you'll need to do something like

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/something

instead.

We've only ever built this on Linux boxes. I think you might have a bit of
difficulty using anything except the dummy and modulation pedals, and I also
don't know how the Mac CoreMIDI (is that what it's called?) works, so even the
latter might need a bit of patching. The Linux-specific pedal support can be
turned off with the following configure options:

--without-comedi Do not support comedi devices
--without-serialpedal Do not support devices connected to serial/USB
serial ports

Comedi is a generic A-D interface for Linux ( http://www.comedi.org/
) and the serialpedal just reads numbers from the USB /dev/ttyS files to
receive data from a USB serial pedal.

Anyway, let me know how you get on. I'd be delighted if it worked on a Mac
too! I have quite a few students who have Macs, but they are electronics
engineers; I don't think many of them cut the mustard with autoconf and
friends.

Nick/.

On Thursday, 17 November 2016 09:00:54 GMT Oli Larkin wrote:

i have installed artifastring but get the following errors:

configure:6151: $? = 0
configure:6160: result: yes
configure:6231: checking for pkg-config
configure:6249: found /opt/local/bin/pkg-config
configure:6261: result: /opt/local/bin/pkg-config
configure:6286: checking pkg-config is at least version 0.9.0
configure:6289: result: yes
configure:6299: checking for ARTIFASTRING
configure:6306: $PKG_CONFIG --exists --print-errors "artifastring"
Package artifastring was not found in the pkg-config search path.
Perhaps you should add the directory containing artifastring.pc' to the PKG_CONFIG_PATH environment variable No package 'artifastring' found configure:6309: $? = 1 configure:6323: $PKG_CONFIG --exists --print-errors "artifastring" Package artifastring was not found in the pkg-config search path. Perhaps you should add the directory containingartifastring.pc'
to the PKG_CONFIG_PATH environment variable
No package 'artifastring' found

@olilarkin
Copy link
Author

do you have any examples online? just curious to hear smrdygrdy

@nickbailey
Copy link
Owner

On Friday, 18 November 2016 02:49:05 GMT Oli Larkin wrote:

do you have any examples online? just curious to hear smrdygrdy

Well, not really yet (although it may shortly feature on a CD!) but I do have
a little video of me talking about how it works. We went to the International
Conference on Organology in Portugal and I gave a paper about it. It's a
wonderful conference full of musicians, historians, composers, preservers,
builders and scientists. I'm on the Scientific Committee for it. I made a
personal video there from snips other people sent me. It's not really,ahem,
professional quality, but you can look at it if you like because I have no
shame.

There's my comedy act trying to give a 40 minute paper in about 15 minutes
because the other guys had overrun. Then there's a bunch of songs with a duet
of singers from Scottish Voices singing our Composer's microtonal duets. I
think they are using a harmonium accompaniment though, so the SMRGyGurdy only
appears in the presentation.

https://www.dropbox.com/s/a9u72vauj4zbidc/Animusic_2015.mp4?dl=0

Presentation starts at 3:39.

@nickbailey
Copy link
Owner

On Friday, 18 November 2016 02:49:05 GMT Oli Larkin wrote:

do you have any examples online? just curious to hear smrdygrdy

Sorry, wrong link.

https://www.dropbox.com/s/fa5tt6vnqan2sc9/Animusic_2015.mp4?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants