-
Notifications
You must be signed in to change notification settings - Fork 233
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
Build failure with version 18.27.11048: igfxfmid.h: No such file or directory #61
Comments
I don't see such issue on any build system we use. I was able to compile the whole stack under Arch using AUR package from https://aur.archlinux.org/packages/compute-runtime, and builds on Travis and Semaphore under Arch also passed. Can you provide more details how have you prepared your workspace? What commit ID of gmmlib do you use? Can you also provide output from cmake command? |
I also have the same issue. Concerning commit IDs: I'm using the current git tip. Platform info: Kernel version: (a). uname -a
(b). uname -r
Linux version: (a). lsb_release -a
(b). Libva is also installed on this machine: vainfo:
|
I'm going to attempt to revert this commit and retest the build. Then I'll report back. |
Reverting the patch still results in a build failure.
As shown above. |
@Brainiarc7 Error with cloc is different problem. It looks like cloc uses incompatible IGC libraries, or there are missing dependencies. Can you run cloc after setting export LD_DEBUG=libs, and check output from linker?
In release 18.27.11048 localization where libraries are installed has changed from /opt/intel/opencl to /usr/local/lib (Ubuntu) or /usr/local/lib64 (Fedora). |
Yes, I have older versions of igc, gmmlib and Neo installed. I had been able to generate a working build earlier using these instructions: https://gist.github.com/Brainiarc7/1d13c7f432ba03a8e38720c83cd973d5 I'll share output from Cmake when I'm back on the testbed. |
Sorry for the late answer. Got very busy days.
I'm still getting this error when using the current compute-runtime git master: I do not have any version of igc or gmmlib installed while building compute-runtime. |
In my case: (a). Cmake output:
(b). Build error: Same as above, as commented by @dbermond |
@dbermond There is gmmlib installed on your system. See line 375 in log you've shared. Can you remove directory /usr/include/igdgmm and installed igdmm.pc file and re-run cmake? I'll look at such case when I'm back in the office. |
@jdanecki I see. I have Intel Media Driver git master installed on system, but not gmmlib by its own. The Curiously, these gmmlib files that are being installed by media driver are from gmmlib git master (media driver requires gmmlib source to compile), and being such there should be no problem in building compute runtime with them. But media driver installs Is there any hope of having a way to build compute runtime when having media driver installed alongside? |
I've reproduced this issue on my side and contacted both media and gmmlib teams. Let's wait for feedback from them. Headers from common directory are installed in different location, than provided by igdgmm.pc file
|
@JacekDanecki Good to know that you could reproduce it. Thank you for working on this issue. |
Using the latest media-driver and gmmlib code I was able to compile Neo on setup with media and gmmlib installed. |
@JacekDanecki Are you using intel-media-driver git master or the 18.3.pre2 pre-release?
intel-media-driver developers are having a hard time to handle the gmmlib dependency due to internal regressions. The current media-driver git master branch is still relying on building/installing gmmlib, while the pre-releases have included the option to use gmmlib from system. This is better explained by a intel-media-driver developer on this comment. |
My workspace looks like:
and I'm using repostitories:
To compile media-driver, gmmlib and Neo I've used below commands. GmmLib was not installed on the system.
I've used IGC and opencl-clang from ppa:
with versions:
|
@JacekDanecki I was using a different gmmlib directory name on the workspace when building intel-media-driver. This was leading to wrong directories at intel-media-driver install time. Using directory Anyway, intel-media-driver has allowed again the use of dynamic (installed) gmmlib in their current git master branch since September 6, 2018 through commit intel/media-driver@63dd4ae. This issue is now solved by the intel-media-driver side and I think it can be closed. Thanks to everyone who participated here. |
I'm getting the following compile error:
When using
make
with multiple jobs (-j
option), it shows multiple occurrences of this not found fileigfxfmid.h
, and also an error complaining about the not found filegtsysinfo.h
.Current git master gives me the same error.
Version 18.26.10987 builds fine for me.
A git bisect shows that this is being caused by commit 561cdb7.
Switching occurrences of
#include "igfxfmid.h"
to#include "common/igfxfmid.h"
across the source code fixes the corresponding error for me (and also occurrences of#include "gtsysinfo.h"
to#include "common/gtsysinfo.h"
. But there are a lot of files to change and I did not test all of them to check if it really fixes all errors.OS: Arch Linux x86_64
The text was updated successfully, but these errors were encountered: