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

Building errors #1

Open
WilliamWangPeng opened this issue Mar 24, 2021 · 1 comment
Open

Building errors #1

WilliamWangPeng opened this issue Mar 24, 2021 · 1 comment

Comments

@WilliamWangPeng
Copy link

HI dear author
Honor to write a letter to you, I have met this problem when building on linux

wangpeng@dacent:~/tools/3d/78/Messier87/build$ make
[ 11%] Building CXX object CMakeFiles/Messier87.dir/blackhole.cpp.o
In file included from /home/wangpeng/tools/3d/78/Messier87/blackhole.h:2:0,
                 from /home/wangpeng/tools/3d/78/Messier87/blackhole.cpp:1:
/home/wangpeng/tools/3d/78/Messier87/common.h:6:10: fatal error: Windows.h: No such file or directory
 #include <Windows.h>
          ^~~~~~~~~~~
compilation terminated.
CMakeFiles/Messier87.dir/build.make:75: recipe for target 'CMakeFiles/Messier87.dir/blackhole.cpp.o' failed
make[2]: *** [CMakeFiles/Messier87.dir/blackhole.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/Messier87.dir/all' failed
make[1]: *** [CMakeFiles/Messier87.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2

Thank you
Best Regards
William

@zhongjn
Copy link
Owner

zhongjn commented Mar 24, 2021

Hi,

As the error suggests, this project requires Windows API, so it could only be built on Windows at the moment. I am no longer maintaining this project, so maybe you should fix on your own fork. 😃

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

2 participants