Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cygwin compile work
12-16-2007, 11:38 AM,
#1
Cygwin compile work
Hi Joe,
This is really somewhat of a PM,but since I don't actually log in often and there's nothign in here I want to keep secret, I'll post to the forum.

So anyways, I saw you rolled back my "IS_WIN" changes in the scons files. Sorry about breaking the builds Sad. I don't have other systems to test on at the moment. However, I really would like to get this working in the future.

Is it possible that the build on other platforms broke because env['IS_WIN'] was only intialized on windows builds?

perhaps adding env['IS_WIN'] = False on the other platform intialization fixes will also fix things. If this works, then I can try to find a more elegant solution at a more leisurely pace.

Thanks.
Reply
12-16-2007, 02:46 PM,
#2
 
Quote:Sorry about breaking the builds

No worries.

Quote:Is it possible that the build on other platforms broke because env['IS_WIN'] was only intialized on windows builds?

Yep, that's what the error message was about.

Quote:perhaps adding env['IS_WIN'] = False on the other platform intialization fixes will also fix things.

It probably would have. I actually tried to fix it another way; replace all of the
Code:
if env['IS_WIN']:
with
Code:
if ( 'win32' == sys.platform or 'cygwin' == sys.platform ):

I tested this fix on my mingw/msys setup on windows and it compiles fine with the changes. Can you see if R1891 works for you?
Reply
12-17-2007, 09:51 AM,
#3
 
Yep. That works (except for actually building with cygwin which is a work in progress.. sort of) and is what I had originally. I just tried to come up with a method that requires less typing.. I tend to prefer those Smile. Anyways, no biggie.

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)