Skip to content

Commit

Permalink
fix build install
Browse files Browse the repository at this point in the history
  • Loading branch information
luc committed Nov 20, 2023
1 parent 241acde commit 3ccc20a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dep-g2o.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: prebuilt-g2o
path: ${{ github.workspace }}/externals/prebuild_scripts/g2o
path: ${{ github.workspace }}/externals/prebuild_scripts/g2o/INSTALL-vs


5 changes: 4 additions & 1 deletion externals/prebuild_scripts/build_g2o_for_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ZIPFILE="$ARCH"_g2o
ZIPFOLDER="build/$ZIPFILE"
BUILD_D=build/"$ARCH"_debug
BUILD_R=build/"$ARCH"_release

VERSION="20170730_git"
clear
echo "Building g2o using the sources in the thirdparty directory"
if [ ! -d ../g2o ]
Expand All @@ -20,12 +20,15 @@ fi

cd ../g2o

git checkout $VERSION

# Make build folder for debug version
mkdir build
rm -rf $BUILD_D
mkdir "$BUILD_D"
cd "$BUILD_D"


# Run cmake to configure and generate the make files
cmake \
-DCMAKE_INSTALL_PREFIX=install \
Expand Down

0 comments on commit 3ccc20a

Please sign in to comment.