构建文件夹和makefile

时间:2016-02-04 07:05:36

标签: c++ makefile

问题来自于我在Ubuntu上为深度学习框架Caffe编译makefile时的困惑,但我认为,这与编译C ++ makefile的本质有关。

在" make all"之后,编译中生成的文件被放入一个隐藏文件夹:.build_release,而不是在cpp文件所在的相应文件夹中。

然后,当我尝试运行以下行时:

./data/mnist/get_mnist.sh
./examples/mnist/create_mnist.sh

我收到系统找不到文件的错误:

./create_mnist.sh: 16: ./create_mnist.sh:     build/examples/mnist/convert_mnist_data.bin: not found

但该文件实际存在于.build_release文件夹中。 发生了什么以及如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

问题不在于#First rewrite any request to the wrong domain to use the correct one (here www.) RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # #Now, rewrite to HTTPS: RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ,您只需要仔细按照说明操作即可。 makeBUILD_DIR指定。默认情况下,此文件夹名为Makefile.config。按照编译说明操作后:

build

导航至cp Makefile.config.example Makefile.config # Adjust Makefile.config (for example, if using Anaconda Python) make all make test make runtest

build