Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 15 Mar 2013
Offline Last Active Nov 25 2014 10:20 AM

Posts I've Made

In Topic: Audio API

25 November 2014 - 10:22 AM

Interesting, I didn't even know that there are different OpenAL. I simply used the default on Linux/OSX and found some installer for Windows. Checking back in synaptic, it already uses by default openalsoft. So I'll check someday what I'm actually using on Win/Mac...rolleyes.gif

In Topic: statically link curl on Linux

21 November 2014 - 05:30 AM

Yes thanks I've added those from: curl-config --static-libs
and now get:


Finished building: ../main.cpp
Building target: lin.xpl
Invoking: GCC C++ Linker
g++ -Wl,-rpath=.,-Bdynamic,-lopenal,-lidn,-static,-fPIC -L/usr/lib/x86_64-linux-gnu/ -shared -o "lin.xpl"  ./BitmapSupport.o ./main.o  /usr/lib/x86_64-linux-gnu/libcurl.a -lrtmp -lgcrypt -lgnutls -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -llber -lldap -lz -lcurl -lSDL -lGL
/usr/bin/ld: /usr/lib/x86_64-linux-gnu//libgcrypt.a(libgcrypt_la-visibility.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/x86_64-linux-gnu//libgcrypt.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [lin.xpl] Error 1


I use Eclipse so maybe I could use the main.o and manually link with gcc? Well anyway what to change above? It works if I only link static libcurl but I guess users are not

happy to install manually the other krypto etc. libs. libcurl is different on Fedora hence I try to link all that stuff statically.

Many thanks

In Topic: statically link curl on Linux

21 November 2014 - 01:23 AM

Thanks it compiled using -DCURL_STATICLIB and giving the .a file in the miscellaneous Eclipse options. Ldd doesn't show curl anymore but now I get the runtime error:

undefined symbol: GSS_C_NT_HOSTBASED_SERVICE

This comes from Kerberos? Actually I only need http, could I avoid the above without recompiling libs?

Thanks again for help.

In Topic: C# .Net Open Source

20 November 2014 - 02:19 AM

I don't like Mono but might try C# when it will be integrated fully in Ubuntu. When speed is comparable to C++ and doesn't pose install fuss for users, I might use it or simply stick to C++. I'm curious if Unity3D will move to MS C# as they didn't update to the latest Mono.

In Topic: Freeware Video Editing

20 November 2014 - 02:13 AM

I use Kdenlive on Ubuntu.