flat assembler
Message board for the users of flat assembler.

 Index > Windows > include error
Author
nachtkriecher

Joined: 04 Dec 2010
Posts: 3
nachtkriecher
Code:
`include 'MACRO\IMPORT32.INC'    `

i am on windows xp.
i am trying to compile from the command line with fasm.exe, as i have my own text editor. using fasmw.exe seems to work fine.
i am trying to compile files in the directory "D:\Profile.cu\Desktop\827\assembly\"
the executable is in "C:\Program Files\fasmw16927"

i have a fasmw.ini file in C:\Program Files\fasmw16927 with the line
Include="C:\Program Files\fasmw16927\INCLUDE"

ive tried creating the INCLUDE environmental variable with the value "C:\Program Files\fasmw16927\include" and then starting up a new cmd.exe to reload the environmental variables

ive tried the above, and then changing the line in the code to:
Code:
`include '%INCLUDE%\MACRO\IMPORT32.INC'    `

it doesnt evaluate the %INCLUDE%. i thought it would because of http://flatassembler.net/docs.php?article=manual#2.3.1 third paragraph

ive tried running it from every combination of current directories i could think of. there is one combination that works. if i put the file i want to compile in C:\Program Files\fasmw16927 and i change the line to
Code:
`include 'INCLUDE\MACRO\IMPORT32.INC'    `

anyone have any ideas?
04 Dec 2010, 01:51
nachtkriecher

Joined: 04 Dec 2010
Posts: 3
nachtkriecher
wait a minute... a few more things are working now, for some reason.

i hate assembly language with all my heart. even though this probably isnt its fault.
04 Dec 2010, 02:00
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

 Jump to: Select a forum Official----------------AssemblyPeripheria General----------------MainTutorials and ExamplesDOSWindowsLinuxUnixMenuetOS Specific----------------MacroinstructionsOS ConstructionIDE DevelopmentProjects and IdeasNon-x86 architecturesHigh Level LanguagesProgramming Language DesignCompiler Internals Other----------------FeedbackHeapTest Area

Forum Rules:
 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum