Author Topic: Compile / Run Issues with FASM  (Read 4054 times)

0 Members and 1 Guest are viewing this topic.

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Compile / Run Issues with FASM
« on: September 17, 2006 »
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:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Compile / Run Issues with FASM
« Reply #1 on: September 17, 2006 »
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:

Code: [Select]
; 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:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Compile / Run Issues with FASM
« Reply #2 on: September 17, 2006 »
Thanks mate. How did you discover / find out that solution dude?


Cheers,
Clyde.
« Last Edit: September 17, 2006 by Clyde »
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Compile / Run Issues with FASM
« Reply #3 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: