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

Positioning of 'ntv2linuxdriverinterface.h' relative to other includes #22

Open
zerodefect opened this issue Jul 2, 2024 · 1 comment

Comments

@zerodefect
Copy link

I'm building v17.0.1 of the ntv2 library released on March 9th, 2024.

I build the SDK as follows:

cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DAJA_NTV2_SDK_BUILD_NUMBER=$AJA_NTV_PKG_RELEASE -DAJA_INSTALL_HEADERS=ON -DAJA_INSTALL_SOURCES=OFF -DAJA_INSTALL_MISC=OFF -DAJA_INSTALL_CMAKE=OFF -DAJANTV2_DISABLE_DEMOS=ON -DAJANTV2_DISABLE_TOOLS=ON -DAJANTV2_DISABLE_TESTS=ON -DAJANTV2_DISABLE_PLUGINS=ON ..
make

Subsequently, I use checkinstall to create an internally-distributable .dpkg. I notice that the location of where the ntv2linuxdriverinterface file is positioned upon install is quirky and is not in line with what I'd expect.

So ntv2card.h makes an include of ntv2linuxdriverinterface.h however, the include doesn't take account of relative locations (nor directory nesting).

Screenshot from 2024-07-02 10-55-16

I'm not sure if AJA_INSTALL_CMAKE will make things easier, but I don't want cmake to be a forced dependency on other code projects.

This is being built on Ubuntu v22.04.

@thomas43
Copy link

Hi @zerodefect , letting you know that we are discussing this issue as well as #23 with the team. Should have an update soon.

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