Quote:
Originally Posted by Thad House
Hmm that sounds like the link to cscore still isn't being setup right. Try instead of -L/home/pi/cscore/Linux/arm and -lcscore, try -L/home/pi/cscore/Linux/arm/libcscore.a
That should force the link. Sorry this is a lot of toubleshooting. I've only really tested the gradle setup, and unless you specifically needing to custom compile either ntcore or cscore, I'd recommend using that, since that will make sure to have all the linker settings right. If you want to try that, clone the repo to that link I sent for the build arguments, and use the Cpp folder. Basic setup is go into build.gradle, comment out ext.builtType = "windows", and uncomment the 3 lines below the comment that says uncomment these to build natively on a Pi. Then just replace the main.cpp in the src file with your main, and that should work. Your file works when testing on my end, so it's definitely something not being right in the make link script.
|
Its now working. I can see the output of the opencv stream right on my driverstation. I did what you said above and it worked flawlessly. Thank you for all the help and debugging. The framerate is actually wonderful. Almost no lag.
- Drew
"You must spread some Reputation around before giving it to Thad House again."