flat assembler
Message board for the users of flat assembler.
Index
> Main > can't compile anything. |
Author |
|
revolution 04 May 2008, 20:19
Code: set include=c:\....\include It's in TFM. |
|||
04 May 2008, 20:19 |
|
dap 04 May 2008, 20:58
You can also right-click My computer> Properties> Advanced> Environment variables> Then you create or modify Include. If you want to use FASM from the commande-line you should also add its path to the variable Path.
|
|||
04 May 2008, 20:58 |
|
Jakerson 04 May 2008, 21:33
Sounds good. Thanks to both of you guys!
|
|||
04 May 2008, 21:33 |
|
Polarwolf 05 May 2008, 16:50
I've done this and it seems to work... BUT... the compiler now marks ".code" and tells me its an 'illegal instruction'
|
|||
05 May 2008, 16:50 |
|
revolution 05 May 2008, 16:53
.code is a macro defined in WIN32AX.INC and WIN32WX.INC
|
|||
05 May 2008, 16:53 |
|
Polarwolf 05 May 2008, 16:58
got both in the INCLUDE folder and both are 100% complete. O.o
// I added include 'win32a.inc' include 'win32ax.inc' include 'win32wx.inc' into the file and now it says: Out of memory. |
|||
05 May 2008, 16:58 |
|
revolution 05 May 2008, 17:01
You should only include one of those files, not all three.
|
|||
05 May 2008, 17:01 |
|
Polarwolf 05 May 2008, 17:03
If I include only one the I get .code illegal bla again. X.x
|
|||
05 May 2008, 17:03 |
|
revolution 05 May 2008, 17:13
Post your code so we can help fix it for you.
|
|||
05 May 2008, 17:13 |
|
Polarwolf 05 May 2008, 17:24
Simple Hello World example...
; example of simplified Win32 programming using complex macro features include 'win32ax.inc' .code start: invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!","Win32 Assembly",MB_OK invoke ExitProcess,0 .end start |
|||
05 May 2008, 17:24 |
|
revolution 05 May 2008, 17:30
You need to check your 'include' environment variable then. It should look like this:
Code: include=...;c:\blahblah\fasm\include;... |
|||
05 May 2008, 17:30 |
|
Polarwolf 05 May 2008, 17:30
I redownloaded the ASM and now it works. No clue why. Thanks anyway!
|
|||
05 May 2008, 17:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.