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

Error: Can't open object file: libtiffpack-win32.a

Started by Windows User, 4 February 2018, 13:50:47

Previous topic - Next topic

Windows User

I am using the newest version of Vampyre Imaging on Windows 7 with Lazarus 1.6.4. (32 bit).

When adding the package to my project and trying to compile, I get the following errors:

lazarus.pp(154,1) Warning: Library libtiffpack-win32.a not found, Linking may fail !
lazarus.pp(154,1) Error: Can't open object file: libtiffpack-win32.a

Obviously, Lazarus cannot find the libtiffpack-win32.a located in \Extras\Extensions\LibTiff\Compiled.

I have tried the LCLImager Demo and it is working there. I saw that there ";..\..\..\Extras\Extensions\LibTiff\Compiled" is added to the "Compiler Options > Libraries (-FI)" while the package itself has no link to the Compiled folder at this point. However, when adding ";..\..\..\Extras\Extensions\LibTiff\Compiled" to the package compiler options, it is not working, too. Or am I missing something at this point?

When creating a new project and adding ";..\..\..\Extras\Extensions\LibTiff\Compiled" to the project options, it is compiling and Lazarus finds libtiffpack-win32.a. When omitting this, I get the error. But also the IDE is not compiling anymore, there I get the same error "Can't open object file".

I think the package is missing a link or include to the Compiled folder at some point. However, I have not enough expertise to fix this on my own. Can you help me?

Mac User

If you just add only the library file (lpk) to a blank Lazarus project as it is (without changing any library or unit paths), you get the following error:

ImagingTiff.pas(42,3) Fatal: Cannot find ImagingTiffLib used by ImagingTiff.

I think there is just missing a dependency within the package. But I cannot find where and how to fix it...

Galfar

Could you check with the latest version of Imaging? There was a rework of the Lazarus packages in March 2018.


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk