Hi
I’m working on a ROS-robotic-project and want to use the jetson nano with the former rpi extension board (ads7830, mpu6050, pca9685), the driver uses the wiringPi library so it’s exciting that now the wiringJet library can handle that for the nano!
But I don’t understand how to change the linker settings in my CMakeList.txt:
“To use wiringJet in your program, #include <wiringJet.h> and add -lwiringjet -lpthread to your linker settings.”
Thank you for your reply, i managed the linker settings, but was unable to compile the servo controller code because of not yet implemented functions in wiringJet I think:
/usr/bin/ld: servo_controller.cpp:(.text+0x64): undefined reference to PCA9685::PCA9685(int, int)' /usr/bin/ld: servo_controller.cpp:(.text+0xa0): undefined reference to PCA9685::connect()’
/usr/bin/ld: servo_controller.cpp:(.text+0x220): undefined reference to PCA9685::set_pwm_freq(float)' /usr/bin/ld: servo_controller.cpp:(.text+0x354): undefined reference to PCA9685::connect()’
/usr/bin/ld: servo_controller.cpp:(.text+0x4d8): undefined reference to PCA9685::set_pwm_freq(float)' /usr/bin/ld: servo_controller.cpp:(.text+0x6bc): undefined reference to PCA9685::~PCA9685()’
/usr/bin/ld: servo_controller.cpp:(.text+0x6cc): undefined reference to `PCA9685::~PCA9685()’