I download the folders from github and follow the getting started guide and I get this error when i try to upload the code.
./DroneUploadEmbeddedCode.sh
Drone: Trying to pack autogenerated code using PackEmbeddedCode...
C-files are being packed...
C-files packed and ready to be built!
Drone: Autogenerated code using PackEmbeddedCode packed!
Drone: Trying to build code...
/opt/arm-2012.03/bin/arm-none-linux-gnueabi-gcc -c -fPIC -Wall -o Drone_Compensator.o ../Drone_Compensator.c -lm
../Drone_Compensator.c: In function 'Drone_Compensator_initialize':
../Drone_Compensator.c:2424:7: error: unknown type name 'RTWPreprocessingFcnPtr'
How could I solve it?
I download the folders from github and follow the getting started guide and I get this error when i try to upload the code.
./DroneUploadEmbeddedCode.sh
Drone: Trying to pack autogenerated code using PackEmbeddedCode...
C-files are being packed...
C-files packed and ready to be built!
Drone: Autogenerated code using PackEmbeddedCode packed!
Drone: Trying to build code...
/opt/arm-2012.03/bin/arm-none-linux-gnueabi-gcc -c -fPIC -Wall -o Drone_Compensator.o ../Drone_Compensator.c -lm
../Drone_Compensator.c: In function 'Drone_Compensator_initialize':
../Drone_Compensator.c:2424:7: error: unknown type name 'RTWPreprocessingFcnPtr'
How could I solve it?