res2go-ide-plugin icon indicating copy to clipboard operation
res2go-ide-plugin copied to clipboard

plugin install error

Open kamuycikap9821 opened this issue 10 months ago • 2 comments

Hello everyone.

My Environment

  • Country: Japan
  • Hardware: MacBook Air M2
  • OS: Sequoia 15.3.1
  • FPC: 3.2.2
  • Lazarus: 4.99

Issue

I cannot install the res2go-ide-plugin.
I am Japanese and working in a Japanese-language Lazarus environment.

Is there something wrong with my Lazarus settings?
Or is this a known issue with MacOS?
I would like to enjoy GoVCL programming in my MacBook environment.

I have successfully set up the GoVCL environment and can run GUI applications using GoVCL.
However, I cannot install res2go, which prevents me from using GUIs built with the designer.
I want to use the Lazarus IDE and enjoy smooth GUI programming with res2go.


Error Message

res2gomain.pas(23,3) Error: UITypes not found, used by res2gomain of package res2goplugin.

Reference Procedure

https://gitee.com/ying32/govcl/wikis/pages?sort_id=2645001&doc_id=102420

Steps I Have Taken

I compiled Lazarus from a cloned repository:

$ cd ~/opt/ide/lazarus
$ git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
$ make clean all LCL_PLATFORM=cocoa CPU_TARGET=aarch64

I installed FPC from fpc-3.2.2.intelarm64-macosx.dmg.
I also installed the FPC source package fpc-src-3.2.2-2-laz.pkg.

I cloned the res2go-ide-plugin repository:

$ git clone https://github.com/ying32/res2go-ide-plugin.git

I cloned the liblcl repository and compiled it using Lazarus:

$ git clone https://github.com/ying32/liblcl.git

kamuycikap9821 avatar Mar 12 '25 11:03 kamuycikap9821

I see you're using Lazarus 4.99, and the official version is only 3.8. I guess the new version has moved the constants to other units, you can try to remove the reference to UITypes, and then find out if the 'mrOk' and 'mrAbort' in the new version directly reference the System.UITypes unit.

ying32 avatar Mar 14 '25 11:03 ying32

Thank you for your reply. Sorry for the delay in writing. I tried with version 4.99 and could not set it up properly. I will try with version 3.8.

sk-noctua avatar Mar 28 '25 09:03 sk-noctua