Compile Issues on IA64 Suse Linux Machine

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile Issues on IA64 Suse Linux Machine

Brandon James (Contractor)
HI,

I am currently have a problem compiling player locally on a large IA64
Suse machie. I has ensured that I set all the export flags to my home
directory and LD_LIBRARY_PATH to where opencv is at. However I continue
to get this compilation error.

Can someone help me out with this?

if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../server  -Wall
-I../../../../server   -g -O2 -MT upcbarcode.o -MD -MP -MF
".deps/upcbarcode.Tpo" -c -o upcbarcode.o upcbarcode.cc; \
then mv -f ".deps/upcbarcode.Tpo" ".deps/upcbarcode.Po"; else rm -f
".deps/upcbarcode.Tpo"; exit 1; fi
upcbarcode.cc:116:23: opencv/cv.h: No such file or directory
upcbarcode.cc:117:28: opencv/highgui.h: No such file or directory
upcbarcode.cc:193: error: syntax error before `*' token
upcbarcode.cc:194: error: syntax error before `*' token
upcbarcode.cc:195: error: syntax error before `[' token
upcbarcode.cc: In constructor `UPCBarcode::UPCBarcode(ConfigFile*, int)':
upcbarcode.cc:266: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:267: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc: In member function `virtual int UPCBarcode::Shutdown()':
upcbarcode.cc:325: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:326: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:326: error: `cvReleaseImage' undeclared (first use this
function)
upcbarcode.cc:326: error: (Each undeclared identifier is reported only
once for
    each function it appears in.)
upcbarcode.cc:327: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:328: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc: In member function `void UPCBarcode::ProcessImage()':
upcbarcode.cc:439: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:440: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:440: error: `cvSize' undeclared (first use this function)
upcbarcode.cc:440: error: `IPL_DEPTH_8U' undeclared (first use this
function)
upcbarcode.cc:440: error: `cvCreateImage' undeclared (first use this
function)
upcbarcode.cc:448: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:449: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:449: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:460: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:462: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:463: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:463: error: 'class UPCBarcode' has no member named
'outSubImages'
upcbarcode.cc:463: error: `cvRect' undeclared (first use this function)
upcbarcode.cc:463: error: `cvGetSubRect' undeclared (first use this
function)
upcbarcode.cc:464: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:464: error: 'class UPCBarcode' has no member named
'outSubImages'
upcbarcode.cc:470: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:470: error: `cvSetZero' undeclared (first use this function)
upcbarcode.cc:471: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:471: error: 'class UPCBarcode' has no member named
'outSubImages'
upcbarcode.cc:471: error: `cvCopy' undeclared (first use this function)
upcbarcode.cc: In member function `int UPCBarcode::ExtractSymbols(int,
int, int
    (*)[2])':
upcbarcode.cc:542: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:544: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:550: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:556: error: 'class UPCBarcode' has no member named 'inpImage'
upcbarcode.cc:556: error: `cvPtr2D' undeclared (first use this function)
upcbarcode.cc:597: error: 'class UPCBarcode' has no member named
'outSubImages'
upcbarcode.cc: In member function `void UPCBarcode::WriteCameraData()':
upcbarcode.cc:780: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:784: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:784: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:785: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:785: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:789: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:789: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:792: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:792: error: 'class UPCBarcode' has no member named 'outImage'
upcbarcode.cc:796: error: 'class UPCBarcode' has no member named 'outImage'
make[7]: *** [upcbarcode.o] Error 1


Thanks,
Brandon


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Issues on IA64 Suse Linux Machine

Toby Collett
Hi,
Either opencv is not installed or not being found, some versions of
opencv have different headers layouts etc depends on distribution as
well so check the files exist (/usr/include/opencv/cv.h etc)

Alternatively if you dont need upcbarcode then just configure player
with --disable-upcbarcode

Toby

Brandon James (Contractor) wrote:

> HI,
>
> I am currently have a problem compiling player locally on a large IA64
> Suse machie. I has ensured that I set all the export flags to my home
> directory and LD_LIBRARY_PATH to where opencv is at. However I
> continue to get this compilation error.
>
> Can someone help me out with this?
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../server  
> -Wall -I../../../../server   -g -O2 -MT upcbarcode.o -MD -MP -MF
> ".deps/upcbarcode.Tpo" -c -o upcbarcode.o upcbarcode.cc; \
> then mv -f ".deps/upcbarcode.Tpo" ".deps/upcbarcode.Po"; else rm -f
> ".deps/upcbarcode.Tpo"; exit 1; fi
> upcbarcode.cc:116:23: opencv/cv.h: No such file or directory
> upcbarcode.cc:117:28: opencv/highgui.h: No such file or directory
> upcbarcode.cc:193: error: syntax error before `*' token
> upcbarcode.cc:194: error: syntax error before `*' token
> upcbarcode.cc:195: error: syntax error before `[' token
> upcbarcode.cc: In constructor `UPCBarcode::UPCBarcode(ConfigFile*, int)':
> upcbarcode.cc:266: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:267: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc: In member function `virtual int UPCBarcode::Shutdown()':
> upcbarcode.cc:325: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:326: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:326: error: `cvReleaseImage' undeclared (first use this
> function)
> upcbarcode.cc:326: error: (Each undeclared identifier is reported only
> once for
>    each function it appears in.)
> upcbarcode.cc:327: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:328: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc: In member function `void UPCBarcode::ProcessImage()':
> upcbarcode.cc:439: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:440: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:440: error: `cvSize' undeclared (first use this function)
> upcbarcode.cc:440: error: `IPL_DEPTH_8U' undeclared (first use this
> function)
> upcbarcode.cc:440: error: `cvCreateImage' undeclared (first use this
> function)
> upcbarcode.cc:448: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:449: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:449: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:460: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:462: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:463: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:463: error: 'class UPCBarcode' has no member named
> 'outSubImages'
> upcbarcode.cc:463: error: `cvRect' undeclared (first use this function)
> upcbarcode.cc:463: error: `cvGetSubRect' undeclared (first use this
> function)
> upcbarcode.cc:464: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:464: error: 'class UPCBarcode' has no member named
> 'outSubImages'
> upcbarcode.cc:470: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:470: error: `cvSetZero' undeclared (first use this
> function)
> upcbarcode.cc:471: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:471: error: 'class UPCBarcode' has no member named
> 'outSubImages'
> upcbarcode.cc:471: error: `cvCopy' undeclared (first use this function)
> upcbarcode.cc: In member function `int UPCBarcode::ExtractSymbols(int,
> int, int
>    (*)[2])':
> upcbarcode.cc:542: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:544: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:550: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:556: error: 'class UPCBarcode' has no member named
> 'inpImage'
> upcbarcode.cc:556: error: `cvPtr2D' undeclared (first use this function)
> upcbarcode.cc:597: error: 'class UPCBarcode' has no member named
> 'outSubImages'
> upcbarcode.cc: In member function `void UPCBarcode::WriteCameraData()':
> upcbarcode.cc:780: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:784: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:784: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:785: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:785: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:789: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:789: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:792: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:792: error: 'class UPCBarcode' has no member named
> 'outImage'
> upcbarcode.cc:796: error: 'class UPCBarcode' has no member named
> 'outImage'
> make[7]: *** [upcbarcode.o] Error 1
>
>
> Thanks,
> Brandon
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Playerstage-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Issues on IA64 Suse Linux Machine

Lovekesh Vig
In reply to this post by Brandon James (Contractor)
Hi,
   I was having trouble obtaining color information about a detected blob. The 32 bit blob.color value is always zero even though color blobs are being detected. Has anyone else faced his problem before? I am utilising the acts driver to track the blobs.
                                                        Lovekesh
Reply | Threaded
Open this post in threaded view
|

Re: Compile Issues on IA64 Suse Linux Machine

Heeten Choxi
We ran into this problem.  It was due to missing a field in the color
file, which was also missing from the example file I was using.  Adding
a 0 before the last field fixed the problem for us.

Here's an example color file:
[Colors]
(255,255,  0) 0.000000 0 UGV_TARGET
(255,105,  0) 0.000000 0 UGV
(255,  0,255) 0.000000 0 UAV_TARGET
 
 
[Thresholds]
(100:225,  0:115,114:148)
( 74:140,  47:86,182:220)
( 67:105,181:212,196:234)

--
Heeten Choxi                            | Phone: (856) 792-9706
Co-Op                                   | Fax: (856) 792-9948
Lockheed Martin Advanced Technology Laboratories
3 Executive Campus, Cherry Hill, NJ  08002


Lovekesh Vig wrote:

> **Hi,
>I was having trouble obtaining color information about a detected blob. The
>32 bit blob.color value is always zero even though color blobs are being
>detected. Has anyone else faced his problem before? I am utilising the acts
>driver to track the blobs.
>Lovekesh
>
>  
>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users