Game Development Community

nasm?

by Aggrippa · in Torque Game Engine · 08/14/2001 (12:05 am) · 8 replies

Howdy :)
In the documentation the instructions for the nasm are somthing like, "Add this to your path.. NASM/Tools/Options/Directories/Executable Files" I'm still getting a nasm linking error so I must not have it where it should be. Or rather the compiler wants it but cant find it.

Can anyone shed some light on this for me?

Thanks
Aaron.

#1
08/14/2001 (5:37 am)
in VC6++ (not nasm) go to
tools->options->directories tab
now make sure the right select box is set to "executable files"
then you will see a long list appear of directories. these are the paths that can contain files that vc can execute.
so choose one of those paths (\bin is always nice) and then take your nasm.exe's and move them there.
it should work then.

-matt
#2
08/14/2001 (11:25 am)
Thanks for the help :) The nasm.exe(s) are where they are supposed to be I think but I keep getting an error stating somthing like "instruction at 0x0000000 referenced memory at 0x0000000 and cant be read." Going to the debugger I see a large stack of memory locations (I think) but no error type.

Any ideas?

Thanks
Aaron.
#3
08/14/2001 (11:49 am)
An error from VC? It's not clear where your error is comming from. Can you post more information?
#4
08/14/2001 (1:14 pm)
Yeah, I could be more specific I guess :) sorry.

When I run the v12 Test program I get the memory error stated above. I then have the option to debug, which I do, and I am then shown a long list of memory addresses but no other error to go along with them in the debugger program.

It could be somthing simple but I've gone over the installation docs many times before bothering everyone for help. I dont want to be "one of those guys" :)

1. I upgraded to VC6++ Pack5
2. I got the NASM utility and pointed the compiler to it.
3. I added the two reg. files
4. And I did a batch build for Libraries, Engine, Tools (in that order).

I'm at a loss as to what I did wrong, but since others are using the v12 as of now it must be user error.

Thanks for any help you can give.
Aaron.
#5
08/14/2001 (5:28 pm)
I'm not sure if the ide builds the debug version or not, that would be something to double check. If the test app is crashing, the most common problems are video related. What kind of video card and drivers do you have? Might as well list what hardware you have as well.
#6
08/14/2001 (6:37 pm)
Thanks Tim for taking the time to help me out. I greatly appreciate it, not to mention I can get to work on making some money for you and me.:)

P3 450 (I hear the chuckling.. It will soon be replaced.)
256M RAM
TNT2 Vid Card with 32M RAM using the newest Detonator drivers. (Actually it's been 3 months since my last update so I'll check for newer drivers again.)
Maxtor 12Gig HD
Western Digital 20Gig HD (for storage not v12)

That's it, nothing is overclocked or anything.
#7
08/14/2001 (6:50 pm)
...umm, I'm a dumbass. Officially.

I upgraded to Win2000 recently and hadnt installed the driver upgrade I had downloaded previously. Sorry to waste your time Tim. :(

..hangs head in shame..

Thanks for the willingness to help though.:)
#8
08/14/2001 (7:14 pm)
No problem, just glad you got it resolved :)