paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] c program wont compile workaround


From: Chris
Subject: [Paparazzi-devel] c program wont compile workaround
Date: Wed, 31 Mar 2021 21:45:40 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi.

I added this line "PAPARAZZI_SRC ?= $(shell pwd)"

after line 26 inside the makefile found in the directory paparazzi/sw/ground_segment_cockpit which now looks like this:

OCAMLCFLAGS=-thread -ccopt -fPIC
PAPARAZZI_SRC ?= $(shell pwd)
include ../../Makefile.ocaml

I did this in order to be able to compile the ant_track_pmm and the other c files.

Without this line i get an error from makefile.ocaml (include ../../Makefile.ocaml) line 28 that states:

t$ make ant_track_pmm
../../Makefile.ocaml:28: *** PAPARAZZI_SRC not set, please set it manually or invoke make from the toplevel paparazzi dir.  Stop.

Is this the correct way?

Chris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]