Open PeterDaveHello opened 7 years ago
I successfully compiled this code in Win,Debian,Raspberry Pi3 with versions of lazarus 1.6.4, fpc 3.0.2. Try to reinstall the fpc and the Lazarus.
@leonsoft-kras I can compile it but can't reproduce the makefile by fpcmake
Download fpc from https://sourceforge.net/projects/freepascal/files/ and set FPCDIR as wiki mentions here will fix this: http://wiki.freepascal.org/FPMake#Could_not_find_unit_directory_for_dependency_package_.22rtl.22
e.g. /usr/lib/fpc/3.0.2
fpcmake -Tall
still not working
@leonsoft-kras I noticed that the Makefile was updated very recently by you, would you mind to give some instructions about building the development environment for newbies and maybe we can even document that, so more people can easily join contribution? Thanks.
I did not change the file. It was changed by another participant. He changed the way to directories in the MacOS.
Manually changing makefile is a bad idea. From version to version we use the author file. The program is compiled perfectly. I do not see a need to change the makefile. If someone wants to change it, then study the documentation and perform it on your computer.
Or explain why you need to edit the makefile now?
I originally thought it could be dated as I misunderstood something, then I found that it's not, I'm just trying to make sure I can understand enough about the build process as I'm trying to make Windows and Raspberry Pi builds automatic on Travis CI.
We should not spoil the usual assembly. I think this is the main rule. I compile versions for windows and raspberries without changing the makefile.
Yeah, my purpose is to understand it, not the change it :)
@leonsoft-kras can you help confirm how to re-generate the makefile without making some arch supporting lost? Must need cross-compile support? I'm trying to improve part of the release process but can't properly update the makefile.
I think cross-compile support is needed. Maybe someone will want to build the project himself, without the help of travis. I can't help you with the file makefile.
Any tips or references about what's the environment of current makefile was build at?
This project was done by another author. I, like you, make only small changes to the code.
Okay, maybe we can work together to get it done if you done mind :) I never write pascal before, learning from this project :D
It's not good that the project is on pascal. With a program in C/C++ it would be much easier, from all points of view.
Now everyone can work and improve the program. ;) The program on the functional reached the limit and most of the latest proposals for the development of the program are useless.
Sorry, I'm not sure that I understand, are we moving to c/c++?
No.
Okay, looks like the major content of makefile was only touched by the origin author ...
I tried to update the Makefile via
fpcmake
on Ubuntu 16.04 with Free Pascal v3.0.0 but failed: