致命错误: 'jssy.h' 找不到文件

致命错误: 'jssy.h' 找不到文件

问题描述:

在MacOS:致命错误: 'jssy.h' 找不到文件

我试图编译libipatcher

./autogen.sh 

然后我得到这个错误:

libipatcher.cpp:17:10: fatal error: 'jssy.h' file not found #include "jssy.h" ^~~~~~~~ 1 error generated. make[1]: * [libipatcher_la-libipatcher.lo] Error 1 make: * [check-recursive] Error 1

而开发商有一个jssy Xcode项目,其中jssy.h文件位于。

我该如何解决?

+0

你忘了运行'./configure'吗? – Ssswift

+0

不,我运行./configure,但我仍然有这个问题程序没有找到jssy.h文件 –

+0

你传递给'。/ configure'的参数是什么? – Ssswift

jssy is in a submodule所以你需要取它。

为了这样做,根据pull using git including submodule,或者:

git clone --recursive https://github.com/tihmstar/libipatcher.git 

或:

git submodule init; git submodule update 

,或者使用SourceTree。您可以尝试./autogen.sh

+0

谢谢,所以jssy.h问题已解决,但现在它说 –

+0

libipatcher.cpp:18:10:致命错误:找不到'xpwn/libxpwn.h'文件 #include ^ ~~~~~~~~~~~~~~~ 生成1个错误。 make [2]:*** [libipatcher_la-libipatcher.lo]错误1 make [1]:*** [all-recursive]错误1 make:*** [all]错误2 –