Jump to content
Sign in to follow this  
neumimnemecky

Cannot install/compile NativeJpg package

Recommended Posts

On D7 I try to install the package from here:

https://github.com/acbarbosa1964/simdesign/tree/master/simlib/nativejpg

There are some dependencies on simdesign-master\simlib\general

so I have tried to create my own package with general and compile/build it. Also the

simdesign-master\simlib\nativejpg\packages\NativeJpgD7.dpk I have tried with the same error.

in general/sdStringtable.pas on line 75 there is this component needed:

  TsdStringTable = class(TsdDebugComponent)

which is contained in simdesign-master\simlib\debug\sdDebug.pas

But still the error is like it is not declared. Any advices how to compile this for Delphi 7?

Share this post


Link to post
4 hours ago, neumimnemecky said:

On D7 I try to install the package from here:

https://github.com/acbarbosa1964/simdesign/tree/master/simlib/nativejpg

There are some dependencies on simdesign-master\simlib\general

so I have tried to create my own package with general and compile/build it. Also the

simdesign-master\simlib\nativejpg\packages\NativeJpgD7.dpk I have tried with the same error.

in general/sdStringtable.pas on line 75 there is this component needed:

  TsdStringTable = class(TsdDebugComponent)

which is contained in simdesign-master\simlib\debug\sdDebug.pas

But still the error is like it is not declared. Any advices how to compile this for Delphi 7?

Have you added simdesign-master\simlib\debug to the project search path?

Share this post


Link to post

I have created "corrected" the instalation package. Changes made from this:


requires
  rtl,
  vcl,
  visualclx,
  vcljpg;

contains
  NativeJpg in '..\NativeJpg.pas',
  sdJpegBitstream in '..\sdJpegBitstream.pas',
  sdJpegDCT in '..\sdJpegDCT.pas',
  sdJpegCoder in '..\sdJpegCoder.pas',
  sdJpegHuffman in '..\sdJpegHuffman.pas',
  sdJpegLossless in '..\sdJpegLossless.pas',
  sdJpegMarkers in '..\sdJpegMarkers.pas',
  sdJpegTypes in '..\sdJpegTypes.pas',
  sdFileList in '..\..\disk\sdFileList.pas',
  sdSortedLists in '..\..\general\sdSortedLists.pas',
  sdBitmapResize in '..\..\bitmap\sdBitmapResize.pas',
  sdMapIterator in '..\..\bitmap\sdMapIterator.pas',
  sdColorTransforms in '..\..\color\sdColorTransforms.pas',
  sdVirtualScrollbox in '..\..\virtualscrollbox\sdVirtualScrollbox.pas',
  sdDebug in '..\..\general\sdDebug.pas',
  sdJpegImage in '..\sdJpegImage.pas',
  sdBitmapConversionWin in '..\..\bitmap\sdBitmapConversionWin.pas',
  sdGraphicTypes in '..\..\bitmap\sdGraphicTypes.pas',
  sdStreams in '..\..\general\sdStreams.pas';

end.

to this NativeJpgD7_repaired_next_try.dpk:


requires
  rtl,
  vcl,
  vcljpg,
  GR32_D7;

contains
  sdJpegTypes in '..\sdJpegTypes.pas',
  NativeJpg in '..\NativeJpg.pas',
  sdJpegBitstream in '..\sdJpegBitstream.pas',
  sdJpegCoder in '..\sdJpegCoder.pas',
  sdJpegDCT in '..\sdJpegDCT.pas',
  sdJpegHuffman in '..\sdJpegHuffman.pas',
  sdJpegImage in '..\sdJpegImage.pas',
  sdJpegLossless in '..\sdJpegLossless.pas',
  sdJpegMarkers in '..\sdJpegMarkers.pas',
  sdDebug in '..\..\general\sdDebug.pas',
  sdFileList in '..\..\general\sdFileList.pas',
  sdSortedLists in '..\..\general\sdSortedLists.pas',
  sdStreams in '..\..\general\sdStreams.pas',
  sdMapIterator in '..\..\bitmap\sdMapIterator.pas',
  sdBitmapConversionWin in '..\..\bitmap\sdBitmapConversionWin.pas',
  sdBitmapResize in '..\..\bitmap\sdBitmapResize.pas',
  sdStringTable in '..\..\general\sdStringTable.pas',
  sdColorTransforms in '..\..\color\sdColorTransforms.pas';

end.

 

Also I have added simlib\general to search path.

The required GR32_D7 was auto added but not it created new problem:

[Warning] Unit 'NativeXmlNodes' implicitly imported into package 'NativeJpgD7_repaired_next_try'

[Warning] Unit 'NativeXmlCodepages' implicitly imported into package 'NativeJpgD7_repaired_next_try'

[Error] Never-build package 'NativeJpgD7_repaired_next_try' requires always-build package 'GR32_D7'

 

I don't understand why the GR32 was forced to be added into package.

building implicit package NativeJPG by SimDesign - there are dependencies.png

 

I am so happy. Job done.

Edited by neumimnemecky

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×