-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug]: cmake compiling issues #344
Comments
Find the MFX include directoryfind_path(MFX_INCLUDE_DIR Check if the include directory was foundif(NOT MFX_INCLUDE_DIR) Set the MFX libraries variableset(MFX_LIBRARIES mfx) Function to get the MFX version from the headersfunction(get_mfx_version mfx_version_major mfx_version_minor) Get the MFX versionget_mfx_version(major_vers minor_vers) Set the API version and flagsset(API_VERSION "${major_vers}.${minor_vers}") if(NOT TARGET onevpl-api) set(MFX_API_TARGET onevpl::api) Message for enabling the API versionmessage(STATUS "Enabling API ${major_vers}.${minor_vers} feature set with flags ${API_FLAGS}") This is the issued finder |
Which component impacted?
Build
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
Unable to compile properly, maybe issue FindMFX.cmake
What's the usage scenario when you are seeing the problem?
Others
What impacted?
~/oneAPI/vpl-gpu-rt-intel-onevpl-24.1.5/build$ cmake ..
-- No build type selected, default to release
-- Found MFX include at:
CMake Error at builder/FindMFX.cmake:23 (file):
file STRINGS file "/mfxdefs.h" cannot be read.
Call Stack (most recent call first):
builder/FindMFX.cmake:38 (get_mfx_version)
CMakeLists.txt:80 (include)
-- Enabling API . feature set with flags -DMFX_VERSION_USE_LATEST
-- OpenCL header files were found here: /home/george_z/oneAPI/vpl-gpu-rt-intel-onevpl-24.1.5/../../build_tools/OCLHeaders
fatal: not a git repository (or any of the parent directories): .git
-- CMAKE_INSTALL_PREFIX=/opt/intel/mediasdk
fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:93 (message):
ConfTargets.cmake not found in
/home/george_z/oneAPI/vpl-gpu-rt-intel-onevpl-24.1.5/builder
-- Configuring incomplete, errors occurred!
Debug Information
no debug information
Do you want to contribute a patch to fix the issue?
Yes, I'm glad to submit a patch to fix it
The text was updated successfully, but these errors were encountered: