jhdewitt / sltk

An OpenCV-based structured light processing toolkit.
MIT License
255 stars 63 forks source link

Just an update 3.29.18 #8

Open prahjister opened 6 years ago

prahjister commented 6 years ago

All the bin files are at least running chessfind chessgen listcreator plotlens slcalibrate slcrunch

I am missing sldisp right now it is the only thing not compiling. :)

slcontrol doesn't seem to be doing anything. After I press start capture nothing happens...unless it is requiring a response from sldisp which is currently not running due to not compiling currently

Coming along nicely

prahjister commented 6 years ago

Looked at top and 1 core is running about 80% with slcapture.py

Looking good. This is a 4 core arm box with s905x processor. I have a s912 which is faster if this one gets overloaded

prahjister commented 6 years ago

Now that i have restarted running much better around 5% with slcapture running

jhdewitt commented 6 years ago

I am missing sldisp right now it is the only thing not compiling. :)

May I have the error log of attempting to compile latest sldisp?

prahjister commented 6 years ago

prahjister@amlogic:\~/sltk-master$ make sldisp g++ -lstdc++ sldisp.cpp util.cpp -o bin/sldisp sdl2-config --static-libs --cflags pkg-config --libs --cflags liblo -lGL -lGLU -lglut sldisp.cpp: In function ‘int main(int, char**)’: sldisp.cpp:673:35: error: ‘SERVER_CONTROL_ADDRESS’ was not declared in this scope lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT); ^ sldisp.cpp:673:59: error: ‘SERVER_CONTROL_PORT’ was not declared in this scope lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT); ^ Makefile:67: recipe for target 'sldisp' failed make: *** [sldisp] Error 1 prahjister@amlogic:~/sltk-master$

Also this is the makefile I use to compile. There is one issue that i have to tell it to make sldisp manually it doesnt auto do it. I cant figure out why

Makefile.zip

jhdewitt commented 6 years ago

SERVER_CONTROL_ADDRESS , SERVER_CONTROL_PORT not found

these are #defines for the ip address and port (using quotes) for the box running slcapture.py (so in your case 0.0.0.0 i think.)

I'm in the process of cleaning up the network config variables amongst all the networked programs and getting my house in order so to speak on that front.

prahjister commented 6 years ago

looks like it is not pulling in from ports.h

jhdewitt commented 6 years ago

New page on wiki for reference as to what's talking to what: Networking Notes

I want to have a commit pushed by end of weekend that will bring these five programs into a more sane state. As you can very much tell, the repo is not in a state of "all on one box" by default. engage coffee