kkimurak / ssl-setup

Bash script that setup the official RoboCup-SSL tools with required packages ( https://github.com/RoboCup-SSL/ )
4 stars 0 forks source link

grSim build failed : PKG_CONFIG_PATH empty? #44

Open kkimurak opened 4 years ago

kkimurak commented 4 years ago

I've tested on Fedora32 but build for grSim failed. It stopped with reporting error about FindODE even pkg-config is already installed.
Then I checked var, it was empty

$ echo $PKG_CONFIG_PATH
# nothing shown

ok, PKG_CONFIG_PATH is not set.

I've tested with this and build passed successfully. If I can't find out any solution, I'll put this in script.

$ pwd
~/Documents/robocup/tools/grSim/build
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig cmake ..
kkimurak commented 4 years ago
$ uname -a
Linux (domain is deleted by me) 5.6.6-300.fc32.x86_64 # 1 SMP Tue Apr 21 13:44:19 UT 2020 x86_64 x86_64 x86_64 GNU/Linux
$ pkg-config --version
1.6.3
$ pkg-config --variable pc_path pkg-config
/usr/lib64/pkgconfig:/usr/share/pkgconfig
$ find / -name "ode.pc" 2>/dev/null
/usr/local/lib/pkgconig/ode.pc
# it means ode.pc is on the directory that pkg-config do not search by default
kkimurak commented 4 years ago

Fedora 32 already supports ode-double so this should be problem with dependency #37