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

Where is namespace CECSharp? #14

Open
HowardHonig opened this issue Feb 12, 2023 · 1 comment
Open

Where is namespace CECSharp? #14

HowardHonig opened this issue Feb 12, 2023 · 1 comment

Comments

@HowardHonig
Copy link

HowardHonig commented Feb 12, 2023

Trying to build cec-dotnet using Visual Studio on a Window 11 in C#. Most of the classes in cec-dotnet require namespace CecSharp. Seems to find all the other namespaces. I tried finding it in all the libraries and don't see it. Which file is it located in?

Rant update 2 weeks after initial post:
I can't believe how fubar all the Pulse-Eight "open source" Windows project files are. Although the candid or pre-build programs seem to work and I haven't tried linux, all the sample code are missing important files. For example, files like CECSharp for c#, the cpp-example doesn't run without extensive modifications, the files to build cec.lib don't seem to exist anywhere, the python program doesn't run because of missing files, etc. What's even more frustrating the hardware module has no basic instructions on how to use it without the candid programs. There is no hint to what the default baud rate is on the USB, for example. Maybe it works for Kodi and raspberry pi's, but that's not my application. I don't get it, how can they sell such a product with claims there are open source examples but don't work and there is no support. It was only $50 but at this point I feel like sending it back to them.

@lukjak
Copy link

lukjak commented May 21, 2023

In case you still need it - it's in \src\dotnetlib\CecSharpTypes.h, but in https://github.com/Pulse-Eight/libcec project. This one is a submodule of libcec.
To get the whole project, clone libcec with submodules:

git clone https://github.com/Pulse-Eight/libcec
git submodule init
git submodule update

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