Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Programming & Scripting
Reload this Page cvEyeTracker install errors
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Programming & Scripting C, Perl, PHP, Bash Scripts, anything programming or script related post in here!

Reply
 
Thread Tools Display Modes
Old 06-20-2008   #1 (permalink)
brr077
Just Joined!
 
Join Date: Jun 2008
Posts: 9
cvEyeTracker install errors

Hi,

I'm trying to install cvEyeTracker but I'm getting some strange problems. I was in general help before but after being very informative Segfault concluded something mysterious is going on and suggested that I go to the people who know everything.

"I'm not a programmer, IMO this means the program you are trying to compile has syntax errors, possible is the syntax is changed and the way they wrote it back in 2006 is obsolete now.
Try posting here at Linuxforums Progamming subforum."

Here's my error, pulled from the console:

eyetracker@eyetracker-desktop:~/Documents/cvEyeTracker-1.2.5$ make
g++ -c -O2 cvEyeTracker.c -O2 -I/usr/include/opencv
cvEyeTracker.c: In function ‘void Draw_Cross(IplImage*, int, int, int, int, double)’:
cvEyeTracker.c:660: error: conversion from ‘double’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c:661: error: conversion from ‘double’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c: In function ‘void Show_Calibration_Points()’:
cvEyeTracker.c:668: error: cannot convert ‘CvScalar’ to ‘double’ for argument ‘6’ to ‘void Draw_Cross(IplImage*, int, int, int, int, double)’
cvEyeTracker.c: In function ‘void process_image()’:
cvEyeTracker.c:1023: error: conversion from ‘int’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c:1024: error: conversion from ‘int’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c:1049: error: conversion from ‘int’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c:1050: error: conversion from ‘int’ to non-scalar type ‘CvScalar’ requested
cvEyeTracker.c: In function ‘void Open_GUI()’:
cvEyeTracker.c:1145: error: invalid conversion from ‘void (*)(int, int, int, int)’ to ‘void (*)(int, int, int, int, void*)’
cvEyeTracker.c:1145: error: initializing argument 2 of ‘void cvSetMouseCallback(const char*, void (*)(int, int, int, int, void*), void*)’
cvEyeTracker.c:1146: error: invalid conversion from ‘void (*)(int, int, int, int)’ to ‘void (*)(int, int, int, int, void*)’
cvEyeTracker.c:1146: error: initializing argument 2 of ‘void cvSetMouseCallback(const char*, void (*)(int, int, int, int, void*), void*)’
cvEyeTracker.c:1154: error: cannot convert ‘CvScalar’ to ‘int’ in assignment
cvEyeTracker.c:1155: error: cannot convert ‘CvScalar’ to ‘int’ in assignment
cvEyeTracker.c:1156: error: cannot convert ‘CvScalar’ to ‘int’ in assignment
cvEyeTracker.c:1157: error: cannot convert ‘CvScalar’ to ‘int’ in assignment
cvEyeTracker.c:1158: error: cannot convert ‘CvScalar’ to ‘int’ in assignment
cvEyeTracker.c: In function ‘void Open_Ellipse_Log()’:
cvEyeTracker.c:1210: warning: deprecated conversion from string constant to ‘char*’
make: *** [cvEyeTracker.o] Error 1

Thanks very much
brr077 is offline   Reply With Quote
Old 06-24-2008   #2 (permalink)
brr077
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Does anyone know a resolution to this problem? I'm really hoping to get cveyetracker installed and I'm nearing the end of my luck...
brr077 is offline   Reply With Quote
Old 06-24-2008   #3 (permalink)
wje_lf
Linux Engineer
 
wje_lf's Avatar
 
Join Date: Sep 2007
Location: Mariposa
Posts: 986
Step one: check the installation instructions (I imagine it came with installation instructions) and see whether you followed everything to the letter.

Step two (only if step one has been tried and found wanting): go here to get the e-mail address of the guy who wrote it, and ask him.

Hope this helps.
__________________
--
Bill

Old age and treachery will overcome youth and skill.
wje_lf is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 06:38 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0