|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Linux U++ libraries
|
|
|
Re: Linux U++ libraries [message #53294 is a reply to message #53292] |
Thu, 26 March 2020 18:37   |
Oblivion
Messages: 1204 Registered: August 2007
|
Senior Contributor |
|
|
Hmm, that's bad.
I'm not on Ubuntu, but you can try a trick I use sometimes:
Try ldd to get the paths for TheIDE (ldd can show the required libraries linked against theIDE's executable):
#ldd /usr/bin/theide # if it is the right path, I mean.
You can check the paths.
The output should be something like this:
linux-vdso.so.1 (0x00007ffd5b64b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9c2c110000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f9c2bfe8000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f9c2be30000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f9c2bdd0000)
libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007f9c2b6f0000)
libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007f9c2b5f0000)
//....
Hopefully you can start from there.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
Re: Linux U++ libraries [message #53298 is a reply to message #53297] |
Thu, 26 March 2020 21:08   |
Oblivion
Messages: 1204 Registered: August 2007
|
Senior Contributor |
|
|
hello Koldo,

Did you download the devel or dev packages?
AFAIK, they have to be installed separately.
If that does not do the trick, can you check the current library cache? Because it has to be updated. (devel packages usually do that automatically for you.
First,
It should list the current library paths.
Still, if you don't see the paths you need, add the paths /usr/lib, /lib/, /usr/local/lib to /etc/ld.so.conf,
and then run ldconfig to update cache.
See: http://man7.org/linux/man-pages/man8/ldconfig.8.html
Hope this helps.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
|
|
Re: Linux U++ libraries [message #53305 is a reply to message #53304] |
Fri, 27 March 2020 15:12   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Hi Olivion
Thank you for your effort.
Unfortunately .bm.in files seem to be just templates, where include and lib files are empty:
In my previous output you can see this:DOMAKE INFO: Configuring uppsrc/Makefile.in uppsrc/uMakefile.in CLANG.bm.in GCC.bm.in with pkg-config
/usr/bin/pkg-config
DOMAKE INFO: pkg-config: Found library gtk+-3.0
DOMAKE INFO: pkg-config: Found library x11
DOMAKE INFO: pkg-config: Found library libnotify
DOMAKE INFO: pkg-config: Found library freetype2 Somebody seems to search for folders, but .bm files are not created.
Edit: I have even changed permissions to HOME and sources folder, giving full permissions to anybody, but nothing changes.
Best regards
Iñaki
[Updated on: Fri, 27 March 2020 15:18] Report message to a moderator
|
|
|
|
Re: Linux U++ libraries [message #53312 is a reply to message #53311] |
Sat, 28 March 2020 11:39   |
 |
koldo
Messages: 3432 Registered: August 2008
|
Senior Veteran |
|
|
Thank you Deepak
Do you mean that it is not necessary to fill the include/lib paths in .BM file?
Anyway, if the .BM files have to be set by hand, it seems there is something broken in Linux installer.
Edit: This is the .upp/theide folder just after install. No .BM file
Best regards
Iñaki
[Updated on: Sat, 28 March 2020 11:51] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Linux U++ libraries [message #53321 is a reply to message #53318] |
Sat, 28 March 2020 21:10   |
 |
amrein
Messages: 278 Registered: August 2008 Location: France
|
Experienced Member |
|
|
mirek wrote on Sat, 28 March 2020 17:19koldo wrote on Sat, 28 March 2020 15:05Quote:I think the best is to avoid .bm completely and just setup these in theide when there is no .bm available. In this case, as in Windows, it could be an "Automatic build methods setup.." option, although I think TheIDE should have to be fully ready after make install.
Actually, this already works... And there is no difference really, if there are no .bm, ide makes them on start. You would not notice that happened.
The .bm files created with "domake" are mainly for umk command line users.
The script copy raw GCC.bm.in and CLANG.bm.in as GCC.bm and CLANG.bm.
[Updated on: Sat, 28 March 2020 21:15] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 09:58:04 CEST 2025
Total time taken to generate the page: 0.01234 seconds
|
|
|