This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MPU-9255
#25
Sean, it was impossible to compile your fork, lots of errors:


Code:
git clone https://github.com/seandepagnier/RTIMULib2.git
cd RTIMULib2/Linux
mkdir build
cd build
cmake ..


Quote:CMake Error at CMakeLists.txt:88 (ADD_SUBDIRECTORY):
  add_subdirectory given source "RTIMULibFusionComparison" which is not an
  existing directory.


when setting RTIMULibFusionComparison to OFF on CmakeList.txt compiling is OK

Code:
cd ..
cd RTIMULibCal
make -j4


Quote:objects/RTIMU.o: In function `RTIMU::createIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x78): undefined reference to `RTIMU5883L::RTIMU5883L(RTIMUSettings*)'
RTIMU.cppSad.text+0x1cc): undefined reference to `RTIMULSM6DS33LIS3MDL::RTIMULSM6DS33LIS3MDL(RTIMUSettings*)'
objects/RTIMU.o: In function `RTIMU::RTIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x2dc): undefined reference to `FusionMahony::FusionMahony()'
RTIMU.cppSad.text+0x31c): undefined reference to `FusionMadgwick::FusionMadgwick()'
collect2: error: ld returned 1 exit status
Makefile:120: recipe for target 'Output/RTIMULibCal' failed
make: *** [Output/RTIMULibCal] Error 1



Code:
cd ..
cd RTIMULibDemo
qmake
make -j4


Quote:objects/RTIMU.o: In function `RTIMU::createIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x78): undefined reference to `RTIMU5883L::RTIMU5883L(RTIMUSettings*)'
RTIMU.cppSad.text+0x1cc): undefined reference to `RTIMULSM6DS33LIS3MDL::RTIMULSM6DS33LIS3MDL(RTIMUSettings*)'
objects/RTIMU.o: In function `RTIMU::RTIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x2dc): undefined reference to `FusionMahony::FusionMahony()'
RTIMU.cppSad.text+0x31c): undefined reference to `FusionMadgwick::FusionMadgwick()'
collect2: error: ld returned 1 exit status
Makefile.Release:184: recipe for target 'Output/RTIMULibDemo' failed
make[1]: *** [Output/RTIMULibDemo] Error 1
make[1]: Leaving directory '/home/pi/RTIMULib2/Linux/RTIMULibDemo'
Makefile:34: recipe for target 'release' failed
make: *** [release] Error 2



Code:
cd ..
cd RTIMULibDemoGL
qmake
make -j4


Quote:objects/RTIMU.o: In function `RTIMU::createIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x78): undefined reference to `RTIMU5883L::RTIMU5883L(RTIMUSettings*)'
RTIMU.cppSad.text+0x1cc): undefined reference to `RTIMULSM6DS33LIS3MDL::RTIMULSM6DS33LIS3MDL(RTIMUSettings*)'
objects/RTIMU.o: In function `RTIMU::RTIMU(RTIMUSettings*)':
RTIMU.cppSad.text+0x2dc): undefined reference to `FusionMahony::FusionMahony()'
RTIMU.cppSad.text+0x31c): undefined reference to `FusionMadgwick::FusionMadgwick()'
collect2: error: ld returned 1 exit status
Makefile.Release:222: recipe for target 'Output/RTIMULibDemoGL' failed
make[1]: *** [Output/RTIMULibDemoGL] Error 1
make[1]: Leaving directory '/home/pi/RTIMULib2/Linux/RTIMULibDemoGL'
Makefile:34: recipe for target 'release' failed
make: *** [release] Error 2
Reply


Messages In This Thread
MPU-9255 - by abarrow - 2017-04-12, 07:17 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 08:39 AM
RE: MPU-9255 - by Sailoog - 2017-05-30, 06:18 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 06:40 PM
RE: MPU-9255 - by Sailoog - 2017-05-30, 08:04 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 11:14 PM
RE: MPU-9255 - by e-sailing - 2017-05-31, 09:18 AM
RE: MPU-9255 - by maxencep - 2017-05-31, 11:54 AM
RE: MPU-9255 - by Sailoog - 2017-05-31, 04:46 PM
RE: MPU-9255 - by maxencep - 2017-06-02, 04:00 PM
RE: MPU-9255 - by Sailoog - 2017-06-02, 04:19 PM
RE: MPU-9255 - by maxencep - 2017-06-04, 09:22 AM
RE: MPU-9255 - by e-sailing - 2017-06-04, 07:35 PM
RE: MPU-9255 - by maxencep - 2017-06-13, 04:19 PM
RE: MPU-9255 - by Sailoog - 2017-06-13, 04:45 PM
RE: MPU-9255 - by maxencep - 2017-06-13, 08:02 PM
RE: MPU-9255 - by Sailoog - 2017-06-14, 05:44 PM
RE: MPU-9255 - by maxencep - 2017-06-14, 07:04 PM
RE: MPU-9255 - by Sailoog - 2017-06-14, 08:25 PM
RE: MPU-9255 - by maxencep - 2017-06-15, 03:27 PM
RE: MPU-9255 - by seandepagnier - 2017-06-18, 02:17 PM
RE: MPU-9255 - by Sailoog - 2017-06-19, 05:28 PM
RE: MPU-9255 - by seandepagnier - 2017-06-19, 05:50 PM
RE: MPU-9255 - by Sailoog - 2017-06-19, 06:18 PM
RE: MPU-9255 - by Sailoog - 2017-06-21, 05:58 PM
RE: MPU-9255 - by seandepagnier - 2017-06-21, 07:56 PM
RE: MPU-9255 - by Sailoog - 2017-06-29, 06:43 PM
RE: MPU-9255 - by seandepagnier - 2017-06-29, 08:26 PM
RE: MPU-9255 - by Sailoog - 2017-06-30, 06:00 PM
RE: MPU-9255 - by seandepagnier - 2017-06-30, 11:45 PM
RE: MPU-9255 - by Sailoog - 2017-07-01, 07:09 PM
RE: MPU-9255 - by seandepagnier - 2017-07-02, 02:07 AM
RE: MPU-9255 - by Sailoog - 2017-07-02, 01:25 PM
RE: MPU-9255 - by Sailoog - 2017-07-02, 01:28 PM
RE: MPU-9255 - by abarrow - 2017-07-03, 09:42 PM
RE: MPU-9255 - by maxencep - 2017-07-04, 09:17 AM
RE: MPU-9255 - by Sailoog - 2017-07-04, 04:00 PM
RE: MPU-9255 - by NousVoila - 2022-02-11, 02:59 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)