Hi Ico,
I had a veeery big breath before start compiling flext/stk & munger1~ :-). Unfortunately I had the same results as Kevin on Win32 (cygwin):
... [lots of compilation stuff here] ... /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lstk collect2: ld returned 1 exit status make[1]: *** [pd-cygwin/release-shared/libflext-pd.dll] Error 1 make[1]: Leaving directory `/cygdrive/d/zin/my_install/flext' make: *** [build-release-shared] Error 2
Note: I got successful compilation of flext without stk, the previous error was obtained by compiling flext against stk.
I definitely need more time to understand the flext/stk stuff before going into munger1.. I'll let you know if I'll be able to get it..
All the best,
Alberto Zin
I had a veeery big breath before start compiling flext/stk & munger1~ :-). Unfortunately I had the same results as Kevin on Win32 (cygwin):
... [lots of compilation stuff here] ... /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lstk collect2: ld returned 1 exit status make[1]: *** [pd-cygwin/release-shared/libflext-pd.dll] Error 1 make[1]: Leaving directory `/cygdrive/d/zin/my_install/flext' make: *** [build-release-shared] Error 2
Note: I got successful compilation of flext without stk, the previous error was obtained by compiling flext against stk.
I definitely need more time to understand the flext/stk stuff before going into munger1.. I'll let you know if I'll be able to get it..
If the path inclusion and/or installation of stk lib into the OS path (/usr/lib/ or /usr/local/lib) does not fix it, try the following:
Best wishes,
Ico
- compile flext WITHOUT stk
- compile stk
- try compiling munger
I still get:
pd-darwin/release-multi/munger1~.opp -lstk -lflext-pd_t /usr/bin/ld: can't locate file for: -lstk collect2: ld returned 1 exit status make[1]: *** [pd-darwin/release-multi/munger1~.pd_darwin] Error 1 rm pd-darwin/release-multi/munger1~.opp_ppc make: *** [build-release-multi] Error 2
You know, at least on OS X, stk doesn't have a way to install itself so I had to guess which files were generated/needed (install.sh is blank). I ended up copying the .a files (these were generated when I followed the instructions to build "a library of objects" by running make from stk's source dir) to my /usr/local/lib/stk folder and the .h files to /usr/local/include folder. I'm pretty sure this is right but maybe I am missing something else here. Anyway both of those should be in my path, I was getting different errors when they weren't.
We're going to drive you crazy over software you didn't write, Ico! :)
Kevin
You know, at least on OS X, stk doesn't have a way to install itself so I had to guess which files were generated/needed (install.sh is blank). I ended up copying the .a files (these were generated when I followed the instructions to build "a library of objects" by running make from stk's source dir) to my /usr/local/lib/stk folder and the .h files to /usr/local/include folder. I'm pretty sure this is right but maybe I am missing something else here. Anyway both of those should be in my path, I was getting different errors when they weren't.
We're going to drive you crazy over software you didn't write, Ico! :)
Impossible to drive an already crazy man crazy ;-)
I think your problem is that your .a files should *not* go into a subfolder but directly into the /usr/local/lib folder.
Now that I also thought more about it, I think you do need to compile flext against stk, or otherwise munger1~ won't compile since it references flstk.h not Stk.h in its source.
Either way, aforesaid solution should fix this.
BTW, if anyone builds a binary for Win/PD, Mac/PD, or MacPPC/Max, please forward them to me so that I can include them in the distribution.
Best wishes,
Ico
Nope - still same error. Thanks for the try though! I think Thomas should be pondering this one soon.
Kevin
On 3/13/07, Ivica Ico Bukvic ico.bukvic@gmail.com wrote:
You know, at least on OS X, stk doesn't have a way to install itself so I had to guess which files were generated/needed (install.sh is blank). I ended up copying the .a files (these were generated when I followed the instructions to build "a library of objects" by running make from stk's source dir) to my /usr/local/lib/stk folder and the .h files to /usr/local/include folder. I'm pretty sure this is right but maybe I am missing something else here. Anyway both of those should be in my path, I was getting different errors when they weren't.
We're going to drive you crazy over software you didn't write, Ico! :)
Impossible to drive an already crazy man crazy ;-)
I think your problem is that your .a files should *not* go into a subfolder but directly into the /usr/local/lib folder.
Now that I also thought more about it, I think you do need to compile flext against stk, or otherwise munger1~ won't compile since it references flstk.h not Stk.h in its source.
Either way, aforesaid solution should fix this.
BTW, if anyone builds a binary for Win/PD, Mac/PD, or MacPPC/Max, please forward them to me so that I can include them in the distribution.
Best wishes,
Ico
Nope - still same error. Thanks for the try though! I think Thomas should be pondering this one soon.
All right, you'll then have to be patient until I get back home tonight to see exactly what I did to make this bugger compile on my MBP.
Best wishes,
Ico
Nope - still same error. Thanks for the try though! I think Thomas should be pondering this one soon.
Kevin
Just checked it on my OSX machine and what I've done is as follows:
folder, so that it points in the right direction 3) my libs are stored in /usr/local/lib (including libstk.a) 4) compiled munger~ with -lstk and it worked fine
Specific line shown during compile time has -lstk -lflext-max_t at the end of the g++ call. The same call also has -L/usr/local/lib (not sure where that one comes from, though--could be flext stuff).
FWIW, I also got an e-mail from Thomas Grill (author of flext) suggesting that some changes have been made as far as OSX and Linux build of flext is concerned which now allows for better integration with Stk and SndObj. I am not sure what are the details surrounding this announcement, but this may help resolve your problem.
Best wishes,
Ico
Hi all,
i just updated the flext build system in the CVS (currently for OSX
and linux only), which has now better integration of STK and SndObj
support.
It's now configured in the buildsys/config-pd*.txt files, making
respective settings unnecessary for the individual externals.
Consequently, the munger1~ package.txt file should only contain
NAME=munger1~ SRCS=munger1~.cpp
please let me know if that works greetings, Thomas
Am 13.03.2007 um 17:48 schrieb Kevin McCoy:
- compile flext WITHOUT stk
- compile stk
- try compiling munger
I still get:
pd-darwin/release-multi/munger1~.opp -lstk -lflext-pd_t /usr/bin/ld: can't locate file for: -lstk collect2: ld returned 1 exit status make[1]: *** [pd-darwin/release-multi/munger1~.pd_darwin] Error 1 rm pd-darwin/release-multi/munger1~.opp_ppc make: *** [build-release-multi] Error 2
You know, at least on OS X, stk doesn't have a way to install itself so I had to guess which files were generated/needed (install.sh is blank). I ended up copying the .a files (these were generated when I followed the instructions to build "a library of objects" by running make from stk's source dir) to my /usr/local/lib/stk folder and the .h files to /usr/local/include folder. I'm pretty sure this is right but maybe I am missing something else here. Anyway both of those should be in my path, I was getting different errors when they weren't.
We're going to drive you crazy over software you didn't write, Ico! :)
Kevin
--
++++ http://pocketkm.blogspot.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Thomas Grill http://grrrr.org