POV-Ray : Newsgroups : povray.unix : jpeg_pov.o : Re: jpeg_pov.o Server Time
8 Jul 2024 18:10:51 EDT (-0400)
  Re: jpeg_pov.o  
From: MidnightLightning
Date: 17 Apr 2003 21:55:14
Message: <web.3e9f5a2f7dc5196f76b67fde0@news.povray.org>
Warp wrote:
>MidnightLightning <nomail[at]nomail> wrote:
>> ld: fatal: library -ljpeg: not found
>
>  You either don't have libjpeg.so (or libjpeg.a) installed on your system,
>or it's not in the search path of the compiler.
>  If it's the latter case, you need to add a -L/path/to/the/directory
>where libjpeg.* is located to the linking command.
>
>#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
>N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
>N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -
>

It is installed, I found it in one of my directories, and tried adding the
-L switch to the command, but got:

# make
c++  -Wno-multichar -O3 -finline-functions -ffast-math -fomit-frame-pointer
-funroll-loops -fexpensive-optimizations -foptimize-sibling-calls
-Wno-multichar  -o povray  atmosph.o bbox.o bcyl.o benchmark.o bezier.o
blob.o  boxes.o bsphere.o camera.o chi2.o colour.o colutils.o cones.o csg.o
 discs.o express.o file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o
fpmetric.o fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o
histogra.o iff.o image.o interior.o isosurf.o jpeg_pov.o lathe.o  lbuffer.o
lightgrp.o lighting.o matrices.o media.o mesh.o normal.o  objects.o
octree.o optin.o optout.o parse.o parsestr.o parstxtr.o  pattern.o pgm.o
photons.o pigment.o planes.o png_pov.o point.o poly.o  polygon.o polysolv.o
pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o  povray.o pov_util.o
ppm.o prism.o quadrics.o quatern.o rad_data.o  radiosit.o ray.o render.o
renderio.o sor.o spheres.o sphsweep.o  splines.o statspov.o super.o targa.o
texture.o tiff_pov.o tokenize.o  torus.o triangle.o truetype.o txttest.o
userdisp.o userio.o vbuffer.o  vlbuffer.o warps.o unix.o povxlib.o  -ltiff
-lpng -lz -lm  -lX11 -L/home/boydb/downloads/jpeg-6b/libjpeg.a
Undefined                       first referenced
jpeg_set_quality                    jpeg_pov.o
etc, etc, etc, same errors as before.

Did I put that in the correct place, or can you better explain where to put
it in the Makefile?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.