Openkore.com

OpenKore Forums
It is currently 14 Dec 2018, 22:05

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Fixing SCons, need a second brain
PostPosted: 09 Jul 2008, 15:30 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
I'm working on making the SConstructs a little better (adding Python 2.5 + scons 0.98.5 and Perl 5.10 support while retaining the original SConstruct code) and I'm running into a strange error.
Code:
buildXS(["src\auto\XSTools\PathFinding\PathFinding.xs.cpp"], ["src\auto\XSTools\PathFinding\PathFinding.xs"])
Creating src\auto\XSTools\PathFinding\PathFinding.xs.cpp ...
g++ -o src\auto\XSTools\PathFinding\PathFinding.xs.o -c -Wall -g -O2 -pipe -Wno-comments -include stdint.h -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -g -O2 -pipe -Wno-comments -include stdint.h -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DWIN32 -D__MINGW32__ -DWIN32IO_IS_STDIO -D_UINTPTR_T_DEFINED -DCHECK_FORMAT -IC:\Perl\lib\CORE src\auto\XSTools\PathFinding\PathFinding.xs.cpp
g++: src\auto\XSTools\PathFinding\PathFinding.xs.cpp: No such file or directory
g++: no input files
scons: *** [src\auto\XSTools\PathFinding\PathFinding.xs.o] Error 1
scons: building terminated because of errors.

I'm not sure what's different about the code that builds PathFinding, but NetRedirect.dll builds just fine. Any bright ideas? I'll skim over the XSTools SConstruct and see if it differs in any way.

Just a note: the master SConstruct (in the root OpenKore directory) was checking that platform is "windows," however the platform code actually returns "win32" on Windows, so until I fixed it, building XSTools/NetRedirect on Windows would cause scons to think it's running on Linux. But in case that was a recent change, I left in the check for "windows."
Code:
win32 = cygwin or platform == "win32" or platform == "windows"

_________________
cs : ee : realist


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group