|
From: | hendrixgr . |
Subject: | Re: [Paparazzi-devel] make error in the very latest build |
Date: | Tue, 24 Oct 2017 07:53:19 +0300 |
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_ and see if that works.inference CheersRijeshOn Mon, Oct 23, 2017 at 10:37 PM, hendrixgr . <address@hidden> wrote:Hi.This is the output i get with ocamladdress@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 errorOC gen_common.mliOC quaternion.mliFile "quaternion.ml", line 44, characters 2-167:Error: The record field label y belongs to the type euler_anglebut is mixed here with labels of type quaternionmake[1]: *** [quaternion.cmo] Error 2make: *** [libpprz] Error 2address@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/mailm an/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
[Prev in Thread] | Current Thread | [Next in Thread] |