![]() |
|
#1
|
|||
|
|||
PATH points to nonexistent dirHi, I'm using SCons and MS's free compiler. I've followed someones instructions for acquiring all the needed resources. SCons invokes lib.exe, which is getting false path info. Below I'm going to list lib.exe's code, what it prints when it fails (showing the path it sees), and what my PATH is set to (when I say 'path' at the prompt).
(this is someone elses code, I did not write it) CPP / C++ / C Code:
lib.exe outputs: Quote:
My PATH is set to: Quote:
Most important question I have is this: What is going on here??? As you can see from my path quote, I have my paths set correctly in the 'Environment Variables' section of 'My Computer's' advanced properties. I've learned from messing with this that I DO have to log out and log back in to get the System Variables to update after making changes, so that's not an issue. It seems pretty clear to me; lib.exe is getting it's path info from some source other than the so-called "Environment Variables". Thanks |
|||
|
#2
|
||||
|
||||
|
I think the MSVC 6.0 paths are used by default if no version of MSVC is detected (but Microsoft's "tool" is specified). I can't figure out however why it doesn't detect it, if you say the .NET version is installed
![]() Maybe you should check you have the latest version of SCons... I think I read somewhere (don't remember where - I don't have any SCons experience, I was just curious about it....) that an older version of SCons used the env. values in the registry *only* if include, lib and path were all set in the registry. Hope this helps a little bit... Kind regards, Luci __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
|||
|
|||
|
Good idea, but lib.exe isn't a part of scons. I don't know, maybe scons passes the data to lib.exe? Actually, you could be right, because I've had trouble getting scons to find exectuables that are in the path. A friend of mine came up with a work around involving bat files. I'd still like to find and elimanate whatever is creating that false path.
|
|
#4
|
|||
|
|||
|
Well after some more exhaustive testing with irc friend, he thinks it's all scons fault. I'm inclined to agree with him, but the guy that turned me on to MS's free compiler has scons working on his XP machine, but he has SP1
He says he doesn't do updates. |
|
#5
|
|||
|
|||
|
Quote:
A mystery! Put a couple of printf() statements in findInPath. Something like CPP / C++ / C Code:
This will tell you what path it is actually searching, I think. Regards, Dave |
|
#6
|
|||
|
|||
|
sorry about this. It's some kind of error with scons on windows XP when MSVS is detected. I found a bug report about it, and there's no workaround. I tried an older version, but the problem persisted, so I'm probably going to try pre 9.5 next. I've just been too lazy to mess with it lately.
|
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shortest path algorithm and file saving | Pandiani | C++ Forum | 10 | 17-Jul-2006 11:46 |
| [PROGRAM] Windows Search Program | machinated | C++ Forum | 10 | 21-Jun-2004 16:21 |
| displaying array of points | Nelly | C++ Forum | 0 | 26-May-2004 06:29 |
| FAQ - Challenger Forum | JdS | Learning Journal by J de Silva | 0 | 11-May-2002 03:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The