Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling FreeIMU_serial_2 Error #103

Open
abdalrahman9 opened this issue Mar 20, 2019 · 3 comments
Open

Compiling FreeIMU_serial_2 Error #103

abdalrahman9 opened this issue Mar 20, 2019 · 3 comments

Comments

@abdalrahman9
Copy link

Hello there,

The problem that I am having is compiling the FreeIMU_serial_2 which is suppose to be an edited version of the first version so that it can be compatibile with the new arduino IDEs. However, when I am trying to compile it under Arduino 1.8.7 or 1.8.8, I recieve the following error:

In file included from C:\Users\FMC\Documents\Arduino\libraries\stlport-avr-STLport-master-arduino-installed/type_traits:31:0,

                 from C:\Users\FMC\Documents\Arduino\libraries\AP_Math_freeimu/AP_Math_freeimu.h:5,

                 from C:\Users\FMC\Documents\Arduino\FreeIMU_serial_2\FreeIMU_serial_2.ino:27:

C:\Users\FMC\Documents\Arduino\libraries\stlport-avr-STLport-master-arduino-installed/cstddef:102:41: error: expected unqualified-id before 'nullptr'

 /* extern */ const _STLP_STD::nullptr_t nullptr = {};

`

The person that posted issue #98 had a similar problem but you had given him the files and said that it should work but it doesn't. From what I understand is that it shouldn't be even looking at the stlport library but it is. I am trying to compile it on a LSM9DS1 through an Arduino nano. Thank you for your help.

@mayankmeh
Copy link

i am also having the same problem, did you got it working?

@ShubhamBhatt
Copy link

Me too any solution yet

@mjs513
Copy link
Owner

mjs513 commented Jan 31, 2022

You can try commenting out that line and it the file cstddef. Unfortunately I am unable to test if it works. Nullptr should already be defined for Arduino.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants