paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] V5.0.0_stable-37-g2b31da build problem


From: Eric BAHIER
Subject: Re: [Paparazzi-devel] V5.0.0_stable-37-g2b31da build problem
Date: Tue, 20 Aug 2013 22:12:42 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Hi felix,

Many thank, with a "git" files it run... I need to patch my files to adapt them to V5.0.

I am not sure to have time to test it tomorow, I will be back before the week-end.

many thanks,

cheers,

Eric



Le 20/08/2013 18:24, Felix Ruess a écrit :
Hi Eric,

your make aborts with an error before the headers are generated! Next time please post that it doesn't finish at all and post the error....

You are missing the SDL library... what OS/version are you using?
If you are using Ubuntu, please make sure your paparazzi-dev package is up-to-date (as that pulls in the sdl as dependency).
Or install it by hand:
sudo apt-get install libsdl-ocaml-dev

Cheers, Felix


On Tue, Aug 20, 2013 at 6:14 PM, <address@hidden> wrote:
it is done...


Eric




Felix Ruess <address@hidden> a écrit :


there are two inverted commas, not a single double quote


On Tue, Aug 20, 2013 at 5:51 PM, Eric BAHIER <address@hidden> wrote:

 hi felix,

I try
..../paparazzi$ make Q=" 2>&1 |  tee make_log.txt
The sys answer :
>

ctrlC  can kill it...

My knowledge on make option can not help to debug the line...


cheers,

Eric

Le 20/08/2013 17:38, Felix Ruess a écrit :

Hi Eric,

 it works here on a clean checkout...
If only running make after a clean checkout (or a make clean) doesn't
work, can you please post information about the system you are using the
full output of make:

 make clean
make Q='' 2>&1 | tee make_log.txt

 and attach the make_log.txt

 Cheers, Felix


On Tue, Aug 20, 2013 at 5:30 PM, Eric BAHIER <address@hidden>wrote:

 Hi felix,

after "make static_h" It accept to go forward... (libopencm3....  I will
look)

If I do ...paparazzi$ make clean, the var/include folder is cleared.
With paparazzi$ make... the var/include is not generated....

cheers,

Eric

Le 20/08/2013 16:57, Felix Ruess a écrit :

The var/include/messages.h is generated when you run the toplevel make,
not when compiling an airframe.
So go into your paparazzi folder and just run
make
or if you only want to (re)generate these header files:
make static_h



On Tue, Aug 20, 2013 at 4:49 PM, Eric BAHIER <address@hidden>wrote:

 Felix,

On  my correct lab PC (paparazzi_version 4.9.....fae59a5), it can
generate a file for LISA...
echo $PAPARAZZI_SRC ---------------> no aswer (printenv PAPARAZII_SRC is
not betteron the two system)
echo $PAPARAZZI_HOME ---------------> no aswer.....
same no-answer on fault PC.

I try make clean,
and make (into paparazzi)
It creates GENERATE
/home/aero/paparazzi/var/Hexa_LisaL/generated/...many filessss
AIRFRAME MODEL
RADIO MODEL
FLIGHT PLAN

I don't seen (on correct and fault PC) something like "GENERATE
....../paparazzi/var/include... on correct PC the file is created...

To be sure I test geb88d3d.... same error....


I smell, it will be a big erase, and resintall from zero...

Any better idea before this creazy idea


Cheers,

Eric




Le 19/08/2013 21:30, Felix Ruess a écrit :

 Hi Eric,

  I (with git :-) ) can not find the  eb88d3d version.


 Then you didn't fetch the latest versions from the main paparazzi repo.
git remote update
will fetch/update all your remotes...

  I have try the last one(you done today d364421) , and the last in V5.
(1a72b9d5).... same problem....


I try to find (find . -name messag*).... no answer.
I look on an other system it must be present in
paparazzi/var/include...


 Yes, it is generated when you run make (or make static_h)
You should see something like
 GENERATE /home/flixr/paparazzi/var/include/messages.h


On the new PC var/include is empty, I make a copy... the "compile an
airframe" run better, but crash later after an "make clean airframe" the
var/include is empty....
an uptodate message.xml is present in paparazzi/conf (some data for
adrdrone.... uptodate

My feeling the problem is the script to generate the filessss before
the compile?????


 Don't start copying generated files by hand... see above...

 Did you check your PAPARAZZI_SRC and PAPARAZZI_HOME variables?
Either don't set them at all or make sure they are correct.

 Cheers, Felix

 Le 19/08/2013 18:17, Felix Ruess a écrit :

 fraser and other examples all work fine here...

 Make sure you don't accidentally have your PAPARAZZI_HOME or
PAPARAZZI_SRC env variables set to an old directory.

 Also please use the latest version on the stable "v5.0" branch and not
the v5.0.0 tag, there were some bugfixes made on the stable branch...
The version should be v5.0.0_stable-27-geb88d3d

 I should actually make a new tag and "release" it as a maintenance
version v5.0.1,
will probably do that tonight.


On Mon, Aug 19, 2013 at 6:05 PM, Eric BAHIER <address@hidden>wrote:

 HI,

I reset to V5.0 stable 877963ea, you are the "father" on june...
make clean, make.... ./paparazzi_version v5.0.0_stable-0-g877963e-dirty
I have exactly the same error.....

I try with a standard airframe file :"fraser_lisa_m_rotocraft.xml"...
I have the same crash.....

I becam creazy? or it is allready done?

cheese,

Eric


Le 19/08/2013 17:44, Felix Ruess a écrit :

Just take the latest stable branch: v5.0


On Mon, Aug 19, 2013 at 5:39 PM, Eric BAHIER <address@hidden>wrote:

 OK,

Whitch branch could be the must generic,

Before adding any personal patch I try to use the standard one

If necessary I will patch, I hope for nopatch...

Chees,

Eric



Le 19/08/2013 17:35, Felix Ruess a écrit :

Hi Eric,

 you have some of your own changes on that branch?
v5.0.0_stable-37-g2b31da is not a version in the main paparazzi repository.
Also the file /subsystems/datalink/telemetry.h does not exist there...

 I would suggest to try it with a clean v5.0 branch and compare it
to the changes you made.

 Cheers, Felix


On Mon, Aug 19, 2013 at 5:18 PM, Eric BAHIER <address@hidden>wrote:

 hi Felix,

To be sure, I verify and redo  :
..../paparazzi$            make clean
..../paparazzi$            make
..../paparazzi$           ./paparazzi
clean , build

same mistake....

cheers,

Eric

Le 19/08/2013 17:04, Felix Ruess a écrit :

Hi Eric,

 you probably didn't run make from your top level paparazzi
directory.
If you update the code this is always needed.

 Cheers, Felix


On Mon, Aug 19, 2013 at 5:01 PM, Eric BAHIER <address@hidden>wrote:

Hi,

I am back on paparazzi...
I have created (from sracth) a new fly PC to paparazzi 5.0  (
_version : V5.0.0_stable-37-g2b31da-dirty), I hope the uptodate, the best
one.....

I have a "small" error during the compile about the
joystick(sdl_stick.h:20:21: ....)

the launch is OK,

I try to compile an airframe based on "Lisa_l_1.1"

flightplan basicrotrcraft
setting rotocraft_basic
radio lez_4000...... it is the same from...many time
telemetry default_rotorcraft

all files with "minimum" risk...

When I try to generate, I crash:



C /home/aero/paparazzi/var/Hexa_LisaL/ap/firmwares/rotorcraft/main.o
In file included from firmwares/rotorcraft/main.c:36:0:
./subsystems/datalink/telemetry.h:34:22: fatal error: messages.h:
No such file or directory
compilation terminated.
make[1]: ***
[/home/aero/paparazzi/var/Hexa_LisaL/ap/firmwares/rotorcraft/main.o] Error 1
make[1]: Leaving directory `/home/aero/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/aero/paparazzi'


For my understand I have change nothing concerning telemetry.
The airframe file (lisa_hexa...) fly correctly on V3.9.....


Any idea?

Best regards,

Eric

--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


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




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



--
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************


_______________________________________________
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

-- 
************************************
Lez Concept EURL

Eric BAHIER
15 chemin neuf
34 980 Montferrier sur LEZ
France

Tel : 33 4 67 59 92 53
Fax : 33 9 59 15 92 53
************************************

reply via email to

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