2014-09-28 113 views
1

Torcs中的命令MakeMake Install有問題。使用Make編譯

我想將自己的汽車安裝到遊戲中,但是當我想編譯時我會遇到這個問題。

[email protected]:~/TORCS/torcs-1.3.6/src/drivers/BI0006-BI0038$ sudo make 
[sudo] password for reaper: 
make: *** No targets. Stop. 

[email protected]:~/TORCS/torcs-1.3.6/src/drivers/BI0006-BI0038$ sudo make install 
make *** No Rule To Make Target Install'. stop 

它應該是我的車夾BI0006-BI0038的內容是:

[email protected]:~/TORCS/torcs-1.3.6/src/drivers/BI0006-BI0038$ ls 
bi0006bi0038.cpp bi0006bi0038.dsp bi0006bi0038.so logo.rgb pw-evoviwrc.rgb 
bi0006bi0038.def bi0006bi0038.o bi0006bi0038.xml Makefile 

我已經安裝了所有packeages和依賴,也是遊戲的完美運行,但我需要解決這個問題,因爲它是我大學的項目。

我的TORCS的版本是1.3.6和Ubuntu 14.04 LTS(64 bist版本)。

回答

0

你可以嘗試,並按照this thread

看一看到robot tutorialhttp://www.berniw.org,導航到TORCS部分。
在「TORCS installation instructions」中,介紹瞭如何設置環境。

對於「個人工作」,我通常在我的主目錄中安裝TORCS,那麼我不需要搞亂權限,因爲我使用「./configure --prefix=${HOME}/torcs_bin」。

您可以看看現有機器人的makefiles。