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

nouveau.h error while building/using GDev with Cmake #37

Open
duttasankha opened this issue Oct 2, 2017 · 2 comments
Open

nouveau.h error while building/using GDev with Cmake #37

duttasankha opened this issue Oct 2, 2017 · 2 comments

Comments

@duttasankha
Copy link

duttasankha commented Oct 2, 2017

Hi

I was trying to follow the instructions mentioned in https://github.com/shinpei0208/gdev/blob/master/docs/README.cmake.md
I have provided the default cmake options.
However, when I am executing make -C release there is an error of :
fatal error: nouveau.h: No such file or directory
and then the compilation is getting terminated.
Any help to overcome this error would be much appreciated. Thank you. The details of make -C release is provided below:
make[1]: Entering directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
make[2]: Entering directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
Scanning dependencies of target gdev
make[2]: Leaving directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
make[2]: Entering directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
[ 0%] Building C object lib/CMakeFiles/gdev.dir/user/gdev/gdev_lib.c.o
[ 1%] Building C object lib/CMakeFiles/gdev.dir//common/gdev_api.c.o
[ 2%] Building C object lib/CMakeFiles/gdev.dir/
/common/gdev_device.c.o
[ 3%] Building C object lib/CMakeFiles/gdev.dir//common/gdev_nvidia.c.o
[ 3%] Building C object lib/CMakeFiles/gdev.dir/
/common/gdev_nvidia_compute.c.o
[ 4%] Building C object lib/CMakeFiles/gdev.dir//common/gdev_nvidia_fifo.c.o
[ 5%] Building C object lib/CMakeFiles/gdev.dir/
/common/gdev_nvidia_mem.c.o
[ 6%] Building C object lib/CMakeFiles/gdev.dir//common/gdev_nvidia_nvc0.c.o
[ 6%] Building C object lib/CMakeFiles/gdev.dir/
/common/gdev_nvidia_nve4.c.o
[ 7%] Building C object lib/CMakeFiles/gdev.dir//common/gdev_nvidia_shm.c.o
[ 8%] Building C object lib/CMakeFiles/gdev.dir/
/common/gdev_sched.c.o
[ 9%] Building C object lib/CMakeFiles/gdev.dir/user/nouveau/libnouveau.c.o
[ 9%] Building C object lib/CMakeFiles/gdev.dir/user/nouveau/libnouveau_ib.c.o
[ 10%] Building C object lib/CMakeFiles/gdev.dir/user/nouveau/nouveau_gdev.c.o
/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/lib/user/nouveau/nouveau_gdev.c:35:21: fatal error: nouveau.h: No such file or directory
compilation terminated.
lib/CMakeFiles/gdev.dir/build.make:374: recipe for target 'lib/CMakeFiles/gdev.dir/user/nouveau/nouveau_gdev.c.o' failed
make[2]: *** [lib/CMakeFiles/gdev.dir/user/nouveau/nouveau_gdev.c.o] Error 1
make[2]: Leaving directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
CMakeFiles/Makefile2:179: recipe for target 'lib/CMakeFiles/gdev.dir/all' failed
make[1]: *** [lib/CMakeFiles/gdev.dir/all] Error 2
make[1]: Leaving directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/duttasankha/Desktop/SANKHA_ALL_FILES/RESEARCH_WORK/GDEV_TOP_DIR/gdev-master/release'

@Amyzhangyuhui
Copy link

Have you solved this problem?

@stradicat
Copy link

This problem persists.

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

3 participants