I can run make in examples/ and the application builds and runs with my 3.1.1 checkout. I don't have a 3.0.x checkout or release source tree on my work machine. (only 3.0 minimal install for bootstrapping)
Quote from: marcov on November 17, 2016, 02:44:03 pmI can run make in examples/ and the application builds and runs with my 3.1.1 checkout. I don't have a 3.0.x checkout or release source tree on my work machine. (only 3.0 minimal install for bootstrapping)I was wrong - too blind to see the platform.inc in the fv/src folder... After adding "../src" to the include path the demo does compile now (with fpc 3.1.1 / 3.0 / 2.6.4 / 2.6.0. Shouldn't it be there in the first place? And why does it compile with fpc 2.6.0 with an empty include path?
auch in Fixes?
includedir=../src is always present in Makefile.fpc (--> the demo compiles from the cmd line). But only if I add ../src to the Include search path of the project options (lpi) the demo compiles from Lazarus.
C:\Lazarus\Lazarus.1.6.2-FPC.3.0.0\fpc\3.0.0\bin\i386-win32>make.exe -C C:\Lazarus\Lazarus.1.6.2-FPC.3.0.0\fpc\3.0.0\source\packages\fv -f Makefilemake.exe: Entering directory `C:/Lazarus/Lazarus.1.6.2-FPC.3.0.0/fpc/3.0.0/source/packages/fv'Makefile:29: *** You need the GNU utils package to use this Makefile. Stop.make.exe: Leaving directory `C:/Lazarus/Lazarus.1.6.2-FPC.3.0.0/fpc/3.0.0/source/packages/fv'
Ah ok. The lpi's are afaik committed by Florian for development purposes. But maybe better to file a bug, preferably with a patch.