在GitHub上下了openVR,不懂怎么安装,用make install 提示“make: *** No rule to make target `install'. Stop.”
readme里面的内容我黏贴出来,请大神指导一下:
## Dependencies
* Qt 5.x
* GLEW 1.11+
* SDL2
* OpenVR
The only general external dependency is Qt5.
On GNU/Linux, you will need GLEW 1.11 (available on most package manager).
On Windows x64, you will need the SDL2 runtime library.
## Build
**Important:**
*you might need to specify Qt5 cmake module path manually when generating the cache for the first time using the __CMAKE_PREFIX_PATH__ macro (see examples below).*
We will use the command-line on Unix and [Git Bash](https://git-for-windows.github.io/) on Windows.
First, move from the repository root to the samples directory to create a build directory:
```
cd samples
mkdir build; cd build
```
Then, depending on your system:
### Unix
Generate the CMake cache using Makefile:
```
cmake .. -G Makefile -DCMAKE_PREFIX_PATH=/opt/Qt/5.6/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release
```
To build type:
```
make -j4
```
有几个疑问:
1、* Qt 5.x
* GLEW 1.11+这两个deepin系统里面有吗,还是要单独在下载呀?
2、在第一次生成缓存时,可能需要手动指定Qt5 cmake模块路径,具体怎么操作呀?
3、第一步中:“从存储库根目录移动到样例目录以创建构建目录”是直接在终端里面输入代码
```
cd samples
mkdir build; cd build
```
是吗?
4、Generate the CMake cache using Makefile:我没有找到Makefile,也是直接在终端里面输入代码吗?
readme里面的内容我黏贴出来,请大神指导一下:
## Dependencies
* Qt 5.x
* GLEW 1.11+
* SDL2
* OpenVR
The only general external dependency is Qt5.
On GNU/Linux, you will need GLEW 1.11 (available on most package manager).
On Windows x64, you will need the SDL2 runtime library.
## Build
**Important:**
*you might need to specify Qt5 cmake module path manually when generating the cache for the first time using the __CMAKE_PREFIX_PATH__ macro (see examples below).*
We will use the command-line on Unix and [Git Bash](https://git-for-windows.github.io/) on Windows.
First, move from the repository root to the samples directory to create a build directory:
```
cd samples
mkdir build; cd build
```
Then, depending on your system:
### Unix
Generate the CMake cache using Makefile:
```
cmake .. -G Makefile -DCMAKE_PREFIX_PATH=/opt/Qt/5.6/gcc_64/lib/cmake -DCMAKE_BUILD_TYPE=Release
```
To build type:
```
make -j4
```
有几个疑问:
1、* Qt 5.x
* GLEW 1.11+这两个deepin系统里面有吗,还是要单独在下载呀?
2、在第一次生成缓存时,可能需要手动指定Qt5 cmake模块路径,具体怎么操作呀?
3、第一步中:“从存储库根目录移动到样例目录以创建构建目录”是直接在终端里面输入代码
```
cd samples
mkdir build; cd build
```
是吗?
4、Generate the CMake cache using Makefile:我没有找到Makefile,也是直接在终端里面输入代码吗?