[Csnd] building csound 5.19 on OSX
Date | 2013-04-28 17:16 |
From | Matti Koskinen |
Subject | [Csnd] building csound 5.19 on OSX |
I have csound 5.19 installed from dmg. atsa gives write error when analysing a sound file. So I tried to build csound, but get these Linking C shared library libcsound64.dylib Undefined symbols for architecture x86_64: "_csp_dag_is_finished", referenced from: _nodePerf in csound.c.o _csp_dag_calculate_max_roots in cs_par_dispatch.c.o "_csp_locks_lock", referenced from: _globallock in cs_par_dispatch.c.o "_csp_locks_unlock", referenced from: _globalunlock in cs_par_dispatch.c.o "_csp_set_count", referenced from: _csp_set_union in cs_par_base.c.o _csp_set_intersection in cs_par_base.c.o _csp_dag_build_edges in cs_par_dispatch.c.o "_csp_set_get_num", referenced from: _csp_set_union in cs_par_base.c.o _csp_set_intersection in cs_par_base.c.o _csp_locks_insert in cs_par_dispatch.c.o ld: symbol(s) not found for architecture x86_64 they are in the code, but nm too shows them as undefined. I'm building with cmake, and no errors are given. Are there a flag or missing something? This on osx 10.8.2. -matti
"Grep less", sed tee uniq tail cat |
Date | 2013-04-28 17:27 |
From | Steven Yi |
Subject | Re: [Csnd] building csound 5.19 on OSX |
Hi Matti, For Csound 5, the official build tool is Scons. I would recommend using that to build. On the other hand, for CMakeI I imagine the issue you came across might be due to a .c file that is not added to the CMakeLists.txt. However, I used the latest from GIT and was able to compile here (OSX 10.8.3). Are you building from GIT or from a source archive? For Scons, you can look at csound5/installer/macosx/release-build-10.7.sh for flags used to build Csound. Hope that helps! steven On Sun, Apr 28, 2013 at 5:16 PM, Matti Koskinen |
Date | 2013-04-28 19:48 |
From | Matti Koskinen |
Subject | Re: [Csnd] building csound 5.19 on OSX |
On Apr 28, 2013, at 7:27 PM, Steven Yi |
Date | 2013-04-30 13:42 |
From | Steven Yi |
Subject | Re: [Csnd] building csound 5.19 on OSX |
Hi Matti, I am unsure about atsa write errors, as I don't use the tool myself. If you could describe the problem and steps you took, maybe someone here can help. steven On Sun, Apr 28, 2013 at 7:48 PM, Matti Koskinen |