Menu

#5 fail to make TestFramework (RH9, gandalf 1.3.2)

open
nobody
5
2004-05-16
2004-05-16
Anonymous
No

I'm on RH9. The first make succeeds, but
cd TestFramework; make

fails complaining about

gcc -I../.. -g -O2 -Wall cUnit.c path_builder.c
list_test.o common_test.o linalg_test.o
matrixf_eigen_test.o image_test.o bitmap_test.o
vision_test.o camera_test.o hough_transform_test.o -o
.libs/cUnit -L/usr/local/lib -L/usr/X11R6/lib
../.libs/libgandalf.so -lpng -lz /usr/lib/libjpeg.so
-ltiff -lglut -lGLU -lGL -lXmu -lXi -lX11 -lpthread -lm
-Wl,--rpath -Wl,/usr/local/lib
../../gandalf/image/bitmap_test.h:37: warning:
`img_string' defined but not used/usr/bin/ld: cannot
find -lglut
collect2: ld returned 1 exit status
make: *** [test] Error 1

though, I think I have libglut

[enrico@segre-pc gandalf]# locate libglut
/usr/lib/libglut.so.3
/usr/lib/libglut.so.3.7
/usr/src/glut-3.7/lib/glut/libglut.a

I can nevertheless run make install afterwards, but
probably the installation is not sane. The buildof
Animal, which is my goal, fails since configure doesn't
find gandalf.

What can I do?

Thanks,
Enrico Segre

Discussion

  • Enrico SEGRE

    Enrico SEGRE - 2004-05-17

    Logged In: YES
    user_id=1043063

    here is my full id

     
  • Philip McLauchlan

    Logged In: YES
    user_id=363935

    Hello Enrico,

    sorry for not replying sooner. It looks like glut is not
    installed properly on your system, because there is no
    libglut.so. On my Enterprise Linux system, when I type
    "locate libglut" I get

    /usr/lib/libglut.so.3
    /usr/lib/libglut.so.3.7
    /usr/lib/libglut.so

    On the other hand, the Gandalf configure script clearly
    found GLUT, so I'm not so sure...

    You should look at the config.log file produced by the
    Animal configure script to see why it fails to find Gandalf.

    Phil

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.