0
我有一個項目,我在Code :: Blocks(它是一個DLL文件),它不會正確編譯。 Code :: Blocks表示不存在項目中的文件。 我正在運行Code :: Blocks 13.12。Code :: Blocks項目不能正常工作
注意:爲了隱私目的,我用#替換了項目名稱和文件擴展名。 注意:文件ntoskrnl.h存在,並在項目中。這就是我正在談論的。
生成日誌:
-------------- Build: Release in (compiler: GNU GCC Compiler)---------------
[ 0.3%] mingw32-gcc.exe -fexpensive-optimizations -O3 -DBUILD_DLL -fexpensive-optimizations -O3 -c \Source\Kernel\cache\cachesub.c -o output\Source\Kernel\cache\cachesub.c.o
[ 0.5%] mingw32-gcc.exe -fexpensive-optimizations -O3 -DBUILD_DLL -fexpensive-optimizations -O3 -c \Source\Kernel\cache\copysup.c -o output\Source\Kernel\cache\copysup.c.o
[ 0.8%] mingw32-gcc.exe -fexpensive-optimizations -O3 -DBUILD_DLL -fexpensive-optimizations -O3 -c \Source\Kernel\cache\fssup.c -o output\Source\Kernel\cache\fssup.c.o
[ 1.1%] mingw32-gcc.exe -fexpensive-optimizations -O3 -DBUILD_DLL -fexpensive-optimizations -O3 -c \Source\Kernel\cache\lazyrite.c -o output\Source\Kernel\cache\lazyrite.c.o
[ 1.4%] mingw32-gcc.exe -fexpensive-optimizations -O3 -DBUILD_DLL -fexpensive-optimizations -O3 -c \Source\Kernel\cache\logsup.c -o output\Source\Kernel\cache\logsup.c.o
\Source\Kernel\cache\cachesub.c:12:22: fatal error: ntoskrnl.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
\Source\Kernel\cache\copysup.c:11:22: fatal error: ntoskrnl.h: No such file or directory
\Source\Kernel\cache\fssup.c:12:22: fatal error: ntoskrnl.h: No such file or directory
\Source\Kernel\cache\lazyrite.c:11:22: fatal error: ntoskrnl.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
\Source\Kernel\cache\logsup.c:11:22: fatal error: ntoskrnl.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 1 second(s))
5 error(s), 0 warning(s) (0 minute(s), 1 second(s))
請幫助!
這與C#完全無關,你爲什麼還原編輯? – Rob
我不知道那是你編輯的。我通常會回覆主持人編輯,因爲他們經常在我以前發佈的其他論壇上討厭我。 – kittyhacker101