Sharif,

Please keep this on the list.  It improves the chance that someone will be able to help you when you when I am unable to do so and allows for any answers to be archived.

The first error I am not sure of.  It looks like you may have to clean out your build directory and do a complete recompile, but I'm not completely confident that will solve the problem.  The second group of errors are because you didn't specify the OpenGL include directory correctly when you ran cmake.  For the Mac, I had to specify OPENGL_INCLUDE_DIR to be "/usr/X11R6/include".  Note that I am running vxl as a component of a larger system and using X11 instead of cocoa or carbon, so this may not be applicable to your problem.

- Wes

On 3/12/08, j2032601 <s.jaghman@qub.ac.uk> wrote:
Thank you very Wes.

I managed to change them to the "-fno-common" but now I have a new error.

When I build ( make -k install) this is the error I got.

make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.

Any ideas please?  Please see below for more details.


Thank you very very much indeed for your help.

Sharif

p.s. I am trying to install vxl 1.8.0

--------------------------------------------------------------
cssjag01:~/desktop/vxl sjaghman$ make -k install
[  0%] Built target vcl
[  0%] Built target vcl_test_all
[  0%] Built target vcl_test_include
[  0%] Built target netlib
[  8%] Built target v3p_netlib
[  8%] Built target mpeg2
[  8%] Built target vo
[  8%] Built target netlib_integral_test
[  8%] Built target netlib_lbfgs_example
[  8%] Built target netlib_lsqr_test
[  8%] Built target netlib_slamch_test
[  8%] Built target netlib_tricall
[  8%] Built target netlib_showme
[  8%] Built target testlib
[  8%] Built target vpl
[  9%] Built target vul
[ 10%] Built target vbl
[ 16%] Built target vnl
[ 18%] Built target vgl
[ 23%] Built target vil
[ 25%] Built target vnl_algo
[ 27%] Built target vil_algo
[ 30%] Built target vil1
Linking CXX shared library ../../lib/libvsl.dylib
ld: multiple definitions of symbol __Z10vsl_b_readIjEvR13vsl_b_istreamRSt6vectorIT_SaIS3_EE
CMakeFiles/vsl.dir/Templates/vsl_vector_io+uint-.o definition of __Z10vsl_b_readIjEvR13vsl_b_istreamRSt6vectorIT_SaIS3_EE in section (__TEXT,__text)
CMakeFiles/vsl.dir/Templates/vsl_vector_io+unsigned-.o definition of __Z10vsl_b_readIjEvR13vsl_b_istreamRSt6vectorIT_SaIS3_EE in section (__TEXT,__text)
ld: multiple definitions of symbol __Z11vsl_b_writeIjEvR13vsl_b_ostreamRKSt6vectorIT_SaIS3_EE
CMakeFiles/vsl.dir/Templates/vsl_vector_io+uint-.o definition of __Z11vsl_b_writeIjEvR13vsl_b_ostreamRKSt6vectorIT_SaIS3_EE in section (__TEXT,__text)
CMakeFiles/vsl.dir/Templates/vsl_vector_io+unsigned-.o definition of __Z11vsl_b_writeIjEvR13vsl_b_ostreamRKSt6vectorIT_SaIS3_EE in section (__TEXT,__text)
ld: multiple definitions of symbol __Z17vsl_print_summaryIjEvRSoRKSt6vectorIT_SaIS2_EE
CMakeFiles/vsl.dir/Templates/vsl_vector_io+uint-.o definition of __Z17vsl_print_summaryIjEvRSoRKSt6vectorIT_SaIS2_EE in section (__TEXT,__text)
CMakeFiles/vsl.dir/Templates/vsl_vector_io+unsigned-.o definition of __Z17vsl_print_summaryIjEvRSoRKSt6vectorIT_SaIS2_EE in section (__TEXT,__text)

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed

make[2]: *** [lib/libvsl.dylib] Error 1
make[2]: Target `core/vsl/CMakeFiles/vsl.dir/build' not remade because of errors.
make[1]: *** [core/vsl/CMakeFiles/vsl.dir/all] Error 2
[ 32%] Built target vcsl
[ 32%] Built target example_create_image_vil
[ 32%] Built target core_test_all
[ 32%] Built target vxl_echo
[ 33%] Built target vidl
[ 33%] Built target vidl_vil1
[ 33%] Built target testlib_test_all
[ 33%] Built target testlib_test_include
[ 33%] Built target testlib_test_link
[ 33%] Built target vpl_test_all
[ 33%] Built target vpl_test_include
[ 33%] Built target expand_path
[ 33%] Built target vul_psfile_example
[ 33%] Built target vul_sequence_filename_example
[ 33%] Built target vul_test_debug
[ 34%] Built target vul_test_driver
[ 34%] Built target vul_test_include
[ 34%] Built target vbl_example_templates
[ 34%] Built target vbl_smart_ptr_example
[ 34%] Built target vbl_test_all
[ 34%] Built target vbl_test_include
[ 34%] Built target vnl_basic_operation_timings
[ 35%] Built target vnl_test_all
[ 35%] Built target vnl_test_include
[ 35%] Built target time_fastops
[ 35%] Built target vnl_amoeba
[ 35%] Built target vnl_complex_svd
[ 35%] Built target vnl_lsqr_test
[ 35%] Built target vnl_planefit
[ 35%] Built target vnl_polyroots
[ 35%] Built target vnl_rosenbrock
[ 35%] Built target vnl_svd
[ 35%] Built target vnl_svd_economy
[ 36%] Built target vnl_algo_test_all
[ 36%] Built target vnl_algo_test_include
[ 37%] Built target vgl_algo
[ 37%] Built target vgl_conic_example
[ 38%] Built target vgl_test_all
[ 38%] Built target vgl_test_include
[ 38%] Built target vil_color_tables
[ 38%] Built target vil_example1
[ 38%] Built target vil_example2
[ 38%] Built target vil_example3
[ 38%] Built target vil_example4
[ 38%] Built target vil_example5
[ 38%] Built target vil_example6
[ 38%] Built target vil_example_interpolate
[ 38%] Built target vil_file_example1
[ 38%] Built target vil_file_example2
[ 38%] Built target vil_file_example3
[ 38%] Built target vil_file_example4
[ 38%] Built target vil_file_example5
[ 38%] Built target vil_image_convert
[ 38%] Built target vil_image_copy
[ 38%] Built target vil_resample_image
[ 38%] Built target vil_rotate_image
[ 39%] Built target vil_test_all
[ 39%] Built target vil_test_include
[ 39%] Built target vil_algo_example1
[ 39%] Built target vil_algo_example2
[ 39%] Built target vil_convolve_tool
[ 39%] Built target vil_correlate_grad_tool
[ 39%] Built target vil_example_complex
[ 39%] Built target vil_exp_grad_filter_tool
[ 40%] Built target vil_algo_test_all
[ 40%] Built target vil_algo_test_include
[ 40%] Built target vil1_clamp_example
[ 40%] Built target vil1_convert
[ 40%] Built target vil1_convolve
[ 40%] Built target vil1_convolve_1d
[ 40%] Built target vil1_crop
[ 40%] Built target vil1_flipud
[ 40%] Built target vil1_info
[ 40%] Built target vil1_print_section
[ 40%] Built target vil1_rgb_example
[ 41%] Built target vil1_scale
[ 41%] Built target vil1_scale_intensities_example
[ 41%] Built target vil1_test_all
[ 41%] Built target vil1_test_include
[ 41%] Built target vcsl_example1
[ 41%] Built target vcsl_tutor
[ 42%] Built target vcsl_test_all
[ 42%] Built target vcsl_test_include
[ 42%] Built target vnl_calc
[ 42%] Built target vidl_test_all
[ 42%] Built target vidl_test_include
[ 42%] Built target vidl_mpegcodec_example
[ 42%] Built target vidl_video2images
[ 42%] Built target vidl_vil1_test_all
[ 42%] Built target vidl_vil1_test_include
[ 42%] Built target vidl_vil1_mpegcodec_example
[ 42%] Built target vidl_vil1_video2images
[ 42%] Built target bsta
[ 44%] Built target mvl
[ 44%] Built target vgel_kl
[ 45%] Built target rsdl
[ 45%] Built target mvl2
[ 45%] Built target rrel
[ 45%] Built target homography2d_fit
[ 45%] Built target homography2d_gen
[ 45%] Built target line_fit
[ 45%] Built target line_gen
[ 45%] Built target rrel_test_all
[ 46%] Built target rrel_test_include
[ 46%] Built target rsdl_test_all
[ 46%] Built target rsdl_test_include
[ 46%] Built target estimate_normals_3d
[ 50%] Built target vipl
[ 51%] Built target vepl
[ 51%] Built target vepl2
[ 52%] Built target vipl_example1_threshold
[ 52%] Built target vipl_example2_threshold
[ 52%] Built target vipl_example3_threshold
[ 52%] Built target vipl_example4_threshold
[ 52%] Built target vipl_example_add_random_noise
[ 52%] Built target vipl_example_convert
[ 52%] Built target vipl_example_dilate_disk
[ 52%] Built target vipl_example_erode_disk
[ 52%] Built target vipl_example_gaussian_convolution
[ 52%] Built target vipl_example_gradient_mag
[ 52%] Built target vipl_example_histogram
[ 52%] Built target vipl_example_histogram2
[ 52%] Built target vipl_example_median
[ 52%] Built target vipl_example_sobel
[ 52%] Built target vipl_example_std_dev
[ 52%] Built target vipl_example_x_gradient
[ 52%] Built target vipl_test_all
[ 52%] Built target vipl_test_include
[ 52%] Built target vepl_example1_threshold
[ 52%] Built target vepl_example2_threshold
[ 52%] Built target vepl_example3_threshold
[ 52%] Built target vepl_example4_threshold
[ 52%] Built target vepl_example_add_random_noise
[ 52%] Built target vepl_example_convert
[ 52%] Built target vepl_example_dilate_disk
[ 52%] Built target vepl_example_erode_disk
[ 52%] Built target vepl_example_gradient_mag
[ 52%] Built target vepl_example_histogram
[ 52%] Built target vepl_example_median
[ 52%] Built target vepl_example_sobel
[ 52%] Built target vepl_example_std_dev
[ 52%] Built target vepl_example_x_gradient
[ 53%] Built target vepl_test_all
[ 53%] Built target vepl_test_include
[ 53%] Built target vepl2_example1_threshold
[ 53%] Built target vepl2_example2_threshold
[ 53%] Built target vepl2_example3_threshold
[ 53%] Built target vepl2_example4_threshold
[ 53%] Built target vepl2_example_add_random_noise
[ 53%] Built target vepl2_example_convert
[ 53%] Built target vepl2_example_dilate_disk
[ 53%] Built target vepl2_example_erode_disk
[ 53%] Built target vepl2_example_gradient_mag
[ 53%] Built target vepl2_example_histogram
[ 53%] Built target vepl2_example_median
[ 53%] Built target vepl2_example_sobel
[ 53%] Built target vepl2_example_std_dev
[ 53%] Built target vepl2_example_x_gradient
[ 53%] Built target vepl2_test_all
[ 53%] Built target vepl2_test_include
[ 53%] Built target ouel
[ 54%] Built target oxp
[ 54%] Built target vrml
[ 55%] Built target osl
[ 55%] Built target PMatrixDecompCR_example
[ 55%] Built target compute_FMatrix_example
[ 55%] Built target mvl_multi_view_matches_example
[ 55%] Built target break_lines
[ 55%] Built target fit_lines
[ 55%] Built target run_osl_canny
[ 55%] Built target run_osl_harris
[ 55%] Built target topology_edges
[ 55%] Built target osl_test_include
[ 55%] Building CXX object contrib/oxl/apps/glmovie/CMakeFiles/glmovie.dir/glmovie.o
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:46:21: error: GL/glut.h: No such file or directory
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:58: error: 'GLUT_NORMAL' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:59: error: 'GLUT_OVERLAY' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void overlayDisplay()':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:68: error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:68: error: 'glClear' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:69: error: 'glCallList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:71: error: 'glFlush' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void glmovie_outp(void*, float, float, const char*)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:104: error: 'glRasterPos2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:106: error: 'glutBitmapCharacter' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void glmovie_outp(float, float, const char*)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:111: error: 'GLUT_BITMAP_HELVETICA_18' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void init()':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:118: error: 'GL_POINT_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:118: error: 'glEnable' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:119: error: 'GL_POINT_SMOOTH_HINT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:119: error: 'GL_NICEST' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:119: error: 'glHint' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:121: error: 'GL_LINE_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:122: error: 'GL_LINE_SMOOTH_HINT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:125: error: 'GL_BLEND' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:126: error: 'GL_SRC_ALPHA' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:126: error: 'GL_ONE_MINUS_SRC_ALPHA' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:126: error: 'glBlendFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:129: error: 'glLineWidth' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:130: error: 'glPointSize' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:132: error: 'GL_FLAT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:132: error: 'glShadeModel' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:133: error: 'glClearColor' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:134: error: 'GL_LESS' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:134: error: 'glDepthFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:135: error: 'GL_DEPTH_TEST' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:139: error: 'GL_POINT_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:139: error: 'glDisable' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:140: error: 'GL_LINE_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:141: error: 'GL_BLEND' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:143: error: 'glPointSize' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:144: error: 'glLineWidth' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:146: error: 'GL_DEPTH_TEST' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:146: error: 'glDisable' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:147: error: 'GL_LIGHTING' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:148: error: 'glDepthRange' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::point(const char*, float, float)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:154: error: 'GL_POINTS' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:154: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:155: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:156: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:159: error: 'GL_LINES' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:159: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:160: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:164: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::polyline(const float*, const float*, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:170: error: 'GL_LINE_STRIP' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:170: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:172: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:173: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::text(float, float, const char*)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:179: error: 'GLUT_BITMAP_HELVETICA_10' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::set_color(float, float, float)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:184: error: 'glColor3f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::set_point_radius(float)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:189: error: 'glPointSize' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool GXFileVisitor_OpenGL::set_line_width(float)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:194: error: 'glLineWidth' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'bool drawframe(int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:212: error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:212: error: 'glClear' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:218: error: 'glPixelZoom' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:219: error: 'GL_UNPACK_ALIGNMENT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:219: error: 'glPixelStorei' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:220: error: 'GL_UNPACK_ROW_LENGTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:221: error: 'GL_UNPACK_SKIP_PIXELS' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:222: error: 'GL_UNPACK_SKIP_ROWS' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:253: error: 'glRasterPos2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:257: error: 'GL_LUMINANCE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:257: error: 'GL_UNSIGNED_BYTE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:257: error: 'glDrawPixels' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:261: error: 'GL_RGB' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:261: error: 'GL_UNSIGNED_BYTE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:261: error: 'glDrawPixels' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:267: error: 'GL_MODELVIEW' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:267: error: 'glMatrixMode' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:268: error: 'glPushMatrix' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:269: error: 'glTranslatef' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:271: error: 'glScalef' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:274: error: 'glIsList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:275: error: 'glCallList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:278: error: 'GL_COMPILE_AND_EXECUTE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:278: error: 'glNewList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:282: error: 'glEndList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:284: error: 'glPopMatrix' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:296: error: 'GL_RGB' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:296: error: 'GL_UNSIGNED_BYTE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:296: error: 'glReadPixels' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:309: error: 'glFlush' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:311: error: 'glScissor' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:312: error: 'glColor3f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:327: error: 'glutSwapBuffers' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void reshape(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:346: error: 'GLenum' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:346: error: 'glutUseLayer' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:347: error: 'glViewport' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:349: error: 'GL_PROJECTION' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:349: error: 'glMatrixMode' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:350: error: 'glLoadIdentity' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:351: error: 'glOrtho' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:352: error: 'glScalef' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:353: error: 'glTranslatef' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void idle()':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:386: error: 'glutPostRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void setidle(bool)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:391: error: 'glutIdleFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:393: error: 'glutIdleFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void mouse_callback(int, int, int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:421: error: 'GLUT_DOWN' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:425: error: 'glutGetModifiers' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:441: error: 'GLUT_UP' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool ShuttleCB::want(int, int, int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:467: error: 'GLUT_LEFT_BUTTON' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void ShuttleCB::motion(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:498: error: 'glutPostRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool ZoomCB::want(int, int, int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:511: error: 'GLUT_ACTIVE_SHIFT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void ZoomCB::down(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:519: error: 'GL_COMPILE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:519: error: 'glNewList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:520: error: 'glIndexi' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:521: error: 'GL_LINES' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:521: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:522: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:524: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:525: error: 'glEndList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:528: error: 'glutShowOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:529: error: 'GLUT_CURSOR_CROSSHAIR' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:529: error: 'glutSetCursor' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void ZoomCB::motion(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:532: error: 'GLUT_LEFT_BUTTON' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:547: error: 'GLUT_MIDDLE_BUTTON' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:552: error: 'glutPostRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:558: error: 'GL_COMPILE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:558: error: 'glNewList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:559: error: 'glIndexi' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:560: error: 'GL_LINES' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:560: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:561: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:563: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:564: error: 'GL_LINE_LOOP' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:571: error: 'glEndList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:573: error: 'glutPostOverlayRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void ZoomCB::up(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:577: error: 'GLUT_CURSOR_INHERIT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:577: error: 'glutSetCursor' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:578: error: 'glutHideOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual bool DrawCB::want(int, int, int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:586: error: 'GLUT_MIDDLE_BUTTON' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void DrawCB::down(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:602: error: 'GLUT_OVERLAY' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:602: error: 'GLenum' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:602: error: 'glutUseLayer' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:603: error: 'GL_COMPILE_AND_EXECUTE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:603: error: 'glNewList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:604: error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:604: error: 'glClear' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:605: error: 'glEndList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:606: error: 'glutPostOverlayRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:607: error: 'glutShowOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void DrawCB::motion(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:611: error: 'GL_COMPILE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:611: error: 'glNewList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:612: error: 'glIndexi' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:615: error: 'GL_LINES' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:615: error: 'glBegin' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:616: error: 'glVertex2f' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:618: error: 'glEnd' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:646: error: 'GL_LINE_LOOP' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:672: error: 'glEndList' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:674: error: 'glutPostOverlayRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In member function 'virtual void DrawCB::up(int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:685: error: 'glutHideOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void keyboard(unsigned char, int, int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:698: error: 'glDeleteLists' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:749: error: 'glutPostRedisplay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'void visible(int)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:755: error: 'GLUT_VISIBLE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx: In function 'int main(int, char**)':
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:861: error: 'glutInit' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:862: error: 'GLUT_DOUBLE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:862: error: 'GLUT_RGB' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:862: error: 'glutInitDisplayMode' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:864: error: 'glutCreateWindow' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:866: error: 'glutReshapeWindow' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:868: error: 'GLUT_OVERLAY_POSSIBLE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:868: error: 'GLenum' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:868: error: 'glutLayerGet' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:879: error: 'glutReshapeFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:880: error: 'glutDisplayFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:881: error: 'glutKeyboardFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:882: error: 'glutMouseFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:883: error: 'glutMotionFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:884: error: 'glutVisibilityFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:888: error: 'GLUT_INDEX' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:888: error: 'GLUT_SINGLE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:891: error: 'glutEstablishOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:892: error: 'glutHideOverlay' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:893: error: 'glutOverlayDisplayFunc' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:896: error: 'GLUT_TRANSPARENT_INDEX' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:896: error: 'GLenum' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:896: error: 'glutLayerGet' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:897: error: 'GLUT_WINDOW_COLORMAP_SIZE' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:897: error: 'glutGet' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:899: error: 'glutSetColor' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:902: error: 'glClearIndex' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:903: error: 'GL_POINT_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:903: error: 'glDisable' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:904: error: 'GL_LINE_SMOOTH' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:906: error: 'glLineWidth' was not declared in this scope
/Users/sjaghman/desktop/vxl/vxl-1.8.0/contrib/oxl/apps/glmovie/glmovie.cxx:910: error: 'glutMainLoop' was not declared in this scope
make[2]: *** [contrib/oxl/apps/glmovie/CMakeFiles/glmovie.dir/glmovie.o] Error 1
make[2]: Target `contrib/oxl/apps/glmovie/CMakeFiles/glmovie.dir/build' not remade because of errors.
make[1]: *** [contrib/oxl/apps/glmovie/CMakeFiles/glmovie.dir/all] Error 2
[ 55%] Built target vobgetframe
[ 55%] Built target gst
[ 55%] Built target geml
[ 55%] Built target gtrl
[ 55%] Built target octree
[ 55%] Built target vdgl_test_include
[ 56%] Built target triangulate
[ 56%] Built target bvgl
[ 57%] Built target bugl
[ 57%] Built target bnl
[ 57%] Built target bdpg
[ 58%] Built target vidl2
[ 58%] Built target bvgl_test_all
[ 58%] Built target bvgl_test_include
[ 58%] Built target bugl_test_all
[ 58%] Built target bugl_test_include
[ 58%] Built target bnl_algo
[ 58%] Built target bnl_algo_test_legendre
[ 58%] Built target bsta_test_all
[ 58%] Built target bsta_test_include
[ 58%] Built target bdpg_test_all
[ 58%] Built target bdpg_test_include
[ 59%] Built target vidl2_test_all
[ 59%] Built target vidl2_test_include
[ 60%] Built target bcal
[ 60%] Built target bcal_test_all
[ 60%] Built target bcal_test_include
[ 60%] Built target frame_extractor
[ 60%] Built target video_description
[ 61%] Built target vmap
[ 61%] Built target vdtop
[ 61%] Built target vpyr
[ 61%] Built target vmap_test
[ 61%] Built target vmap_test_include
[ 61%] Built target vdtop_kernel_test
[ 61%] Built target vdtop_test_include
[ 61%] Built target vdtop_veinerization_test
[ 61%] Built target vdtop_well_composed_kernel_test
[ 61%] Built target vpyr_example_simple_segmentation
[ 61%] Built target vpyr_test
[ 61%] Built target vpyr_test2
[ 61%] Built target vpyr_test_include
[ 61%] Built target conversions_container_test_all
[ 61%] Built target conversions_container_test_include
[ 61%] Built target conversions_image_test_all
[ 61%] Built target conversions_image_test_include
[ 61%] Built target conversions_math_test_all
[ 61%] Built target conversions_math_test_include
[ 62%] Built target conversions_misc_test_include
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `install' not remade because of errors.

--------------------------------------------------------------------



On 11 Mar 2008, at 16:56, Wes Turner wrote:

Sharif,

I'm cc'ing this back to the VXL list for archival and to offer the possibility of enagaging more of the community.  It looks like you are using CMake, so it should be as simple as running "ccmake ." in your build directory and hitting the "t" key to get access to advanced variables.  At that point you should be able to find the fields CMAKE_C_FLAGS and CMAKE_CXX_FLAGS.  Add "-fno-common" to both of those fields and recompile.  You might need to clean out your binary directory, but I am not certain.  Note that I did not run into this on vxl, but on a different project, so I am not completely confident this is the correct solution.

- Wes

On 3/11/08, Sharif Jaghman <s.jaghman@qub.ac.uk> wrote:
Thank you very much for your reply.

I wonder if you could kindly give me more details. I mean how can I specify the "-fno-common" to your compiler. I have been searching for more than two hours but as I am new to all this I don't understand most of the stuff online.

Are there any detailed online resource or could you please provide me with the instructions on how to do that? I really appreciate your help.

Thanks in advance.

Sharif


On 11 Mar 2008, at 12:40, Wes Turner wrote:

I believe you need to specify the "-fno-common" to your compiler.  You will have to do this for both your C and C++ builds.

- Wes

On 3/10/08, Sharif Jaghman <s.jaghman@qub.ac.uk> wrote:
Hi ALL,

I hope you are keeping well. I just have a quick question.

  Every time when I build it I get this error although I have tried a different releases of vxl i.e. 1.10, 1.8, 1.5. I have set the shared library option to ON because it is a requirement for the installation of another software (openGazer)

Linking C shared library ../../lib/libmpeg2.dylib
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
CMakeFiles/mpeg2.dir/libmpeg2/idct.o definition of common _mpeg2_idct_add (size 16)
CMakeFiles/mpeg2.dir/libmpeg2/idct.o definition of common _mpeg2_idct_copy (size 16)
CMakeFiles/mpeg2.dir/libmpeg2/motion_comp.o definition of common _mpeg2_mc (size 64)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
make[2]: *** [lib/libmpeg2.dylib] Error 1
make[1]: *** [v3p/mpeg2/CMakeFiles/mpeg2.dir/all] Error 2
make: *** [all] Error 2


I really appreciate any help. Any idea why I am getting this error?

How can I manage to install and build vxl in my mac?

Thank you very very much in advance.

Kind regards,
Sharif




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vxl-users mailing list
Vxl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-users




--
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120






--
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120





--
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120