alright!
had some issues with displayHeight
- not having that in handleProject.cpp
caused an undefined variable error, and if i did put it in it caused a multiple definitions error.
shouldn't the 'multiple definitions' mean that it could already see it in the first place, and that it should work fine without having it in? seems contradictory, but i'm sure i'll get my head around that one day 🙂
anyway, moving the def back inside the parsing function in main.cpp
smooths that out, and now at least it is compiled and running. HOORAY!
still, no smooth sailing yet: if i send a bang from local.pd, as in
bang
|
oscformat project0 test
i get both the notification that it got and matched the message, AND an error:
Message from 192.168.7.1:37358
received /project0/test
An error occurred with message to: /project0/test: unexpected types and/or length
i can only assume the "received" is coming from the function inside handleProject0.cpp?
which should cause a message on screen to appear. which it doesn't.
if i send a float instead of a bang (just testing) i only get the error.