flat assembler
Message board for the users of flat assembler.

Index > Windows > Newbie... Just downloaded FASM and can't get examples to run

Author
Thread Post new topic Reply to topic
Register



Joined: 14 Sep 2005
Posts: 1
Register
Hello everyone,

Just like the topic says, I can't get any examples to run in FASM. I always get an error saying a certain file is not found. It always gives me an error on a line starting with "include"

I tried running the assembly code in the include directory, but then I get the same error, just this time on a different file. The examples I have tried to run are Beer and Hello.

I am sure I am doing something wrong, being to this. Any ideas of what it could be?
Post 14 Sep 2005, 20:24
View user's profile Send private message Reply with quote
james



Joined: 07 Sep 2005
Posts: 45
Location: Australia
james
You need to set an environment variable called "include" to the path of where the FASM include files are.

You can set the environment variable with the control panel->System->Advanced->Environment Variables tool..

I have FASM install in c:\FASM so my include variable looks like this:
Code:
c:\fasm\include;    


You can also set the include variable from the command prompt with
Code:
set Include=c:\fasm\include;    

however, this will need to be done each time you reboot.

rgs James.
Post 14 Sep 2005, 20:56
View user's profile Send private message MSN Messenger Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
[Help]
Path=
[Environment]
Fasminc=e:\asm\fasmw\include
Fasminc=d:\asm\fasmw\include

in fasmw.ini you can write this,

or you can write the fillpath to your include files instead of %fasminc%/

regards
Post 15 Sep 2005, 11:41
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.