flat assembler
Message board for the users of flat assembler.

Index > Windows > Can't compile/run

Author
Thread Post new topic Reply to topic
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist 17 Jun 2004, 04:47
I have been programming for a while, and just recently got interested in programming using ASM. When I downloaded ASM (I'm using Windows XP) I installed it in the default directory and all that. I then tested it out using the example program, "BEER." The application file worked just fine, but when I opened the ASM file and tried to compile it, I got stuck on the following line:

Code:
include '%fasminc%\win32a.inc'
    


Assuming that this was the equivalent of #include in C++, I changed it to:

Code:
include 'C:\Program Files\fasmw152\INCLUDE\win32a.inc'
    


(That is the path to the win32a.inc file where I installed it) Now it compiles and runs without causing an error. However, when I run it from the fasmw editor, all I see is a dialog box with a progress bar flicker on and off too fast for me to read. If I run the application that was created, I get absolutely nothing. What am I doing wrong?

Try and keep it simple, given I have only used C++ and Java before.

_________________
Many things are possible. Few things are likely.
Post 17 Jun 2004, 04:47
View user's profile Send private message Visit poster's website Reply with quote
i-don



Joined: 18 Jul 2003
Posts: 66
i-don 17 Jun 2004, 06:42
Open an fasmw.INI in the directory of fasmw.exe and add the following lines:

Code:
[Environment]
FasmInc=C:\Program Files\fasmw152\INCLUDE
Include=C:\Program Files\fasmw152\INCLUDE
    


Include= line added in-case you step over on older fasm source codes.

i-don.
Post 17 Jun 2004, 06:42
View user's profile Send private message Reply with quote
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist 18 Jun 2004, 19:37
Thanks! It's all working now.
Post 18 Jun 2004, 19:37
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.