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

macOS errors #38

Closed
moebiussurfing opened this issue Jul 14, 2022 · 10 comments
Closed

macOS errors #38

moebiussurfing opened this issue Jul 14, 2022 · 10 comments

Comments

@moebiussurfing
Copy link

Hello @leadedge ,

Should the add-on work on macOS?
Should I make some special setup?

I am on Big Sur Xcode 13,

it compiles but crashes when opening on:

// Get NDI dll version number
std::string ofxNDIsender::GetNDIversion()
{
	return NDIsender.GetNDIversion();
}
// Get the current NDI SDK version
std::string ofxNDIsend::GetNDIversion()
{
     return p_NDILib->version();
}
@leadedge
Copy link
Owner

I can only build for Windows. But other people have contributed for MacOS and it works OK for them. It should be fine for Openframeworks without any special setup.

I haven't had any reports of this problem. Does it crash before returning the string or is the string null? Also you could check that p_NDILib is not null. It should show the methods available.

@moebiussurfing
Copy link
Author

Captura de Pantalla 2022-07-14 a la(s) 00 52 34

@moebiussurfing
Copy link
Author

here I am using of_v0.11.2_osx_release

@leadedge
Copy link
Owner

It looks like the NDI library has not loaded.
Try installing the NDI runtime

@moebiussurfing
Copy link
Author

Thanks.
That link points to a .exe / windows.
That runtime is the SDK? or NDI Tools is enough?
I reinstalled NDI Tools to the last one from the site, but I am getting the same.

@moebiussurfing
Copy link
Author

I found that repo:
https://ndi.palakis.fr/runtime/

@leadedge
Copy link
Owner

The package for NDI 5 should work. The Tools might install it too, so the problem could still be there.

ofxNDIdynloader::Load() has some text output you could trace.

@moebiussurfing
Copy link
Author

moebiussurfing commented Jul 14, 2022

it worked after installed that pkg
ndi-runtime-5.0-macOS.pkg
I didn´t know about that runtime.
always installed NDI Tools and worked on Windows.

@leadedge
Copy link
Owner

OK that's a good result. Maybe the runtime is installed with the SDK rather than the Tools. I can't test but I will see what I can find.

@leadedge
Copy link
Owner

From an old install of the NDI SDK for Windows, "NDI 5 Runtime.exe" is contained in a "NDI 5 SDK\Redist" folder.

I have another folder "NDI 5 Runtime" as well as "NDI 5 SDK" but that contains only the dll files. I am not sure what happens with MacOs. The NDI webpage does not mention the runtime at all as far as I can see.

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