Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

unable to compile git since commit d76e6780 #12

Closed
FelixSchwarz opened this issue Jul 6, 2020 · 2 comments
Closed

unable to compile git since commit d76e6780 #12

FelixSchwarz opened this issue Jul 6, 2020 · 2 comments
Assignees

Comments

@FelixSchwarz
Copy link

FelixSchwarz commented Jul 6, 2020

Describe the bug

I'm unable to compile fancon since git commit d76e678 (I used cmake … -DNVIDIA_SUPPORT=OFF ..).

commit d76e6780ff87fdb4a76e65934b0592d6b338ef6d
Author: Hayden Briese <haydenbriese@gmail.com>
Date:   Thu May 7 02:02:38 2020 +1000

    - Fixed bug where configured NVIDIA devices may be run without NVIDIA control
    
    Signed-off-by: Hayden Briese <haydenbriese@gmail.com>

Steps to Reproduce

$ make
Scanning dependencies of target fancon
[  5%] Building CXX object CMakeFiles/fancon.dir/src/main.cpp.o
[ 11%] Building CXX object CMakeFiles/fancon.dir/src/Controller.cpp.o
…/upstream.git/src/Controller.cpp:12:3: error: use of undeclared identifier 'NV'
  NV::init();
  ^
1 error generated.
make[2]: *** [CMakeFiles/fancon.dir/build.make:148: CMakeFiles/fancon.dir/src/Controller.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/fancon.dir/all] Fehler 2
make: *** [Makefile:150: all] Fehler 2

Expected behavior

compilation works

Environment

  • Version: fancon git (commit d76e678)
  • OS: Fedora 31
  • Kernel: 5.7.7
  • clang: 9.0.1
  • g++: 9.3.1

Additional context

@hbriese
Copy link
Owner

hbriese commented Jul 7, 2020

Please pull the latest commit (563c9db) and try again

@FelixSchwarz
Copy link
Author

works for me now (I assume it was fixed in e0e6994)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants