so ive been trying to make a simple LED blink program on the Jetson Nano using C++, i got this repo from GitHub - pjueon/JetsonGPIO: A C++ library that enables the use of Jetson's GPIOs which is simple to understand and use but it cant compile for some reason. Here’s the output to “g++ -o simple_out.cpp -lJetsonGPIO”
/usr/lib/gcc/aarch64-linux-gnu/7/…/…/…/aarch64-linux-gnu/Scrt1.o: In function _start': (.text+0x18): undefined reference to
main’
(.text+0x1c): undefined reference to `main’
collect2: error: ld returned 1 exit status