Closed fsgmhoward closed 2 years ago
Hello, thanks for your suggestions! I fixed the dependencies of build.sh
. I recommend to run build.sh
if your machine is Ubuntu18.04
. We also provide the Dockerfile to build the toolchains of x86/x64.
@bin2415 Thanks! For the docker file it do work although sometimes it will be good to download resources using http instead of ftp. That occurs for a script of one of the dependencies and I have to do a sed
replacement because my network blocked outbound ftp connections. I understand not in the scope of your dockerBuild.sh
though.
While I follow the README and build ground truth generator on my VM, I encountered some issues.
System information:
Protobuf current version 21.x no longer use
autogen.sh
so the script will exit in error at line 45Suggested fix: tag the old branch when pulling repo, e.g.
When running
bash x86/build.sh
,PWD_PATH
is set to bex86/build
, so at line 76PROTODEF_DIR
is set to bex86/proto
which is wrong. This should probably be:Error in compilation of binutils & gas 2.30
This might due to gcc version 11.2.0 and ld version 2.38 being too new for the package. Tried to update to latest binutils 2.39 and it fixed this issue while introduced new ones. Still finding a way to get around with it. I will try docker version first.