After I installed pocl, I found that the include directory was not
installed in the directory specified by *'-DCMAKE_INSTALL_PREFIX='*, but
was generated in the *share* directory under the directory specified by*
-DCMAKE_INSTALL_PREFIX*=
The directory tree is as follows:
pocl
├── exe (Specify the installation directory)
│ ├── bin
│ ├── etc
│ │ └── OpenCL
│ │ └── vendors
│ ├── lib64
│ │ ├── pkgconfig
│ │ └── pocl
│ └── share
│ └── pocl
│ └── include
But the content of my pocl.pc file is as follows:
prefix=/pocl/exe
exec_prefix=/pocl/exe/bin
libdir=/pocl/exe/lib64
includedir=/pocl/exe/include
Name: Portable Computing Language
Description: Portable Computing Language
Version: 3.1-pre master-0-gcbbd8b97
Libs: -L${libdir} -lpocl
Cflags: -I${includedir}
This results in the command `pkg-config --libs --cflags pocl` prompting the
error
bash: -Ipocl/exe/include: No such file or directory
And even if I manually adjust the* includedir *path of the pocl.pc file, I
still get the same error message.
How can I adjust this part to get the correct result?
Thanks
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel