VAL icon indicating copy to clipboard operation
VAL copied to clipboard

how to build the package in the ubuntu

Open hello-starry opened this issue 3 years ago • 2 comments

I am a beginner ,when I download this package,how can I build in the ubuntu18.04

hello-starry avatar Jul 29 '21 01:07 hello-starry

Hi Have you tried using the make command? Do you know how to do that?CheersDerekSent from my Galaxy -------- Original message --------From: wuchun123 @.> Date: 29/07/2021 02:44 (GMT+00:00) To: KCL-Planning/VAL @.> Cc: Subscribed @.***> Subject: [KCL-Planning/VAL] how to build the package in the ubuntu (#55)

I am a beginner ,when I download this package,how can I build in the ubuntu18.04

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

DerekLong101 avatar Jul 29 '21 18:07 DerekLong101

git clone https://github.com/KCL-Planning/VAL.git
VAL/scripts/linux/build_linux64.sh all Release
tar -xzvf VAL/build/linux64/Release/Val--Linux.tar.gz -C /usr/local --strip-components=1

Worked like a charm on an Ubuntu 22.04, arm64 (add sudo to the last line depending on your current user's rights).

Note that the README mentions that build script.

Hi Have you tried using the make command?

That won't work, this is a CMake project. A standard way to build and install a CMake project would be:

git clone https://github.com/KCL-Planning/VAL.git
cmake -B VAL/build-host VAL
cmake --build VAL/build-host
cmake --install VAL/build-host --prefix /your/installation/destination

Note that your issue is not an issue, but a help request. Please go get help on StackOverflow, on the AI StackExchange or in the Planning Community's Slack instead of here.

victorpaleologue avatar Jul 13 '22 10:07 victorpaleologue