Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
I am on Linux, ubuntu lucyd.
Thanks.
2010/7/11 linediconsine@gmail.com linediconsine@gmail.com
Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
-- Marco A.
You cannot compile a source file that depends on other headers without "telling the compiler" where they are:
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
This makes sense, because if the flext.h is not in the main.cpp directory the compiler will not find it. The easiest way to compile externals is just using their respective makefile, that external doesn't have a makefile? If it does try that first...
Anyway if you want to use gcc directly from command line and include the header directories manually, use the gcc -I path/to/directory/of/the/headers main.cpp
(see man gcc)
-I dir Add the directory dir to the list of directories to be searched for header files. Directories named by -I are searched before the standard system include directories. If the directory dir is a
standard system include directory, the option is ignored to ensure
that the default search order for system directories and the spe‐
cial treatment of system headers are not defeated .
On Sun, Jul 11, 2010 at 12:42 PM, linediconsine@gmail.com < linediconsine@gmail.com> wrote:
I am on Linux, ubuntu lucyd.
Thanks.
2010/7/11 linediconsine@gmail.com linediconsine@gmail.com
Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
-- Marco A.
-- Marco Amato
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks, I used -I option and I receive a big error log.
I paste my error log here : http://pastebin.com/BF2J6Pn0
I compiled flext by myself,
Thanks for any help!!
Marco
2010/7/11 Pedro Lopes pedro.lopes@ist.utl.pt
You cannot compile a source file that depends on other headers without "telling the compiler" where they are:
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
This makes sense, because if the flext.h is not in the main.cpp directory the compiler will not find it. The easiest way to compile externals is just using their respective makefile, that external doesn't have a makefile? If it does try that first...
Anyway if you want to use gcc directly from command line and include the header directories manually, use the gcc -I path/to/directory/of/the/headers main.cpp
(see man gcc)
-I dir Add the directory dir to the list of directories to be searched for header files. Directories named by -I are searched before the standard system include directories. If the directory dir is a
standard system include directory, the option is ignored to ensure that the default search order for system directories and the spe‐ cial treatment of system headers are not defeated .
On Sun, Jul 11, 2010 at 12:42 PM, linediconsine@gmail.com < linediconsine@gmail.com> wrote:
I am on Linux, ubuntu lucyd.
Thanks.
2010/7/11 linediconsine@gmail.com linediconsine@gmail.com
Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
-- Marco A.
-- Marco Amato
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Pedro Lopes (ongoing MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes
Well at least it is going through the flext headers now.. Since I'm not familiar with flext so better leave this to a flext-expert :)
best of luck, Pedro
On Sun, Jul 11, 2010 at 2:43 PM, linediconsine@gmail.com < linediconsine@gmail.com> wrote:
Thanks, I used -I option and I receive a big error log.
I paste my error log here : http://pastebin.com/BF2J6Pn0
I compiled flext by myself,
Thanks for any help!!
Marco
2010/7/11 Pedro Lopes pedro.lopes@ist.utl.pt
You cannot compile a source file that depends on other headers without
"telling the compiler" where they are:
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
This makes sense, because if the flext.h is not in the main.cpp directory the compiler will not find it. The easiest way to compile externals is just using their respective makefile, that external doesn't have a makefile? If it does try that first...
Anyway if you want to use gcc directly from command line and include the header directories manually, use the gcc -I path/to/directory/of/the/headers main.cpp
(see man gcc)
-I dir Add the directory dir to the list of directories to be searched for header files. Directories named by -I are searched before the standard system include directories. If the directory dir is a
standard system include directory, the option is ignored to ensure that the default search order for system directories and the spe‐ cial treatment of system headers are not defeated .
On Sun, Jul 11, 2010 at 12:42 PM, linediconsine@gmail.com < linediconsine@gmail.com> wrote:
I am on Linux, ubuntu lucyd.
Thanks.
2010/7/11 linediconsine@gmail.com linediconsine@gmail.com
Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
-- Marco A.
-- Marco Amato
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Pedro Lopes (ongoing MSc) contact: pedro.lopes@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes
-- Marco Amato
Hey Marco, i guess it's one of those undocumented externals on my svn site. Since there's a package.txt file with it, the external is meant to be compiled with the flext build system. You can have a look at the flext readme.txt or build.txt files. It boils down to the following:
sh path_to_flext/build.sh pd gcc sudo sh path_to_flext/build.sh pd gcc install
gr~~~
Am 11.07.2010 um 13:40 schrieb linediconsine@gmail.com:
Hi I try to compile sms_peak (a module made with flext)
There is a guide to step by step compile a flext module?
By the way I am here in compiling:
$ls Info.plist license.txt main.cpp package.txt pd sms_peaks~.xcodeproj
$gcc main.cpp main.cpp:12:19: error: flext.h: No such file or directory
$find / -name flext.h /usr/include/flext/flext.h /home/marco/pd-flext/flext/ buildsys/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/externals/grill/flext/source/flext.h /home/marco/pd-flext/flext/source/flext.h
Thanks
-- Marco A. _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thank alots for the help.
Since there's a package.txt file with it, the external is meant to be compiled with the flext build system. You can have a look at the flext readme.txt or build.txt files. It boils down to the following:
sh path_to_flext/build.sh pd gcc sudo sh path_to_flext/build.sh pd gcc install
sh /home/marco/pd-flext/flext/build.sh pd gcc
make -f /home/marco/pd-flext/flext/buildsys/gnumake-sub.mak PLATFORM=lnx
RTSYS=pd COMPILER=gcc BUILDPATH=/home/marco/pd-flext/flext/buildsys/
PKGINFO=package.txt BUILDCLASS=ext TARGETMODE=release TARGETTYPE=single
_build_
make[1]: Entering directory /home/marco/sms_peaks' mkdir -p pd-linux/release-single mkdir -p pd-linux/release-single/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -pthread -fPIC -fvisibility-inlines-hidden -DNDEBUG -DFLEXT_SYS=2 -DPD -I/home/marco/puredata-0.42.5/src -I/usr/include/stk -I/usr/include/sndobj -I/usr/include/flext main.cpp -o pd-linux/release-single/main.opp main.cpp: In member function ‘virtual void<unnamed>::sms_peaks::CbSignal()’: main.cpp:98: error: cannot convert ‘flext_single::buffer::Element*’ to ‘t_sample*’ in initialization make[1]: *** [pd-linux/release-single/main.opp] Error 1 make[1]: Leaving directory
/home/marco/sms_peaks'
make: *** [build-release-single] Error 2
If you have this patch compiled for osx, Please can you put it online?
I have both osx and linux here ;)
Thanks for help!
Hi,
that error that you are citing, is that for compilation on a 64-bit
machine?
I'll check that later in the week.
gr~~~
Am 18.07.2010 um 11:53 schrieb linediconsine@gmail.com:
Thank alots for the help.
Since there's a package.txt file with it, the external is meant to
be compiled with the flext build system. You can have a look at the flext readme.txt or build.txt files. It boils down to the following:sh path_to_flext/build.sh pd gcc sudo sh path_to_flext/build.sh pd gcc install
I still have an error on ubuntu g++ 4.4.3 :
sh /home/marco/pd-flext/flext/build.sh pd gcc
make -f /home/marco/pd-flext/flext/buildsys/gnumake-sub.mak
PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=/home/marco/pd-flext/ flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext
TARGETMODE=release TARGETTYPE=single _build_ make[1]: Entering directory/home/marco/sms_peaks' mkdir -p pd-linux/release-single mkdir -p pd-linux/release-single/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -pthread -fPIC - fvisibility-inlines-hidden -DNDEBUG -DFLEXT_SYS=2 -DPD -I/home/marco/ puredata-0.42.5/src -I/usr/include/stk -I/usr/include/sndobj -I/usr/ include/flext main.cpp -o pd-linux/release-single/main.opp main.cpp: In member function ‘virtual void<unnamed>::sms_peaks::CbSignal()’: main.cpp:98: error: cannot convert ‘flext_single::buffer::Element*’ to ‘t_sample*’ in initialization make[1]: *** [pd-linux/release-single/main.opp] Error 1 make[1]: Leaving directory
/home/marco/sms_peaks' make: *** [build-release-single] Error 2
If you have this patch compiled for osx, Please can you put it online?
I have both osx and linux here ;)
Thanks for help!
Hi,
i can't reproduce your problem on OSX/32bit for current SVN versions
of flext and sms_peaks.
I'll send you the resulting binary in private email.
gr~~~
Am 19.07.2010 um 10:32 schrieb Thomas Grill:
Hi, that error that you are citing, is that for compilation on a 64-bit
machine? I'll check that later in the week. gr~~~Am 18.07.2010 um 11:53 schrieb linediconsine@gmail.com:
Thank alots for the help.
Since there's a package.txt file with it, the external is meant to
be compiled with the flext build system. You can have a look at the flext readme.txt or build.txt files. It boils down to the following:sh path_to_flext/build.sh pd gcc sudo sh path_to_flext/build.sh pd gcc install
I still have an error on ubuntu g++ 4.4.3 :
sh /home/marco/pd-flext/flext/build.sh pd gcc
make -f /home/marco/pd-flext/flext/buildsys/gnumake-sub.mak
PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=/home/marco/pd-flext/ flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext
TARGETMODE=release TARGETTYPE=single _build_ make[1]: Entering directory/home/marco/sms_peaks' mkdir -p pd-linux/release-single mkdir -p pd-linux/release-single/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -pthread -fPIC - fvisibility-inlines-hidden -DNDEBUG -DFLEXT_SYS=2 -DPD -I/home/ marco/puredata-0.42.5/src -I/usr/include/stk -I/usr/include/sndobj - I/usr/include/flext main.cpp -o pd-linux/release-single/main.opp main.cpp: In member function ‘virtual void<unnamed>::sms_peaks::CbSignal()’: main.cpp:98: error: cannot convert ‘flext_single::buffer::Element*’ to ‘t_sample*’ in initialization make[1]: *** [pd-linux/release-single/main.opp] Error 1 make[1]: Leaving directory
/home/marco/sms_peaks' make: *** [build-release-single] Error 2
If you have this patch compiled for osx, Please can you put it
online?I have both osx and linux here ;)
Thanks for help!
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list