Comments (5)
It seem that you forgot the ..
when you build PaddlePaddle under the build directory. Because CMakeLists.txt
is under the PaddlePaddle's root directory, which is just outside your current build directory:
cmake -DWITH_GPU=OFF -DWITH_DOC=OFF ..
from paddle.
Yes. Add .. cmake works fine.
Then, I copy "make -j nproc
&& make install" in the document.
make: *** No targets specified and no makefile found. Stop.
The document should add "cd .." before make? I can build successfully outside build folder.
Or I make another mistake?
from paddle.
http://www.paddlepaddle.org/doc/build/build_from_source.html
Do you follow the build from source page and set make install path?
git clone https://github.com/baidu/Paddle paddle
cd paddle
mkdir build
cd build
- you can add build option here, such as:
cmake -DWITH_GPU=ON -DWITH_DOC=OFF -DCMAKE_INSTALL_PREFIX=<path to install> ..
make -j 'nproc' && make install
- PaddlePaddle installation path
export PATH=<path to install>/bin:$PATH
from paddle.
@wangmiao1981 seems that no Makefile's generated by cmake under the build directory.
You should check against the steps provided by @gangliao with yours, clean the repo, take the building steps again, and mind whether the Makefile's generated after cmake -DWITH_GPU=OFF -DWITH_DOC=OFF ..
and under the very build directory, just proceed:
# if one would like to install PaddlePaddle into the system,
# sudo before make install should be added
make -j `nproc` && make install
from paddle.
Yes. I built successfully once and installed it. Then, I check out a branch and try to play with it.
For that branch, I did compile again without installation. Then, I made once mistake by missing ..
in the cmake. After fix that, I type make -j
nproc`` inside build fold and saw the error above.
For some reason, Makefile is not generated. I will try again. Thanks for all your reply.
from paddle.
Related Issues (20)
- arm源码安装paddle2.6报错void* memcpy(void*, const void*, size_t) HOT 4
- 如果我想跳过单元测试中,关于fp64的所有测试,应该如何做 HOT 6
- paddle进行开启分布式训练时如何进行性能分析? HOT 4
- paddle-gpu总是报找不到类似libnccl.so链接库的错误 HOT 4
- paddle.utils.run_check()报错
- Assertion `p_in_data[idx] >= 0 && p_in_data[idx] < depth` failed. HOT 2
- 对于Custom Device如何注册fake_quantize_range_abs_max HOT 9
- Miscellaneous issues on CUDA
- 使用其他op实现2.3中的cumprod算子 HOT 1
- 静态图高阶微分计算结果不符合预期 HOT 1
- jetson nano jetpack4.6 有cp38的paddlepaddle gpu whl吗 HOT 1
- paddle.einsum is broken in dev version, and breaks tests in einops
- 静态图模式下通过nccl等方式完成流水线并行通信是否行得通 HOT 1
- index_add反向传播报错
- 缺少SequentialSampler HOT 2
- Visualdl输入命令后卡住没有反应 HOT 2
- Different result on CPU and GPU HOT 2
- 【Hackathon 6th Fundable Projects 2】修复记录
- paddlepaddle 2.6.1 paddleocr 2.7.3 lang='ch'与ocr_version=‘PP-OCRv4’ 报错FatalError: `Illegal instruction` is detected by the operating system Illegal instruction (core dumped) HOT 1
- PGL(Paddle Graph Learning)模块是否有ARM架构的版本呢?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle.