Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 15 Mar 2013
Offline Last Active Nov 21 2014 05:30 AM

Posts I've Made

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.

In Topic: Microsoft release free Community Edition of VS 2013

14 November 2014 - 01:10 AM

So, by 'Visual Studio targeting Linux' does not mean you can (a) start running it on Linux or (b) start writing desktop applications for Linux. In fact, the parts of .NET that are used for desktop applications are still closed source. It means you can target .NET-based services running in Ubuntu containers running on Azure that can push JSON out to apps running on an iPhone, all from your Surface Pro 3. Much like you already can do with your Chromebook.


Thanks, never heard of Ubuntu containers...will google that someday. So we simply wait for Ubuntu, Unity3D etc. to replace Mono with MS C# to avoid license problems? And as bonus

it probably runs faster and will become supported out of the box without having users to install runtimes? Good news then, I might someday start coding with QT# or GTK#.