I am attempting to build the mavlink library in a scilab block to run SITL.
When scilab compiles, it only finds the mavlnk headers if I name the absolute directory. Changing the working directory does not help. I have run out of ideas.
Has anyone tried this?
Does anyone know if it is possible?
Setup: Win7 64bit, 64bit scilab, MS visual studio express + necessary add-on compilers.
Tags:
Permalink Reply by Matthew Coleman on November 23, 2012 at 2:45pm I seem to have the include directories fixed, now for the next problem:
Compiler gives error on the following code:
!C:\mav\MatrixPilot-Software\MatrixPilot_fbw\mavlink\include\inttypes.h(28) : er!
! ror C2143: syntax error : missing ')' before '(' !
! !
!C:\mav\MatrixPilot-Software\MatrixPilot_fbw\mavlink\include\inttypes.h(28) : er!
! ror C2143: syntax error : missing ')' before '(' !
! !
!C:\mav\MatrixPilot-Software\MatrixPilot_fbw\mavlink\include\inttypes.h(28) : er!
! ror C2091: function returns function !
!
typedef int __attribute__((__mode__(QI))) int8_t;
typedef int __attribute__((__mode__(HI))) int16_t;
typedef int __attribute__((__mode__(SI))) int32_t;
typedef int __attribute__((__mode__(DI))) int64_t;
typedef unsigned int __attribute__((__mode__(QI))) uint8_t;
typedef unsigned int __attribute__((__mode__(HI))) uint16_t;
typedef unsigned int __attribute__((__mode__(SI))) uint32_t;
typedef unsigned int __attribute__((__mode__(DI))) uint64_t;
Permalink Reply by Matthew Coleman on November 23, 2012 at 3:30pm Too many problems with MSVC compiler. Making the move back to 32bit LCC, mingw or gcc.
Permalink Reply by Matthew Coleman on November 24, 2012 at 3:57am Correction, LCC, and mingw compilers also a mysetery. Moved to MSVC 32bit and have success.
Now I just need to get bytes into the mavlink parser. Shouldn't be a problem......
Permalink Reply by Venkat Gidda on January 23, 2013 at 10:21am Did u compile and configure mavlink libraries in MSVC??
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.249 members
183 members
693 members
24 members
51 members
© 2013 Created by Chris Anderson.
Powered by
