gpt4 book ai didi

ubuntu - 使用 Make 编译

转载 作者:行者123 更新时间:2023-12-04 18:32:25 26 4
gpt4 key购买 nike

我的命令有问题 MakeMake Install在托克斯。

我想将自己的汽车安装到游戏中,但是当我想编译时,我遇到了这个问题。

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

reaper@skynet:~/TORCS/torcs-1.3.6/src/drivers/BI0006-BI0038$ sudo make install
make *** No Rule To Make Target Install'. stop

文件夹内容 BI0006-BI0038它应该是我的车的地方是:
reaper@skynet:~/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

我已经安装了所有的包和依赖项,并且游戏运行良好,但我需要解决这个问题,因为它是针对我大学的项目的。

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

最佳答案

您可以尝试关注 this thread

Have a look into the robot tutorial, http://www.berniw.org, navigate into the TORCS section.
In the "TORCS installation instructions", it is explained how to set up the environment.

For "personal work" I usually install TORCS in my home directory, then I do not need to mess around with permissions, for that I use "./configure --prefix=${HOME}/torcs_bin".

You can have a look as well into the makefiles of existing robots.

关于ubuntu - 使用 Make 编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26082942/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com