maya2egg linux error

If you’re talking about the pointer returned from getenv() I’m not sure you actually should free() it.

I’m ok with not worrying too much about support for maya 7 and older at the moment. Just tried building maya2egg7 and got tangled up in another libstdc++5 vs libstdc++6 fight … I guess the best way would be to set up gcc3 and use that for everything?

I actually meant the pointer returned from strcpy. No big deal, though.

Yeah, those ancient versions of maya specifically need gcc3 (the newer ones
gcc4 I think.) So I don’t worry either.

I’ll just make sure on non-windows platforms pystub won’t get linked in.

drwr, when I make the pystub change, I should make it for ppremake as well. How to specify in the Sources.pp file that pystub should only be linked on windows?
Something like:

$[if $[WINDOWS_PLATFORM] pystub]

or so perhaps?

That should do the trick!

David

Okay, I changed it to this:

$[if $[WINDOWS_PLATFORM],pystub,]

I’m not so familiar with ppremake syntax though, so it might not be correct.