• Welcome to Dark Bit Factory & Gravity.
 

Compile / Run Issues with FASM

Started by Clyde, September 17, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Clyde

Im using the IDE with Flat Assembler version 1.67.8. And have tried numerous times to try and Compile & Run the example sources. But every time it tells me file not found with any includes that are present; of which they are as I've seen them in the directory structure of FASM. Same also applies using the Fresh IDE.

What do I need to do to get them to compile and run correctly? Or are there other headers / libraries and such like that I need to download from someplace?

Cheers and many thanks,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Rbz

Add those 2 lines in the end of your FASMW.INI file
[Environment]
fasminc = c:\fasm\include



Ps:  c:\fasm\includeÃ,  --> FASM path instalation.

Next, addÃ,  %fasminc%\ path to the examples that you want to run.

Example:


; example of simplified Win32 programming using complex macro features

include '%fasminc%\win32ax.inc'

.code

Ã,  start:
Ã,  Ã,  Ã,  Ã,  invokeÃ,  MessageBox,HWND_DESKTOP,"Hi! I'm the example program!","Win32 Assembly",MB_OK
Ã,  Ã,  Ã,  Ã,  invokeÃ,  ExitProcess,0

.end start
Ã,  

Challenge Trophies Won:

Clyde

#2
Thanks mate. How did you discover / find out that solution dude?


Cheers,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Rbz

Quote from: Clyde on September 17, 2006
Thanks mate. How did you discover / find out that solution dude?

Searching here -->  http://board.flatassembler.net/index.php
Challenge Trophies Won: