[Gridflow-dev] gridflow 0.9.4 compilation error

mescalinum at gmail.com mescalinum at gmail.com
Mon Aug 31 13:03:22 EDT 2009


mescalinum at gmail.com wrote:
> using compiler gcc-4.4
>
> g++ -DPDSUF=\".pd_linux\" -Ibundled/pd
> -L/var/tmp/portage/media-plugins/gridflow-0.9.4/homedir/lib
> -L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/lib64
> -lX11 -lXext -lSDL -lpthread -laa -ljpeg -lpng -lz -lmpeg3 -lm
> -lquicktime -ldl -lglib -lcv -lfftw3f -lfftw3 -lm  -march=nocona -O2
> -pipe  -I/usr/local/include
> -I/var/tmp/portage/media-plugins/gridflow-0.9.4/homedir/include -I.
> -xc++ -fno-operator-names -I/usr/X11R6/include -O3 -I../Gem/src
> -I../Gem/src -Wall -Wno-unused -Wunused-variable -g -fPIC -I. -shared
> -rdynamic  \
>         gridflow.c.fcs -xnone base/grid.o base/flow_objects.o
> base/number.1.o base/number.2.o base/number.3.o base/number.4.o
> format/main.o format/x11.o format/sdl.o format/aalib.o format/jpeg.o
> format/png.o format/videodev.o format/mpeg3.o format/quicktimehw.o
> optional/opencv.o optional/fftw.o -o gridflow.pd_linux
> gridflow.c.fcs: In function ‘int handle_braces(int, t_atom*)’:
> gridflow.c.fcs:761: error: no matching function for call to ‘min(long
> int, int)’
> gridflow.c.fcs: In function ‘void gridflow_setup()’:
> gridflow.c.fcs:858: warning: ignoring return value of ‘char*
> getcwd(char*, size_t)’, declared with attribute warn_unused_result
> make: *** [gridflow.pd_linux] Error 1
>
>
> I try again with gcc-4.1:
>
> g++ -DPDSUF=\".pd_linux\" -Ibundled/pd
> -L/var/tmp/portage/media-plugins/gridflow-0.9.4/homedir/lib
> -L/usr/X11R6/lib -L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/lib64
> -lX11 -lXext -lSDL -lpthread -laa -ljpeg -lpng -lz -lmpeg3 -lm
> -lquicktime -ldl -lglib -lcv -lfftw3f -lfftw3 -lm  -march=nocona -O2
> -pipe  -I/usr/local/include
> -I/var/tmp/portage/media-plugins/gridflow-0.9.4/homedir/include -I.
> -xc++ -fno-operator-names -I/usr/X11R6/include -O3 -I../Gem/src
> -I../Gem/src -Wall -Wno-unused -Wunused-variable -g -fPIC -I. -shared
> -rdynamic  \
>         gridflow.c.fcs -xnone base/grid.o base/flow_objects.o
> base/number.1.o base/number.2.o base/number.3.o base/number.4.o
> format/main.o format/x11.o format/sdl.o format/aalib.o format/jpeg.o
> format/png.o format/videodev.o format/mpeg3.o format/quicktimehw.o
> optional/opencv.o optional/fftw.o -o gridflow.pd_linux
> gridflow.c.fcs: In function ‘void* BFObject_new(t_symbol*, int, t_atom*)’:
> gridflow.c.fcs:602: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> gridflow.c.fcs: In function ‘int handle_braces(int, t_atom*)’:
> gridflow.c.fcs:761: error: no matching function for call to ‘min(long
> int, int)’
> make: *** [gridflow.pd_linux] Error 1
>
>
> same error, in different places.
> any help?
>
>   

same error with gridflow SVN (0.9.5)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.artengine.ca/pipermail/gridflow-dev/attachments/20090831/66f38b08/attachment.pgp 


More information about the Gridflow-dev mailing list