×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

build version not updated

8 months 2 weeks ago 8 months 2 weeks ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 649
Karma: 1
More
Topic Author
build version not updated #48003
Hi
If I build kstars from source and run it from the build folder, the build version is not updated in either kstars - help - about or in the logs.
This can be misleading.
To get it to update the version number I have to delete the build folders and start again from the git source.
Subsequent updates from git pull result in the same build version being recorded, even though the updated version is running.
Any ideas?
I'm not a Linux expert so there's very likely something simple I've missed...

Cheers,
Steve

kubuntu 20.04
700d, eq6, t7m

Please Log in or Create an account to join the conversation.

8 months 2 weeks ago
jpaana
Gold Boarder
Gold Boarder
Posts: 277
Karma: 6
More
build version not updated #48004
The version string is generated when running CMake so rerunning it re-generates kstars/version.h where the string is, "cmake ." (cmake space period) in the build directory.

Remote observatory running Ubuntu 20.04 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You alacant

Please Log in or Create an account to join the conversation.

8 months 2 weeks ago 8 months 2 weeks ago by alacant.
alacant
Platinum Boarder
Platinum Boarder
Posts: 649
Karma: 1
More
Topic Author
build version not updated #48005
Thanks.
OK, so say I'm updating a previous build, the events would be:
in Projects/kstars
git pull
in Projects/build/kstars
make clean
cmake .
make

Or should the cmake . call be as before:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/kstars

?
TIA

kubuntu 20.04
700d, eq6, t7m

Please Log in or Create an account to join the conversation.

8 months 2 weeks ago 8 months 2 weeks ago by jpaana.
jpaana
Gold Boarder
Gold Boarder
Posts: 277
Karma: 6
More
build version not updated #48011
Yes, if you already have run cmake once in the directory, "cmake ." is enough, it re-runs cmake with previously cached parameters.

Remote observatory running Ubuntu 20.04 x64 with ScopeDome 2M, Skywatcher EQ8, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You alacant

Please Log in or Create an account to join the conversation.

Time to create page: 0.443 seconds