2017-06-21 343 views
0

在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

回答

0

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 –

相關問題