paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] make error in the very latest build


From: hendrixgr .
Subject: Re: [Paparazzi-devel] make error in the very latest build
Date: Tue, 24 Oct 2017 07:53:19 +0300

I made a fresh install and it still does not compile...
Here is the output of the make command
OL ivy2serial
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/hendrix/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_aircraft.ml
OL gen_airframe.ml
OL gen_ubx.ml
OL gen_mtk.ml
OC gen_flight_plan.ml
File "gen_flight_plan.ml", line 871, characters 8-18:
Error: Unbound value List.iteri
make[1]: *** [gen_flight_plan.cmo] Error 2
make: *** [generators] Error 2
address@hidden:~/paparazzi$ 


On Tue, Oct 24, 2017 at 7:42 AM, Rijesh Augustine <address@hidden> wrote:
Hi.

OK, It seems like your earlier version of OCaml is not happy with how I set up a few types.
I made a pull request with the some modified code that I think should work.
You can try it out here https://github.com/rijesha/paparazzi/tree/fix_type_inference and see if that works.

Cheers
Rijesh

On Mon, Oct 23, 2017 at 10:37 PM, hendrixgr . <address@hidden> wrote:
Hi.
This is the output i get with ocaml
address@hidden:~/paparazzi$ ocaml
        Objective Caml version 3.12.1

When i do a git pull it says that i am up to date but is still gives me this error
OC gen_common.mli
OC quaternion.mli
File "quaternion.ml", line 44, characters 2-167:
Error: The record field label y belongs to the type euler_angle
       but is mixed here with labels of type quaternion
make[1]: *** [quaternion.cmo] Error 2
make: *** [libpprz] Error 2
address@hidden:~/paparazzi$ ocaml
        Objective Caml version 3.12.1



On Mon, Oct 23, 2017 at 7:33 PM, Chris Efstathiou <address@hidden> wrote:

I will check it tomorrow because now i am at home.

Chris


On 10/23/2017 6:05 PM, Rijesh Augustine wrote:
This seems to be an ocaml type inference issue.
What version of ocaml are you running? (type in ocaml in terminal)

Rijesh

On Mon, Oct 23, 2017 at 8:43 AM, Kirk Scheper <address@hidden> wrote:
You don't necessarily need a fresh install, you can first try to checkout a new branch from master. e.g.

git remote update -p
git checkout -b new_branch_name origin/master
make clean && make

Kirk


On 23/10/17 16:40, Chris Efstathiou wrote:
Hi.

I will try tomorrow a new inställ and report back.

 I hanen't changed anything though, it is just an older master updated through git pull 3 or 4 times.

Also it is an .ml file so i definitely didn't messed with files of that type.

Chris.


On 10/23/2017 2:15 PM, Kirk Scheper wrote:
Hey Hendrix,
I get no errors building a clean version of the current master. The error is likely due to some of your local changes.

You can see your changes in a useful graphical way with (if your remote for paparazzi is called origin):

    git difftool -d origin/master

This will show you each file that is different from master. When you select a file it will show you each line that is different.

Kirk

On 23/10/17 13:09, Chris wrote:
Hi

I tried to refresh my master version and after a git pull and a make clean i get this error when i am trying to compile the new code

File "quaternion.ml", line 44, characters 2-167:
Error: The record field label y belongs to the type euler_angle
       but is mixed here with labels of type quaternion
make[1]: *** [quaternion.cmo] Error 2
make: *** [libpprz] Error 2
address@hidden:~/paparazzi$

This is the output of the git branch -vv command

address@hidden:~/paparazzi$ git branch -vv
* master 7bbb52a [upstream/master] Fixed the EdgeFlow Divergence computation Sign Error (#2096)
address@hidden:~/paparazzi$

Chris


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


Virus-free. www.avast.com


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

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