flat assembler
Message board for the users of flat assembler.

Index > Windows > include variable PATH problem on x64.

Author
Thread Post new topic Reply to topic
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz
Hi, I'm having problems with include PATH on Windows 7 x64. I tried many things, but FASM still can't detect PATH variable on x64 systems (other apps do).
Is there any x64 FASM that supports this?
Thank you.
Code:
include 'win32a.inc' ;file not found, but exists in PATH variable.    

I'm also using wink but got still same problem.
Post 21 Dec 2012, 08:18
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17252
Location: In your JS exploiting you and your system
revolution
fasm doesn't read the PATH variable. Use INCLUDE instead.

It is documented BTW.
Post 21 Dec 2012, 08:33
View user's profile Send private message Visit poster's website Reply with quote
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz
I know that it doesn't read but I had exact same thing on x86 and worked perfectly.
---
p.s I've added INCLUDE variable in environment settings, but got still same problem..
Code:
include 'win32a.inc' ;FILE NOT FOUND.
include '%INCLUDE%\win32a.inc' ;FILE NOT FOUND.    
Post 21 Dec 2012, 14:20
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17252
Location: In your JS exploiting you and your system
revolution
What is the setting of your INCLUDE variable? Does is point to your installation folder?
Code:
include=c:\fasm\include    
Post 21 Dec 2012, 14:38
View user's profile Send private message Visit poster's website Reply with quote
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz
I'm so dumb.. I modified system's environment variable instead of INI files include Mad please, delete this useless topic.
Post 21 Dec 2012, 14:41
View user's profile Send private message Reply with quote
nmake



Joined: 13 Sep 2012
Posts: 193
nmake
Today's windows is the continual work of perfection for 27 years, all of the years passed was nothing but corrections and improvements, what a large group at microsoft can't do in 27 years combined, you can't expect a single man to have everything fall in place at first attempt. So you're not stupid, I present to you these good news. Laughing
Post 21 Dec 2012, 18:31
View user's profile Send private message Reply with quote
zzj0402



Joined: 22 Dec 2012
Posts: 1
zzj0402
According to Grysztar, Tomasz. inĀ Flat Assembler 1.70 Programmer's Manual on page 7-8, it seems to have a way of making the include to work by setting the environment variable named INCLUDE to the path of the include directory.

Setting assembler IDE is not the only way to resolve the problem of not compiling the include directive.

However setting environment variable only is not working. The setup seems only assembler IDE specific.

So, is it necessary to set environment variable? Or it could be used in some cases?
Post 23 Dec 2012, 05:56
View user's profile Send private message 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.

Powered by rwasa.