[CM] Grace, beta 5, sndlib
On Jan 2, 2014, at 9:33 PM, Joel Matthys jwmatt...@yahoo.com wrote: Thanks for the update! One bugfix: I had to add -ldl to LIBS in s7.make. Joel so you might try what Joel did and see if that builds s7. Hi, Yes, that seems to work. My changes to get it to build on f20 were: change premake4.lua, line 350 etc. to include dl... (thanks Bill) -- Linux configuration({linux}) links({dl, pthread, rt, X11,GL,GLU,Xinerama, asound,freetype, Xext}) if _OPTIONS[with-fomus] then links({dl, gsl, gslcblas, m}) end then run configure using premake $ CFLAGS='-ldl -lpthread ' ./premake4 --with-oscpack then edit and change s7.make for config debug, release, and speed LIB options to (thanks Joel): LIBS += -ldl -lsndlib -lasound then run $ make - Also followed gnome instructions for adding icon to app on fedora with gnome: Place the icon in /usr/share/icons/hicolor/48x48/apps/ Then after build is complete right click grace app in bin directory, select properties, then click on the icon image on properties page and associate it with cm.png. Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
[CM] Grace, beta 5, sndlib
Building s7 (debug) Running pre-build commands res/bin/sndlib.sh Linking s7 /usr/bin/ld: sndlib/lib/libsndlib.a(s7.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line /lib64/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [bin/s7] Error 1 make: *** [s7] Error 2 Hi, I tried the Grace beta 5, but having problem with linking in sndlib to complete the build. I'm on fedora20. It does build a libsndlib.a. Not sure what the error is saying. Is sndlib not looking in lib64 to get what it needs? I've tried several things from the command line such as: $ LIBS='/lib64/libdl.so.2' CFLAGS='-ldl -lpthread' ./premake4 --with-oscpack Beta4 build has been working fine on f20 after a few tweaks. Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
Re: [CM] Grace, beta 5, sndlib
odd, it build fine in ubuntu and haven't changed a thing since last fall. it appears that on some pors sof linux you have to add dl: On Jan 2, 2014, at 9:33 PM, Joel Matthys jwmatt...@yahoo.com wrote: Thanks for the update! One bugfix: I had to add -ldl to LIBS in s7.make. Joel so you might try what Joel did and see if that builds s7. if its only s7.make that needs it maybe ill disable that little app, its really only used for debugging . On 01/02/2014 01:17 PM, Heinrich Taube wrote: Ive completed a beta5 of the cm 3.9.0 that i almost finished last fall. Im going to start teaching with this in the next few weeks so Ill only be adding bug fixes at this point. new things in this update: 1. builds in the latest s7 (3.3) and juce (3.0.0) 2. both scheme and sal versions of all examples and tutorials are available for the first time. 3. examples and tutorials checked to make sure they work 4. new app icon working on mac and window. I've left an 256x256 icon for linux in res/etc/cm.png but i have no idea how to get icons associated with apps on linux. prebuilt mac (include oscpack): http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-osx.zip prebuilt win (includes oscpack): http://camil.music.illinois.edu/software/grace/Grace-3.9.0-beta5-win32.zip sources (equivalent to svn revision 2111): http://camil.music.illinois.edu/software/grace/cm-3.9.0-beta5.zip ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist On Jan 4, 2014, at 11:49 AM, James Hearon j_hea...@hotmail.com wrote: Building s7 (debug) Running pre-build commands res/bin/sndlib.sh Linking s7 /usr/bin/ld: sndlib/lib/libsndlib.a(s7.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line /lib64/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [bin/s7] Error 1 make: *** [s7] Error 2 Hi, I tried the Grace beta 5, but having problem with linking in sndlib to complete the build. I'm on fedora20. It does build a libsndlib.a. Not sure what the error is saying. Is sndlib not looking in lib64 to get what it needs? I've tried several things from the command line such as: $ LIBS='/lib64/libdl.so.2' CFLAGS='-ldl -lpthread' ./premake4 --with-oscpack Beta4 build has been working fine on f20 after a few tweaks. Regards, Jim ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist ___ Cmdist mailing list Cmdist@ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist