compiling issue

onanie_bomb

Registered
A week or so ago slashdot posted an article concerning Steve Mann's comparametric toolkit/videorbits software, that takes video footage (or rather stills from video footage), finds its common areas, then cements it together into one composite super-res image. Anyways, I've been trying like mad to get this program to compile on OS X, but since it's being developed in Linux I think a few of the libraries it looks for in the configure stage or Linux specific. Case in point, when I run ./configure it returns an error message stating that it cannot find the file jpeg_createCompress in -ljpeg. Now, as far as I've been able to surmise, -ljpeg is basically just the Linux specific equivalent of our libjpeg, which I installed from Fink. So, the problem now is redirecting the configure file to recognize libjpeg... Anyone want to write a patch for me (the program is written in perl)?

Of course, my theory on why the configure isn't working could be completely off, so if anyone else has any thoughts on it, that'd be great too. The program could do some really interesting things if it got out to a wider community, so it would be nice if we could get a working version put together for OS X. (my own specific hope is to use this program in combination with my video camera to create super wide angle panoramic photographs without resorting to a fisheye lens or a panoramic camera).

The comparametirc toolkit page can be found on sourceforge at:

http://sourceforge.net/projects/comparametric

For more information on the program and some examples of what it can do, take a look at:

http://comparametric.sourceforge.net/
and
http://wearcam.org/orbits/orbits.html
 
the configure script is written in 'sh', not
perl.

Second, I've looked at it and its one of the
poorer configure scripts because generally,
you can tell the script where to find libraries.

Fink puts all of its stuff in /sw/.... and its
libraries in /sw/lib.

If your running tcsh/csh, then from the
looks of things, a:

setenv LIBS -L/sw/lib
./configure

should do the trick.
 
Thanks for the help there, the configure now runs succesfully, but I get the following error when trying to run make:

[localhost:~/desktop/video] dneely% make
make all-recursive
Making all in src
cc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c plm2pnm.c
plm2pnm.c:9: header file 'getopt.h' not found
file.h:3: header file 'jpeglib.h' not found
file.h:32: undefined type, found `JSAMPLE'
file.h:3: header file 'jpeglib.h' not found
plm2pnm.c:13: header file 'jpeglib.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [plm2pnm.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Any thoughts on how to get this thing to work?
Has anyone gotten the program to work on OS X?
 
Back
Top