×
INDI Library v1.8.5 Released (19 Apr 2020)

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

Re:Big object file with QT-Creator

4 months 6 days ago
escriban
Senior Boarder
Senior Boarder
Posts: 54
Karma: 1
More
Topic Author
Re:Big object file with QT-Creator #50484
Hi all

Half a year ago I begun to develop a new driver for the DDM "AOK-Skywalker". The learning curve was rather steep, but I manged to produce a working INDI-driver for this mount and I'm quite a bit proud of it.

Latterly, when I cleared up some code, I noticed that the file produced with QT-Creator is 5 to 6 times bigger that the one compiled by Jasem. I suppose this has to do with the debug informations, that are build in.
Now what are the required settings to catch up with the size of the file in the repo?

Thanks for the hints
Antonio

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

4 months 4 days ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 893
Karma: 13
More
Re:Big object file with QT-Creator #50549
Hello Antonio, first you may check the build type when you initially configure the build folder with cmake. See cmake.org/cmake/help/v3.0/variable/CMAKE_BUILD_TYPE.html .

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

3 months 4 days ago 3 months 4 days ago by escriban.
escriban
Senior Boarder
Senior Boarder
Posts: 54
Karma: 1
More
Topic Author
Re:Big object file with QT-Creator #51700
For all those who want to know:

The size of the object file can be reduced with "strip". It does what it says: Discarding additional information (like symbols) from the object file (see here ).

Until now I couldn't manage QT Creator to "cmake" an "install/strip", because this requires root privileges.

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

Time to create page: 0.163 seconds