[MINC-users] Problem compiling ray_trace

Gil Citro citrog at gmail.com
Mon Apr 3 13:13:39 EDT 2006


If I install libnetbpm9-dev I can ./configure bicpl-14.2 --with-image-ppm
without errors.  However, when I then try to configure and compile
conglomerate-1.6 I get the error below when compiling.  This does not
happen if bicpl is configured without --with-image-ppm.

I hope nobody minds my sending this to the list.  I just thought it would
be useful in case anyone searches for an answer to a similar problem
in the future.  If it's too much detail for this list let me know.  Thanks.

Gil


On 4/1/06, Jonathan HARLAP <jharlap at bic.mni.mcgill.ca> wrote:
> You probably want libnetbpm9-dev...
>
> Cheers,
> J
>

/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x3e): In function `input_rgb_file':
/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:31: undefined reference
to `ppm_readppminit'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x4b):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:33:
undefined reference to `pm_allocrow'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0xa2):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:46:
undefined reference to `ppm_readppmrow'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0xb6):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:56:
undefined reference to `pm_freerow'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x1c3): In function
`output_rgb_file':/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:97:
undefined reference to `ppm_writeppminit'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x1d1):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:100:
undefined reference to `pm_allocrow'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x20c):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:118:
undefined reference to `ppm_writeppmrow'
/usr/local/lib/libbicpl.a(rgb_io.o)(.text+0x219):/usr/local/mni/bicpl-1.4.2/Images/rgb_io_ppm.c:121:
undefined reference to `pm_freerow'
collect2: ld returned 1 exit status
make[1]: *** [composite_images] Error 1
make[1]: Leaving directory `/usr/local/mni/conglomerate-1.6'
make: *** [all] Error 2



More information about the MINC-users mailing list