Xor-el / CryptoLib4Pascal

Crypto for Modern Object Pascal
MIT License
213 stars 65 forks source link

Circular unit reference to 'ClpBigInteger' #28

Closed herux closed 3 years ago

herux commented 3 years ago

Hi, I try using the Delphi example, after adding needed unit search path, Error stop me with message like below:

[dcc32 Fatal Error] ClpAsn1Objects.pas(33): F2047 Circular unit reference to 'ClpBigInteger'

Do you have any hint ?

herux commented 3 years ago

It happen also on lazarus/ fpc

Screen Shot 2021-06-13 at 10 49 04
Xor-el commented 3 years ago

Hi, actually I don't get such error when compiling. Can you clean and rebuild?

herux commented 3 years ago

I did. the same error still occur. here I shared compiler search path, might you found something

..\delphereum;..\DelphiBigNumbers\Source;..\CryptoLib4Pascal\CryptoLib\src\Crypto\Parameters;..\CryptoLib4Pascal\CryptoLib\src\Math;..\CryptoLib4Pascal\CryptoLib\src\Utils;..\CryptoLib4Pascal\CryptoLib\src\Security;..\CryptoLib4Pascal\CryptoLib\src\Interfaces;..\HashLib4Pascal\HashLib\src\Interfaces;..\HashLib4Pascal\HashLib\src\Utils;..\CryptoLib4Pascal\CryptoLib\src\Utils\Randoms;..\HashLib4Pascal\HashLib\src\Base;..\HashLib4Pascal\HashLib\src\KDF;..\HashLib4Pascal\HashLib\src\Nullable;..\HashLib4Pascal\HashLib\src\NullDigest;..\HashLib4Pascal\HashLib\src\Checksum;..\HashLib4Pascal\HashLib\src\Hash32;..\HashLib4Pascal\HashLib\src\Hash64;..\HashLib4Pascal\HashLib\src\Hash128;..\HashLib4Pascal\HashLib\src\Crypto;..\HashLib4Pascal\HashLib\src\Interfaces\IBlake2BParams;..\HashLib4Pascal\HashLib\src\Crypto\Blake2BParams;..\HashLib4Pascal\HashLib\src\Interfaces\IBlake2SParams;..\HashLib4Pascal\HashLib\src\Crypto\Blake2SParams;..\CryptoLib4Pascal\CryptoLib\src\Crypto\Digests;..\CryptoLib4Pascal\CryptoLib\src\Asn1\Pkcs;..\CryptoLib4Pascal\CryptoLib\src\Asn1;..\CryptoLib4Pascal\CryptoLib\src\Utils\Encoders;..\SimpleBaseLib4Pascal\SimpleBaseLib\src\Bases;..\SimpleBaseLib4Pascal\SimpleBaseLib\src\Utils;..\SimpleBaseLib4Pascal\SimpleBaseLib\src\Interfaces

Xor-el commented 3 years ago

Closing as I am unable to reproduce the issue.