hnes/libaco

build failed from the latest release

Closed this issue · 2 comments

below comes the output from my shell

jiangyunfan@wejoy:~/Downloads/libaco-1.2.4$ bash make.sh -o no-m32
OUTPUT_DIR:       ./output
CFLAGS:           -g -O2 -Wall -Werror
EXTRA_CFLAGS:     
ACO_EXTRA_CFLAGS: 
OUTPUT_SUFFIX:    ..no_valgrind.standaloneFPUenv
        cc -g -O2 -Wall -Werror   acosw.S aco.c test_aco_tutorial_0.c  -o ./output/test_aco_tutorial_0..no_valgrind.standaloneFPUenv
/usr/bin/ld: cannot open output file ./output/test_aco_tutorial_0..no_valgrind.standaloneFPUenv: 没有那个文件或目录
collect2: error: ld returned 1 exit status
error: make.sh:build fail
error: make.sh:exit

jiangyunfan@wejoy:~/Downloads/libaco-1.2.4$ uname -a
Linux wejoy 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
jiangyunfan@wejoy:~/Downloads/libaco-1.2.4$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:        18.10
Codename:       cosmic

hnes commented

Hi @yunfan, I think that is because an "output" directory hasn't been created before the make.sh is running.

As described in the "Build and Test" part of the README.md:

$ mkdir output
$ bash make.sh
$ cd output
$ bash ../test.sh

Do you mind to try again? Please let me know if such issue still exists. Thanks a lot.

sorry for not read that. now the building works
and the benchmarks is so cool