So, based on the advice given here: Cannot find filesystem I used the RPi-Cpp-Toolchain to build my executable on my Ubuntu desktop. The build appeared to succeed, but I can't find the executable anywhere. Also, being rusty with this stuff, I don't even really know the name of it.
Here is the output of my build.
/snap/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=pi-zero.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_DEPENDS_USE_COMPILER=FALSE -G "CodeBlocks - Unix Makefiles" /tmp/tmp.UNnm1OGKQ2 -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/thomas/lib/RPi-Cpp-Toolchain/toolchain/x-tools/armv6-rpi-linux-gnueabihf/bin/armv6-rpi-linux-gnueabihf-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/thomas/lib/RPi-Cpp-Toolchain/toolchain/x-tools/armv6-rpi-linux-gnueabihf/bin/armv6-rpi-linux-gnueabihf-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python: /usr/bin/python3.8 (found version "3.8.6") found components: Interpreter -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /tmp/tmp.UNnm1OGKQ2/cmake-build-raspberry-pi-release [Finished]
Here's the dir listed above:
thomas@bravos:/tmp/tmp.UNnm1OGKQ2/cmake-build-raspberry-pi-release$ ls bin CMakeFiles lib rookery.cbp Testing CMakeCache.txt cmake_install.cmake Makefile src tst
Nothing in bin. Nothing else obvious. Couldn't find anything in my project dirs either. Looking for a pointer.