[Verse-dev] Compiling verse list-nodes example on Linux

Nigel Stewart nigels at nigels.com
Mon Aug 15 00:28:03 CEST 2005


 > Fedora Core 4, gcc 4.0.1, verse-r5p0.zip

I'm getting the feeling I need to be
tracking CVS...  Or, am I missing something
blindingly obvious?

http://blender.org/modules/verse/tutorial.c

$ gcc -Wall examples/tutorial.c -I./ -L./ -lverse
examples/tutorial.c: In function 'callback_send_accept_connect_create':
examples/tutorial.c:30: warning: implicit declaration of function 
'verse_send_node_list'
examples/tutorial.c: In function 'callback_send_node_create_create':
examples/tutorial.c:45: warning: implicit declaration of function 
'verse_send_o_set_light'
examples/tutorial.c:52: error: 'VN_G_LAYER_POLYGON_CORNER_REAL64' 
undeclared (first use in this function)
examples/tutorial.c:52: error: (Each undeclared identifier is reported 
only once
examples/tutorial.c:52: error: for each function it appears in.)
examples/tutorial.c:55: error: 'VN_G_LAYER_VERTEX_REAL64' undeclared 
(first use in this function)
examples/tutorial.c:59: warning: implicit declaration of function 
'verse_send_g_vertex_set_real64_xyz'
examples/tutorial.c:63: warning: implicit declaration of function 
'verse_send_g_polygon_set_corner_uinteger32'
examples/tutorial.c:77: error: 'struct <anonymous>' has no member named 
'type'
examples/tutorial.c:78: error: 'struct <anonymous>' has no member named 
'type'
examples/tutorial.c:119: warning: implicit declaration of function 
'verse_send_b_init_dimensions'
examples/tutorial.c:131: warning: implicit declaration of function 
'verse_send_b_layer_set_tile'
examples/tutorial.c: In function 'callback_send_node_create_listen':
examples/tutorial.c:171: error: 'V_NT_PARTICLE' undeclared (first use in 
this function)
examples/tutorial.c: At top level:
examples/tutorial.c:182: warning: return type of 'main' is not 'int'
examples/tutorial.c: In function 'main':
examples/tutorial.c:187: error: 'verse_send_accept_connect' undeclared 
(first use in this function)
examples/tutorial.c:195: error: too few arguments to function 
'verse_send_connect'


More information about the Verse-dev mailing list