flat assembler
Message board for the users of flat assembler.

Index > Windows > Problem compiling: Include issues

Author
Thread Post new topic Reply to topic
blacky



Joined: 06 Apr 2006
Posts: 32
Location: JA
blacky
HEy all, been a while since ive programmed with fasm but like any lost soul i ve found my way back, but having an issue i never used to have..anything i compile cant seem to compile because im getting the error "File Not Found".

Ive used every include syntax to no avail.

Now i remember there was some setting you could add to the ini file that would allow you to use just "include 'file.inc' " as opposed to the %fasmin%, which also generates this error.. anyone care to shed some light?

Also what was that setting to add in the ini file.

thanks in advanced
Post 06 Jul 2007, 19:58
View user's profile Send private message MSN Messenger Reply with quote
blacky



Joined: 06 Apr 2006
Posts: 32
Location: JA
blacky
Sorry, ive fixed my issue, simple 'search' came up with the results..

frustration can cloud your ability to just search yourself :p
Post 06 Jul 2007, 20:03
View user's profile Send private message MSN Messenger Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
You mean this? (Pasted here to save people the possibly long wait for slow forum to return search result.)

FASMW.INI wrote:

[Environment]
Include=c:\fasmw\include
Post 12 Jul 2007, 20:28
View user's profile Send private message Visit poster's website Reply with quote
vador



Joined: 12 Nov 2006
Posts: 68
Location: Madagascar
vador
it would be nice to have the IDE add this entry in the ini file on the first run, i did not know about this and what i've done was the masm way:
include "\fasm\include\win32a.inc"

really uggggggly!
Post 18 Jul 2007, 13:11
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1605
Location: Ukraine
shoorick
it is general knowlege, nothing especial.
Post 18 Jul 2007, 14:37
View user's profile Send private message Visit poster's website Reply with quote
calpol2004



Joined: 16 Dec 2004
Posts: 110
calpol2004
I just had exactly the same problem.

Heres how i solved it:

right click an .asm file and select properties then select "change" then choose the application which is using the modified config.ini file.

The problem comes from the computer using another copy of FASMW.exe with its own config.ini file (mine was using an older version app in a backup folder, only noticed because the one i thought it was using had a different version number).

When you select change you may find it wont actually change to it because it thinks the 2 files are the same and doesnt bother but changing the file name of one and using that one fixes this. If all else fails search your pc for all FASMW.ini files and add the following line to all:

[Environment]
Include = pathofincludefolder
Post 18 Jul 2007, 19:00
View user's profile Send private message MSN Messenger 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.