Ahaha, code compile problems Created 14 years ago2010-04-27 23:35:01 UTC by 2muchvideogames 2muchvideogames

Created 14 years ago2010-04-27 23:35:01 UTC by 2muchvideogames 2muchvideogames

Posted 14 years ago2010-04-27 23:35:01 UTC Post #280830
I decided to compile the hl one sdk using GCC, which is as good as free gets.

But don't worry, I have already "fix" some of the problems myself, using a lack of coding knowledge. However that can only get me so far. So now I need your compassionate hands.

You all know how there are setThink and setTouch and their derivative (not pun) functions in almost every individual file, right? Yeah, well these functions, integral as they may be, are causing me the problems, I think. What happens is: in every file, these functions cause errors related to how it's invalid for these functions to static_cast from type A to type B.This occurs in every individual file, which leads me to think that this has to do with the setThink/Touch/Others functions themselves. Or this crappy compiler. I don't know. The source code admitted to using static_cast as a "sleazy" way to do their thing, so I suspect this problem is prolly not too uncommon. So, hopefully someone may have run into this problem and found the solutions.
Posted 14 years ago2010-04-30 20:08:24 UTC Post #280916
ok nevermind, I did a cheap, long-ass time method to get around this problem. I just got out this dll file and it looks like I can finally begin coding. How fun.
You must be logged in to post a response.