Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazarus 无法安装 #24

Open
yjc980121 opened this issue Sep 28, 2022 · 5 comments
Open

Lazarus 无法安装 #24

yjc980121 opened this issue Sep 28, 2022 · 5 comments

Comments

@yjc980121
Copy link

1.CnNative.pas asm 汇编报错,发现没加结尾分号,补上好了
2.CnLockFree.pas CnAtomicCompareExchange 函数体无法编译通过,我找到另外个函数替换编译过了
//Result := Pointer(InterlockedCompareExchange(LongInt(Target), LongInt(NewValue), LongInt(Comperand)));
Result := InterlockedCompareExchangePointer(Target, NewValue, Comperand);
3.CnZUC.pas ZUCEEA3函数体,CnZUC.pas(354,7) Error: Internal error 200306031 不知道如何修改

@shanzhashu
Copy link
Collaborator

是否是master分支上的最新代码?
Lazarus配Free Pascal, Version 3.2.2的,我们编译cnvcl\Packages\FPC3\CnPack_FPC3.lpk
Delphi兼容模式,编译成功。

@yjc980121
Copy link
Author

master代码和最近一个版本的都试了,lazarus是最新版本,fpc3.2.2

@yjc980121
Copy link
Author

cnvcl
安装选项灰色,默认objfpc,修改delphi模式也是一样

@shanzhashu
Copy link
Collaborator

这个lpk只是运行期包,能够编译一些密码库等基础内容。
暂时不支持UI方面的组件注册。

@yjc980121
Copy link
Author

我搞懂了,运行期包需要自己加到工程里,但是编译报错不影响吧,设计期和运行期都可以点击那个编译。我的问题是编译时报错。我刚刚试了,加入工程也会自动编译。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants