delphidabbler / codesnip

A code bank designed with Pascal in mind
https://delphidabbler.com/software/codesnip
Other
110 stars 33 forks source link

IntfExternalObj.pas does not exist #93

Closed PeterPanino closed 1 year ago

PeterPanino commented 1 year ago

Hello, I downloaded CodeSnip 4.21.0 master zip file. When trying to build CodeSnip.dpr in Delphi 11.2, I got this error:

[dcc32 Fatal Error] CodeSnip.dpr(376): F1026 File not found: 'AutoGen\IntfExternalObj.pas'

Why is this file missing?

delphidabbler commented 1 year ago

That file, along with various resource files are generated by the build chain.

See Build.html for details.

When I get a minute I'll generate the files and post them here.

delphidabbler commented 1 year ago

Here's the promised files.

build-generated-files.zip

The binary files need to be placed in the Bin directory, or on the binary search path, the .pas file needs to go in Src/AutoGen directory and the .cfg file needs to go in the Src directory.

CodeSnip might then build from the IDE, but I haven't tried it.

But note that the only guaranteed way to build CodeSnip from scratch is to follow the process in Build.html.

After doing that CodeSnip will build fine from the IDE providing you only change .pas files.

delphidabbler commented 1 year ago

Closing this now