[MINC-users] compilation on fedora

Andrew Janke a.janke at gmail.com
Mon Jun 26 01:49:01 EDT 2006


Hi Soren,

Amusingly enough I came across this same problem with a machine or two
in Stockholm just last week... In my case the solution was to get and
compile a version of GLUT as opposed to using the system version.  I
canna remember the version that I used though.. :(  Suffice to say, no
RPM that I could find (via rpmfind/etc) seemed to work.


a

On 6/26/06, Soren Christensen <sorench at gmail.com> wrote:
> Dear MINc users,
>  I was wondering if anybody had experience with compiling the MINC
> tools under Fedora 5.
> I previously posted a problem with the CLK_TCK macro that could not be
> found by the linker. I found a solution to that on:
> http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_19.html
> In case other people experience the same problem.
> However, now I am stuck with compilation of Display (MINC, NETCDF and
> BICPL seem to work).
> The error below arises when running make (for Display).
> Could anyone see where the problem is - I guess it has something to do
> with GLUT but i am not excatly sure how to narrow it down further.
>
> Thanks and best regards
> Soren
>
> .....
> gcc -g -O2 -o Display dummy.o main/main.o main/display.o
> main/event_loop.o main/graphics.o main/three_d.o main/transforms.o
> atlas/atlas.o input_files/input_files.o input_files/volume_file.o
> callbacks/atlas.o callbacks/call_globals.o callbacks/colour_coding.o
> callbacks/file.o callbacks/line_ops.o callbacks/object_ops.o
> callbacks/marker_ops.o callbacks/polygon_ops.o callbacks/quit.o
> callbacks/regions.o callbacks/render_ops.o callbacks/segmenting.o
> callbacks/surf_segmenting.o callbacks/surface_curves.o
> callbacks/surface_extract.o callbacks/view_ops.o
> callbacks/volume_ops.o callbacks/volume_transform_ops.o
> current_obj/current_obj.o edit_surface/connected.o edit_surface/edit.o
> edit_surface/segment.o images/images.o markers/markers.o
> surface_extraction/boundary_extraction.o
> surface_extraction/data_structs.o surface_extraction/init_surface.o
> surface_extraction/extract.o surface_extraction/surface.o
> surface_extraction/surface_events.o voxel_scan/scan_objects.o
> events/change_markers.o events/clip_plane.o events/film_loop.o
> events/magnify.o events/mouse.o events/mouse_trans.o
> events/pick_object.o events/pick_view.o events/rotate_slice.o
> events/spaceball.o events/virt_sb.o events/window_man.o
> events/utilities.o immediate_mode/draw_immed.o
> intersect/ray_polygons.o intersect/plane_polygons.o cursor/cursor.o
> cursor/cursor_icon.o menu/build_menu.o menu/cursor_pos.o menu/menu.o
> menu/input_menu.o menu/selected.o menu/text.o
> cursor_contours/contours.o segmenting/cut_neighbours.o
> segmenting/painting.o segmenting/segmenting.o
> segmenting/segment_polygons.o slice_window/colour_bar.o
> slice_window/colour_coding.o slice_window/crop.o
> slice_window/draw_slice.o slice_window/histogram.o
> slice_window/pick_angle.o slice_window/quadmesh.o slice_window/slice.o
> slice_window/slice_3d.o slice_window/slice_events.o
> slice_window/undo.o slice_window/view.o surface_curves/closest_line.o
> surface_curves/events.o surface_curves/edge_distance.o
> tubes/convert_lines.o structures/action_table.o structures/fit_view.o
> structures/lights.o structures/render.o structures/view.o
> structures/window.o  Graphics/libbicgl.a -lGLU -lGL -lbicpl
> -lvolume_io -lminc -lnetcdf -lm
> slice_window/crop.o: In function `crop_and_load_volume':
> /root/download/Display-1.4.1/slice_window/crop.c:165: warning: the use
> of `tmpnam' is dangerous, better use `mkstemp'
> Graphics/libbicgl.a(glut_windows.o): In function `lookup_font':
> /root/download/Display-1.4.1/Graphics/GLUT_windows/glut_windows.c:692:
> undefined reference to `glutBitmap8By13'
> Graphics/libbicgl.a(glut_windows.o): In function `WS_add_idle_function':
> /root/download/Display-1.4.1/Graphics/GLUT_windows/glut_windows.c:1151:
> undefined reference to `glutIdleFunc'
> Graphics/libbicgl.a(glut_windows.o): In function `flip_screen_y':
> /root/download/Display-1.4.1/Graphics/GLUT_windows/glut_windows.c:919:
> undefined reference to `glutGet'
> Graphics/libbicgl.a(glut_windows.o): In function `flip_window_y':
> /root/download/Display-1.4.1/Graphics/GLUT_windows/glut_windows.c:913:
> undefined reference to `glutGet'
> Graphics/libbicgl.a(glut_windows.o): In function `WS_get_screen_size':.......
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


-- 
Andrew Janke   (a.janke at gmail.com || http://a.janke.googlepages.com/)
Canada->Montreal                                   Cell: +1 (514) 924 2012


More information about the MINC-users mailing list