leadedge / ofxNDI

An Openframeworks addon to allow sending and receiving images over a network using the NewTek Network Device Protocol.
GNU General Public License v3.0
134 stars 48 forks source link

'windows.h' file not found #5

Closed pampanelson closed 4 years ago

pampanelson commented 6 years ago

nothing changed , just compiled after generate project , got this error in ofxNDIutils.h mac os high sierra

leadedge commented 6 years ago

This project is developed for Windows using Visual Studio. Changing it to build with xcode might be possible. You would start by removing ofxNDIdialog.h, ofxNDIdialog.cpp, resource.h, resource.rc and remove the line "#include " from all files. Then you will need to use the "Non-Windows" NDI libraries (InstallNDISDK_v3_Apple.pkg) and also look at the "C++ (Mac)" example.

leadedge commented 4 years ago

Some changes have been made to conditionals for includes for OSX and Arch Linux x64 compatibility copied from the work by Hugo Aboud [(https://github.com/hugoaboud/ofxNDI)]. But I do not have any systems to test with. Comments are welcome and I will make changes if I can. Resource files have been removed.