[Gridflow-dev] osx ruby/ruby configure

james tittle tigital at mac.com
Tue Mar 21 14:59:49 EST 2006


On Mar 21, 2006, at 2:20 PM, Mathieu Bouchard wrote:

> On Tue, 21 Mar 2006, james tittle wrote:
>
>> tiggity:~/puredataDev/gridflow tigital$ make ruby -w
>> base/source_filter.rb base/grid.h base/grid.h.fcs
>> base/source_filter.rb:244: invalid regular expression; there's no
>> previous pattern, to which '{' would define cardinality at 1: /{/  
>> make:
>> *** [base/grid.h.fcs] Error 1
>
> cvs update and try again

...ok, moving right along, it stops compiling at (guess!) quartz.m:

g++ -I/sw/include -I/usr/local/include -I/Users/tigital/include -xc++  
-fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I/ 
Users/tigital/puredataDev/gridflow/lib/ruby/1.9/powerpc-darwin8.5.0 - 
I../Gem/src -falign-functions=16 -DMACOSX -Wall -Wno-unused -Wunused- 
variable -fno-omit-frame-pointer -g -fPIC -I. -O3 -funroll-loops - 
xobjective-c++ -c format/quartz.m.fcs -o format/quartz.o
format/quartz.m.fcs:45: error: ISO C++ forbids declaration of 'Pt'  
with no type
format/quartz.m.fcs:45: error: expected `;' before '<' token
format/quartz.m.fcs: In function 'uint8* -[GFView imageData](GFView*,  
objc_selector*)':
format/quartz.m.fcs:57: error: 'imdata' was not declared in this scope
format/quartz.m.fcs: In function 'objc_object* -[GFView  
imageHeight:width:](GFView*, objc_selector*, int, int)':
format/quartz.m.fcs:65: error: 'imdata' was not declared in this scope
format/quartz.m.fcs:67: error: 'imdata' was not declared in this scope
format/quartz.m.fcs:67: error: expected primary-expression before ','  
token
format/quartz.m.fcs:67: error: 'ARRAY_NEW' was not declared in this  
scope
format/quartz.m.fcs:69: error: no matching function for call to 'CLEAR 
(<type error>, int&)'
format/quartz.m.fcs:68: warning: unused variable 'p'
format/quartz.m.fcs: In function 'objc_object* -[GFView  
initWithFrame:](GFView*, objc_selector*, NSRect)':
format/quartz.m.fcs:77: error: 'imdata' was not declared in this scope
format/quartz.m.fcs:77: error: expected primary-expression before '>'  
token
format/quartz.m.fcs:77: error: expected primary-expression before ')'  
token
format/quartz.m.fcs: In function 'objc_object* -[GFView drawRect:] 
(GFView*, objc_selector*, NSRect)':
format/quartz.m.fcs:92: error: 'imdata' was not declared in this scope
format/quartz.m.fcs: At global scope:
format/quartz.m.fcs:106: error: expected constructor, destructor, or  
type conversion before '<' token
format/quartz.m.fcs: In function 'void GFView_display(GFView*)':
format/quartz.m.fcs:114: warning: instance variable 'imheight' is  
@protected; this will be a hard error in the future
format/quartz.m.fcs:114: warning: instance variable 'imwidth' is  
@protected; this will be a hard error in the future
format/quartz.m.fcs: At global scope:
format/quartz.m.fcs:151: error: 'Pt' has not been declared
format/quartz.m.fcs:151: error: expected ',' or '...' before '<' token
format/quartz.m.fcs: In function 'void convert_number_type(int, int)':
format/quartz.m.fcs:152: error: 'out' was not declared in this scope
format/quartz.m.fcs:152: error: 'in' was not declared in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*)':
format/quartz.m.fcs:166: error: 'Pt' was not declared in this scope
format/quartz.m.fcs:166: error: expected primary-expression before  
'>' token
format/quartz.m.fcs:166: error: 'data2' was not declared in this scope
format/quartz.m.fcs:166: error: there are no arguments to  
'GFView_imageData' that depend on a template parameter, so a  
declaration of 'GFView_imageData' must be available
format/quartz.m.fcs:166: error: (if you use '-fpermissive', G++ will  
accept your code, but allowing the use of an undeclared name is  
deprecated)
format/quartz.m.fcs: In function 'void FormatQuartz_startup(Ruby)':
format/quartz.m.fcs:226: warning: unused variable 'pool'
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = uint8]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = uint8]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = int16]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = int16]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = int32]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = int32]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = int64]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = int64]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = float32]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = float32]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = float64]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = float64]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
format/quartz.m.fcs: In member function 'void FormatQuartz::grin_0 
(GridInlet*, long int, T*) [with T = ruby]':
format/quartz.m.fcs:155:   instantiated from 'static void  
FormatQuartz::grinw_0(GridInlet*, long int, T*) [with T = ruby]'
format/quartz.m.fcs:238:   instantiated from here
format/quartz.m.fcs:166: error: 'GFView_imageData' was not declared  
in this scope
make: *** [format/quartz.o] Error 1

...I may go ahead and re-configure with "--no-quartz", but it'd be  
nice to have this option...

jamie



More information about the Gridflow-dev mailing list