Home > Archive > A86 Assembler > September 2005 > Newbie question: "Program.lib" error.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Newbie question: "Program.lib" error.
|
|
| innominatetwice 2005-09-21, 6:55 pm |
| I'm working on a project in RadASM with MASM32 as the assembler. When I
build the project it assembles w/o error but after the Linker begins,
it quits with the message:
LINK : error LNK1104: cannot open file "E:\Program.lib"
I guess "Program.lib" is a lib file of some sort. I can't find it
anywhere on my system and I haven't found any info about it on the web
either.
I've generated other projects in RadASM , built and executed them to
test my installation and they worked. There isn't any mention of
"Program.lib" in the project itself.
If anyone has had any experience with this issue, I'd appreciate their
help.
Innominate
| |
| Mark Jones 2005-09-21, 6:55 pm |
| innominatetwice wrote:
> I'm working on a project in RadASM with MASM32 as the assembler. When I
> build the project it assembles w/o error but after the Linker begins,
> it quits with the message:
>
> LINK : error LNK1104: cannot open file "E:\Program.lib"
>
Hi, try loading the .rap file into notepad and search for "Program.lib". Also
check your source files for "includelib Program.lib" or similar. What could be
happening is you are including a file like "include.inc" which is not opened in
RadASM, but contains "includelib Program.lib."
| |
| hutch-- 2005-09-21, 6:55 pm |
| Straight off the top of my head, it sounds like a settings error in
your RadASM config files. It is asking for a library file that is in
the root of drive E: which indicates ther is an error in your build
settings.
See if you can track down where the name "Program.lib" is coming from
in the build or config files and you will come close.
Regards,
hutch at movsd dot com
| |
| innominatetwice 2005-09-21, 9:55 pm |
| Thank you, everyone, for your quick response to my question.
Sometime after posting the question this afternoon, I figured out the
problem myself.
I was using RadASM, with MASM32 as the default assembler, from a USB
drive (drive "E:"). After moving the MASM32 installation from
"E:\Program Files" to "E:", and then adjusting the RadASM
project paths, the project built, ran and executed correctly.
FWIW, I've been programming for over twenty years and one of the
basic facts I've learned about computers is this: *COMPUTERS ARE
STUPID*. Not as stupid as I am, of course, but thick as a brick,
nonetheless.
Sometimes, rather than explain it to them, just make it easier for them
to figure it out.
Innominate
|
|
|
|
|