×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Setting developpement environment

Maybe you can use this?

The following user(s) said Thank You: Hy Murveit
4 years 5 months ago #45088
Attachments:

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

  • Posts: 46
  • Thank you received: 6
I updated the tutorial. Looking back at the readme, I think that's probably valid, and I was just confused about the repository split at the time. A Wiki would be great, much simpler to update, which of course means it'd be much more likely that people would take the time to contribute.
4 years 4 months ago #45153

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

  • Posts: 554
  • Thank you received: 138
A couple of things I've found that helps with builds:

Adding a Tool Argument of -j6 to the cmake options in the QtCreator build allows it to use multiple cores for the cmake part of the build

And something that maybe useful if we don't have kdesudo is to set sudo to run make with no password. This allows it to be added as a QtCreator build process.

in a terminal run "sudo visudo -f /etc/sudoers.d/<file-name>"
add the line "<user> ALL=(ALL) NOPASSWD:/usr/bin/make" to the file, then exit and save - ^X

<file-name> is a suitable file, I used chris-nopasswd and <user> is the user name

now adding sudo make -j8 install to the Qt build will work. This also uses all the cores and builds are a lot faster.
4 years 4 months ago #45601

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

Time to create page: 0.568 seconds