• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - thorax

1
Yes, the path's are fine.

If i compile an empty project i get no errors. Strange Thing  ???

and im having the same problem with windows
2
Hi! i used Imaging library with linux ubuntu and lazarus a year ago.  I left over the project for some time , and now i want to continue it. I have downloaded lazarus 0.9.26  and Imaging 0.26.2. I installed all the Lazarus and FPC deb's (downloaded from the lazarus web page) , and it runs and compiles ok.

When i used the library a year ago , i used to paste these lines into /etc/fpc.cfg for the library to work:


-Fi/home/alejandro/PHOTO_CROP/Imaging/Source

-Fu/home/alejandro/PHOTO_CROP/Imaging/Source/JpegLib

-Fu/home/alejandro/PHOTO_CROP/Imaging/Source/ZLib

-Fu/home/alejandro/PHOTO_CROP/Imaging/Source/Projects

-Fu/home/alejandro/PHOTO_CROP/Imaging/Source/Extensions

-Fu/home/alejandro/PHOTO_CROP/Imaging/Source/Wrappers/*

-Fu/home/alejandro/PHOTO_CROP/Imaging/Demos/ObjectPascal/Common

-Fu/home/alejandro/PHOTO_CROP/Imaging/Extras/Extensions

-Fl/home/alejandro/PHOTO_CROP/Imaging/Extras/Extensions/J2KObjects

-Fu/home/alejandro/PHOTO_CROP/Imaging/Extras/Extensions/LibTiff


-Sgi2dh


But now i have done that and it does not work.

when i compile an app using the library i get this:

unit1.pas(9,12) Fatal: Can't find unit Imaging used by Unit1

I also have tried to install it from the package .pkg

/usr/lib/lazarus/tools/svn2revisioninc.pas(373,1) Error: Can't create object file: ./svn2revisioninc.o
/usr/lib/lazarus/tools/svn2revisioninc.pas(373,1) Fatal: Can't create object ./svn2revisioninc.o


also i have run the Shell script provided, and got:

ImagingCanvases.pas(1382,11) Note: Local variable "PDest" not used
Writing Resource String Table file: ImagingCanvases.rst
ImagingXpm.pas(194,8) Note: Local variable "ColType" is assigned but never used
Writing Resource String Table file: Imaging.rst
Linking ../Bin/VampyreImaging.so
/usr/bin/ld: ../Bin/../Bin/Imaging.o: relocation R_X86_64_32S against `TC_IMAGING_DEFAULTIMAGEFORMAT' can not be used when making a shared object; recompile with -fPIC
../Bin/../Bin/Imaging.o: could not read symbols: Bad value
VampyreImaging.dpr(129) Error: Error while linking
VampyreImaging.dpr(129) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
Error when building library!
Deleting ugly files...
Processing dir tree: ../Bin
Processing dir tree: ../Demos
Processing dir tree: ../Scripts
Processing dir tree: ../Source/Wrappers
Processing dir tree: ../Source/JpegLib
Processing dir tree: ../Source/ZLib
Processing dir tree: ../Source/Extensions
Processing dir tree: ../Source/Projects
Clean.sh: 33: pushd: not found
Processing dir: ../Source
Clean.sh: 33: popd: not found
Clean.sh: 34: pushd: not found
Processing dir: ../Extras/Extensions
Clean.sh: 34: popd: not found
Processing dir tree: ../Extras/Demos
Processing dir tree: ../Extras/Tools
Clean finished


How should i install the library in order to use it in ubuntu 8.10 ? thanks!
SMF spam blocked by CleanTalk