Skip to content
New issue

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

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

Already on GitHub? # to your account

Undefined identifier error with Rivermax SDK 1.30.16 when compiling example #4

Open
avilleret opened this issue May 25, 2023 · 0 comments · May be fixed by #3
Open

Undefined identifier error with Rivermax SDK 1.30.16 when compiling example #4

avilleret opened this issue May 25, 2023 · 0 comments · May be fixed by #3

Comments

@avilleret
Copy link

It seems RMAX_API_MAJOR, RMAX_API_MINOR, RMAX_RELEASE_VERSION and RMAX_BUILD are no more defined with SDK 1.30.16.
Then trying to build example leads to undefined identifier error :

3>rivermax_player.cpp
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2759,55): error C2065: 'RMAX_API_MAJOR': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2760,55): error C2065: 'RMAX_API_MINOR': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2761,55): error C2065: 'RMAX_RELEASE_VERSION': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2762,74): error C2065: 'RMAX_BUILD': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2770,5): error C2660: 'rmax_get_version': function does not take 4 arguments
3>C:\Program Files\Mellanox\Rivermax\include\rivermax_deprecated.h(846,15): message : see declaration of 'rmax_get_version'
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2770,5): message : while trying to match the argument list '(unsigned int *, unsigned int *, unsigned int *, unsigned int *)'
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2771,22): error C2065: 'RMAX_API_MAJOR': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2771,52): error C2065: 'RMAX_API_MINOR': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2775,21): error C2065: 'RMAX_API_MINOR': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2775,50): error C2065: 'RMAX_RELEASE_VERSION': undeclared identifier
3>E:\dev\Smode\Nvidia_Rivermax_SDK\Rivermax\rivermax_player\rivermax_player.cpp(2775,83): error C2065: 'RMAX_BUILD': undeclared identifier

avilleret added a commit to avilleret/Rivermax that referenced this issue May 25, 2023
fix NVIDIA#4
the other 2 examples probably need similar changes however I can't build them since I'm running Windows
@avilleret avilleret linked a pull request May 25, 2023 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant