Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble building example sender with MSYS2 MINGW64 on Windows 11 #52

Closed
PeteHaughie opened this issue Jul 18, 2024 · 2 comments
Closed

Comments

@PeteHaughie
Copy link

PeteHaughie commented Jul 18, 2024

I've got what I think is a pretty good CLI and VSCode only pipeline working across Mac OS and Windows but I'm still rounding out the edges of my Windows knowledge when trying to get your send/receive example up and running.

Both Silicon and Intel Macs are happy to build the build the example sender but Windows throws this error after running the build Debug task:

../../../addons/ofxNDI6/src/ofxNDIdynloader.cpp:205:9: error: 'p_ndi_runtime' was not declared in this scope
  205 |         p_ndi_runtime = getenv("NDILIB_REDIST_FOLDER");
      |         ^~~~~~~~~~~~~

The addon is cloned into a folder called ofxNDI6 because I have the older ofxNDI installed as well. I have changed the metaname to ofxNDI6 to reflect this fact.

The NDI distributable is also installed. I can see that the dylib loader file is looking in the default location I have installed to. System has been restarted previous to build attempt.

I've tried exporting a variable with the name NDILIB_REDIST_FOLDER and the location of the NDI distributable - C:\Program Files\NDI\NDI 6 Runtime\v6 - and also adding a system variable with that name and location to no avail. Can you suggest anything else I might try?

@leadedge
Copy link
Owner

This is a typo, it should be -

p_NDI_runtime_folder

Note the caps. I don't know why this was not detected earlier.

@PeteHaughie
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants