I am attempting to run this simple patch: osc_test.pd on my Windows 10 computer, headless, using pd 0.48-1 along with the mrpeach external. Using command prompt, I go to the directory that contains this patch, and then enter the command "pd -nogui osc_test.pd". When I do this, I get
error: udpreceive: socket: Either the application has not called WSAStartup, or WSAStartup failed. (10093)
verbose(4): ... you might be able to track this down from the Find menu.
error: udpsend socket: Either the application has not called WSAStartup, or WSAStartup failed. (10093)
error: udpsend: not connected
However, when I instead enter the command "pd osc_test.pd" (with the GUI) it is able to run properly. By run properly, I mean that
udpsend: connecting to port 9001
print: /test 20 30 40
is printed in the pd terminal window, which is the expected behavior.
I am looking for assistance in determining how to run this patch headless. It must be the case that "pd osc_test.pd" calls WSAStartup, but I am not sure why "pd -nogui osc_test.pd" does not …? Any help would be greatly appreciated!