Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're 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 25 2014 10:20 AM

Topics I've Started

statically link curl on Linux

20 November 2014 - 02:59 AM


is it possible to statically link curl on Ubuntu? It seems to have lots of dependencies. Simply adding:


didn't change anything. It compiles but ldd still points to libcurl.



Project Cars

12 October 2014 - 10:31 AM

Project Cars should be coming next month:




Probably the best car simulation, what do you think?


avoid localhost // verify url

07 October 2014 - 01:50 AM


I get a file via curl ok. Now I want to avoid users to change hosts file, so that they could place/access a copy of that file locally.

Any ideas in c++? I've tried with htaccess on the server but no luck as curl uses apparently http to get the file. So I guess I need to check

if localhost is running and if so disable loading of my file? Or better check for the correct url?

Many thanks


CreateInstance can only be called from the main thread.

27 August 2014 - 12:29 AM

New to Unity and c# I get:

CreateInstance can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.

How to rewrite and/or put into the main cs?
private BSplineMath bmath = ScriptableObject.CreateInstance("BSplineMath") as BSplineMath;


If I put that in the main class I get a reference error:

error CS0103: The name `bmath' does not exist in the current context

No wonder, how to use an instance in another class. In c++ I would only

include the header?
Many thanks in advance


after framebuffer to dark

16 August 2014 - 06:39 AM


it could be that after my framebuffer objects are to dark as it's last in stack. Would you have any idea

on what to check or what could I be doing wrong? Thanks for ideas etc.