jhzh / ehci

Automatically exported from code.google.com/p/ehci
0 stars 0 forks source link

ehci installation -- make problem in ubuntu #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. after ./configure run successfully make is showing errors 
2. errors 
3.

What is the expected output? What do you see instead?

I GET THIS ERROR AFTER MAKE WHILE INSTALLING EHCI 0.6

saurabh@saurabh-Aspire-5740:~/Desktop/ehci-0.6$ make
make  all-recursive
make[1]: Entering directory `/home/saurabh/Desktop/ehci-0.6'
Making all in lib
make[2]: Entering directory `/home/saurabh/Desktop/ehci-0.6/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/saurabh/Desktop/ehci-0.6/lib'
Making all in samples
make[2]: Entering directory `/home/saurabh/Desktop/ehci-0.6/samples'
Making all in data
make[3]: Entering directory `/home/saurabh/Desktop/ehci-0.6/samples/data'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/saurabh/Desktop/ehci-0.6/samples/data'
make[3]: Entering directory `/home/saurabh/Desktop/ehci-0.6/samples'
/bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O2 -lGL  -lm  
-L/usr/local/lib -lcv -lhighgui -lcvaux -lml -lcxcore   -lglut  -o 6dofhand 
6dofhand.o ../lib/libehci.la 
g++ -g -O2 -o .libs/6dofhand 6dofhand.o  -lGL -lm -L/usr/local/lib 
/usr/local/lib/libhighgui.so /usr/lib/libgtk-x11-2.0.so 
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so 
/usr/lib/libpangoft2-1.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libcairo.so 
/usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig -lgdk_pixbuf-2.0 
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
/usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -lpng12 
/usr/local/lib/libcvaux.so /usr/local/lib/libcv.so /usr/local/lib/libml.so 
/usr/local/lib/libcxcore.so -lrt -lz -lpthread -ldl -lglut 
../lib/.libs/libehci.so 
6dofhand.o: In function `InitGL(int, int)':
/home/saurabh/Desktop/ehci-0.6/samples/6dofhand.cpp:578: undefined reference to 
`gluPerspective'
6dofhand.o: In function `ReSizeGLScene(int, int)':
/home/saurabh/Desktop/ehci-0.6/samples/6dofhand.cpp:482: undefined reference to 
`gluPerspective'
6dofhand.o: In function `DrawGLScene()':
/home/saurabh/Desktop/ehci-0.6/samples/6dofhand.cpp:436: undefined reference to 
`gluLookAt'
collect2: ld returned 1 exit status
make[3]: *** [6dofhand] Error 1
make[3]: Leaving directory `/home/saurabh/Desktop/ehci-0.6/samples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/saurabh/Desktop/ehci-0.6/samples'
make[1]: *** [all-recursive] Error 1

What version of the product are you using? On what operating system?
UBUNTU 10.1

Please provide any additional information below.

I have tried other Opengl programs with gluperspective and they are running 
fine. 
I didnt have a problem with ./configure.
Please help me 

Original issue reported on code.google.com by srbhchan...@gmail.com on 23 Mar 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Hey, saurabh how are you?
From your make line, it seems you are missing the lglu linker flag. Check your 
linker, there's only glu for this sharing.

Original comment by danielba...@gmail.com on 24 Mar 2011 at 2:01

GoogleCodeExporter commented 9 years ago
hi..thanks for the reply. I installed the library. 

I am new to this. I wanted to know how I could compile my own programs using 
the ehci library or how I could compile individually the sample programs like 
6dofhead...

Original comment by srbhchan...@gmail.com on 24 Mar 2011 at 5:31

GoogleCodeExporter commented 9 years ago
It's the same idea. Check what the makefiles print to the screen when running 
make on the samples. It should include and link opencv files and, besides that, 
link ehci. If I am not mistaken, it's -lehci
Best regards,
Daniel

Original comment by danielba...@gmail.com on 25 Mar 2011 at 12:46

GoogleCodeExporter commented 9 years ago
thanks for the reply. you have been very helpful

Original comment by srbhchan...@gmail.com on 25 Mar 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Great, I'll mark this as solved =)
Best regards,
Daniel

Original comment by danielba...@gmail.com on 25 Mar 2011 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by danielba...@gmail.com on 25 Mar 2011 at 6:32

GoogleCodeExporter commented 9 years ago
I can't find a library that provides the lglu linker . I have lglut. Attached 
is my make output...

Original comment by stabari...@gmail.com on 14 Nov 2011 at 3:11

Attachments: