cnlohr / noeuclid

Non-euclidean GPU Raytraced Game
BSD 3-Clause "New" or "Revised" License
644 stars 48 forks source link

tcc_relocate now has different syntax. #28

Closed erinzm closed 9 years ago

erinzm commented 9 years ago

Fix so that it compiles.

erinzm commented 9 years ago

@cnlohr I'm not exactly sure why I had to do this to get it to compile, any ideas?

cnlohr commented 9 years ago

This doesn't actually work. I am not sure what's going on now, but, if I do this, it doesn't seem to find triggers sometimes.

Perhaps your problem is related to this: https://lists.gnu.org/archive/html/tinycc-devel/2012-08/msg00027.html ?

cnlohr commented 9 years ago

(I'm not merging this just yet)

erinzm commented 9 years ago

Just to let you know, my computer has a pretty messed up enviroment. I'll be trying to get it to compile on my new computer, don't have high hopes it'll run well on laptop integrated graphics. Perhaps the "correct" fix is to, as per the link you gave, _#define TCC_RELOCATE_AUTO (void_)1* I can patch the PR to do that.

On Mon, Jan 5, 2015 at 12:27 AM, Charles notifications@github.com wrote:

(I'm not merging this just yet)

— Reply to this email directly or view it on GitHub https://github.com/cnlohr/noeuclid/pull/28#issuecomment-68672697.

cnlohr commented 9 years ago

I can't tell is there any way of doing that with a new merge request? Does that different define fix your problem?

erinzm commented 9 years ago

Heh, sorry :) This was caused by my having TCC 0.9.25 instead of 0.9.26. Tried building with the latest version and it's all OK :)