Search found 7 matches

by mike19331
Mon Mar 30, 2020 2:32 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

yes and no in same time. i have some pc with different suse systems on it. in dynlib version i cant change program between the pcs. i am forced to compile on every single computer. (sample abi) . and additional i remember a change of odbc library: i compiled version 2, and the other pc got version 1...
by mike19331
Sun Mar 29, 2020 3:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

Honestly, i get doubts too. my testprogram with testlib is about 12 mb. a testprogram whats only a window, and the lib, whats only a messagebox. the plan had been, to be independant from the system libraries in several envirements like in windoofs. better had been, now i have to use appimage instead...
by mike19331
Sun Mar 29, 2020 8:46 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

lots of thanks. its solved in that way. but anyway as alternative i will try appimage too.

have a great sunday :)
by mike19331
Sun Mar 29, 2020 6:35 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

good idea. i just tried so.
./configure --enable-abi-incompatible-features --disable-shared --disable-debug CXXFLAGS="-fPIC"

:( same result
by mike19331
Sun Mar 29, 2020 4:36 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

i am sorry, your right. its some more infos needed: i use selfcompiled version of 3.1 with following config: ../configure --enable-abi-incompatible-features --disable-shared --disable-debug for the libraries. Works fine for the executables, but if i want to build a shared library with that, i get fo...
by mike19331
Sat Mar 28, 2020 5:11 pm
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Re: Link Problems in Linux

Thanks for ur answer. Your right, appimage is a possible solution. The only problem about: i use in my cura program, and its sooo slow.

Better would be the basic way, compiling with static libraries. Means, you dont see any way to link static libraries in dynlib?
by mike19331
Sat Mar 28, 2020 8:45 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 472

Link Problems in Linux

i want to build my programs in linux independent, means in static library mode. Works well, but i need to add plugins too. While compiling the plugins, i always get error message "cant be used in dynlib". Anyone with a hint about? Base is, to prevent ABI problems on other computers.