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

Compiling #17

Closed
Mattiwatti opened this issue Feb 20, 2020 · 4 comments
Closed

Compiling #17

Mattiwatti opened this issue Feb 20, 2020 · 4 comments

Comments

@Mattiwatti
Copy link

Hi, thanks for your work on this.

Would it be possible to have in the README some short steps and required software needed to compile the software? I've never used Pascal before so it isn't obvious to me which variant of Pascal is being used, or even what the main project file is (AsProgrammer.lpi? AsProgrammer.lps?). Thanks.

@Mattiwatti
Copy link
Author

Mattiwatti commented Feb 20, 2020

Update: I managed to compile the sources using Lazarus 2.0.6 (note: must be the 32 bit version, or at least, I couldn't get the Win64 -> Win32 cross compiler to work). The project depends on the richmemopackage and mphexeditorlaz packages which are included in the repository as ZIPs.

I did have two errors compiling richmemopackage:

win32richmemoproc.pas(258,10) Error: Identifier not found "UnicodeEnabledOS"
richmemortf.pas(492,8) Error: Identifier not found "UTF8Length"

I worked around this by implementing these myself. But maybe I overlooked something.

It would still be nice if some 'official' compilation steps could be added to the README. But my executable works now so that's good.

@nofeletru
Copy link
Owner

@nofeletru
Copy link
Owner

Also look at test branch https://github.com/nofeletru/UsbAsp-flash/tree/test

@mrdc
Copy link

mrdc commented Jan 6, 2023

Hi, thanks for your work on this.

Would it be possible to have in the README some short steps and required software needed to compile the software? I've never used Pascal before so it isn't obvious to me which variant of Pascal is being used, or even what the main project file is (AsProgrammer.lpi? AsProgrammer.lps?). Thanks.

You need AsProgrammer.lpr, I've builded it without any issues using the latest Lazarus 2.2.4 64bit. First time using Lazarus :)

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

3 participants