Page 1 of 1

assert.h?

PostPosted: Dec 31, 2001 @ 3:53am
by RwGast
Hey i d/l the q2 src anf was trying to compile gamex86.dll for the ppc but i got 48 error and they were all from the source trying to include assert.h. I didnt know what this file was so i searched my computer for it and found out its part of th MSVC++ library, so anyone know the ppc equivealent is, if there is no equivalent i would sure like to know what you did to get it working Dan?  I am trying to do this so ill know the exact procedure for porting mods when pq2 is out.

Re: assert.h?

PostPosted: Dec 31, 2001 @ 10:01am
by Dan East
That's for throwing assertions, usually used during debugging when something fails. Just comment out those includes, and any calls to the assert function.<br><br>Dan East

Re: assert.h?

PostPosted: Dec 31, 2001 @ 10:03am
by Dan East
BTW, the reason that is the only error you're getting is because the compiler aborts if it can't find a header, etc. So once you correct that, you will get 100+ errors on several source files. That is where the porting comes in. :)<br><br>Dan East

Re: assert.h?

PostPosted: Dec 31, 2001 @ 1:29pm
by RwGast
Heh ys thats what i figured that i would get more errors. Thanks for the info, are you planning on releasng the source when your done?

Re: assert.h?

PostPosted: Dec 31, 2001 @ 1:39pm
by RwGast
Ok i just had the same problem with time.h is it ok to just comment all refrences out to that file too?

Re: assert.h?

PostPosted: Dec 31, 2001 @ 4:35pm
by R0B
Yeah, that should be fine.  Time functions are easy to spot , and convert to wince (they usually have the word time in them).  And I believe that all of wince's time fuctions are included in winbase.h which is in turn included in windows.h, so if you include windows.h that should give you access to all of the time functions.  (Note, nearly all windows programs include windows.h)  To find a replacement, just use the help included with eVC to find a replacement function.

Re: assert.h?

PostPosted: Dec 31, 2001 @ 5:10pm
by RwGast
Thanks Rob. Did that file work out for you? Also thanks for the help getting my sdk working i figured out i have to instsll it manually for some reason me embedded tools doesnt install it even when its checked. Now i can get started doing this and learning EasyCE. :)