×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] unable to compile indi-duino

  • Posts: 2255
  • Thank you received: 223
I had today to rebuild my RPI which is running www.indilib.org/develop/arduino/meteostation.html
I've followed the instructions from indiduino.wordpress.com/downloads/ to build it but it fails with:
root@heidenrod-weather:~/INDI/build/indi-duino# cmake ../../indi-code/3rdparty/indi-duino
-- The CXX compiler identification is GNU 4.6.3
-- The C compiler identification is GNU 4.6.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'libindi'
--   found libindi, version 1.1.0
-- Found INDI: /usr/include/libindi (found version "1.1.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /root/INDI/build/indi-duino
root@heidenrod-weather:~/INDI/build/indi-duino# 
root@heidenrod-weather:~/INDI/build/indi-duino# 
root@heidenrod-weather:~/INDI/build/indi-duino# make
Scanning dependencies of target firmata
[ 11%] Building CXX object CMakeFiles/firmata.dir/libfirmata/src/firmata.o
[ 22%] Building CXX object CMakeFiles/firmata.dir/libfirmata/src/arduino.o
Linking CXX static library libfirmata.a
[ 22%] Built target firmata
Scanning dependencies of target ask_analog_pin
[ 33%] Building CXX object CMakeFiles/ask_analog_pin.dir/libfirmata/examples/ask_analog_pin.o
Linking CXX executable ask_analog_pin
[ 33%] Built target ask_analog_pin
Scanning dependencies of target ask_digital_pin
[ 44%] Building CXX object CMakeFiles/ask_digital_pin.dir/libfirmata/examples/ask_digital_pin.o
Linking CXX executable ask_digital_pin
[ 44%] Built target ask_digital_pin
Scanning dependencies of target blink_pin
[ 55%] Building CXX object CMakeFiles/blink_pin.dir/libfirmata/examples/blink_pin.o
Linking CXX executable blink_pin
[ 55%] Built target blink_pin
Scanning dependencies of target indi_duino
[ 66%] Building CXX object CMakeFiles/indi_duino.dir/indiduino.o
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp: In member function ‘virtual void indiduino::ISPoll()’:
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:165:2: error: ‘INDI_TYPE’ was not declared in this scope
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:165:12: error: expected ‘;’ before ‘type’
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:168:2: error: ‘type’ was not declared in this scope
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp: In member function ‘bool indiduino::setPinModesFromSKEL()’:
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:559:2: error: ‘INDI_TYPE’ was not declared in this scope
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:559:12: error: expected ‘;’ before ‘type’
/root/INDI/indi-code/3rdparty/indi-duino/indiduino.cpp:562:2: error: ‘type’ was not declared in this scope
CMakeFiles/indi_duino.dir/build.make:54: recipe for target 'CMakeFiles/indi_duino.dir/indiduino.o' failed
make[2]: *** [CMakeFiles/indi_duino.dir/indiduino.o] Error 1
CMakeFiles/Makefile2:200: recipe for target 'CMakeFiles/indi_duino.dir/all' failed
make[1]: *** [CMakeFiles/indi_duino.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
root@heidenrod-weather:~/INDI/build/indi-duino#



I had this working perfectly fine before, just to let you know I have installed the deb packages from www.indilib.org/download/category/6-raspberry-pi.html
Last edit: 8 years 11 months ago by Gonzothegreat.
8 years 11 months ago #4247

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
8 years 11 months ago #4248

Please Log in or Create an account to join the conversation.

  • Posts: 58
  • Thank you received: 6

I'm having the same problem but your link goes to totally different problem thet doesn't really help, so what was the solution??
8 years 11 months ago #4260

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223

in my case the following did it:
The following user(s) said Thank You: Pasi Sarkkinen
8 years 11 months ago #4261

Please Log in or Create an account to join the conversation.

Time to create page: 0.351 seconds