Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

New to ESL - Getting an error

Folco Boffin
Mad Moo Cow Cultist
Join date: 27 Feb 2005
Posts: 66
02-09-2006 07:53
I've read about ESL a while back but am finally getting around to try my hand at it as it's not a whole lot to learn. Took me a few minutes to figure out why it was telling me cl isn't a recognized command which causes a big imprint on my forhead from my hand when I realized I didn't add the pre-compiler directory to the PATH.

But anyway, I'm sure this is going to cause me to be upset with myself for not realizing the problem, but I'm stumped. I'm going to use the excuse of having just woken (is that really a word?) up and not quite awake... Probabally not the best time to mess with ESL for the first time, but eh, I figure it will end up being the best thing to do for this project.

In any case, here's what I did:
CODE
#include "debug.esl"


I hit compile and SciTE-ez gives me the following error:
CODE
fatal error C1034: debug.esl: no include path set


debug.esl is in the same directory as the script that's calling it so I'm drawing a blank. Only thing I can think of is that the compiler is looking in it's own directory? In any case, where do I set the include path? Or would it just be easier to do this:
CODE
#include "L:\Docs\My Stuff\LSL\debug.esl"


I'm going to go try that for now, but I'd like an option for the long run. Even better, have the include path set to a specific "ESL Includes" folder where I could just drop all my little debug/global functions into.

Thanks for all your help.

EDIT: Nope, actually apparently that fix doesn't work either.
CODE
fatal error C1083: Cannot open include file: 'L:\Docs\My Stuff\LSL\debug.esl' : No such file or directory


So I'm in limbo until I can figure out where to set the include path I guess. Time to do some more poking around while waiting.
_____________________
^-^

Signed,
Gorgarath,
Whom in this game called Second Life,
plays the avatar Folco Boffin,
and in this game called First Life,
plays the avatar John McDonnell.
Folco Boffin
Mad Moo Cow Cultist
Join date: 27 Feb 2005
Posts: 66
02-09-2006 18:47
Dis-regard my previous post. I have now proven my idiocy. Such simple things that one overlooks sometimes...

Excuse me while I go put my head through a cement wall...
_____________________
^-^

Signed,
Gorgarath,
Whom in this game called Second Life,
plays the avatar Folco Boffin,
and in this game called First Life,
plays the avatar John McDonnell.
Folco Boffin
Mad Moo Cow Cultist
Join date: 27 Feb 2005
Posts: 66
02-09-2006 20:56
Nevermind my previous post. Thought I figured out why it wasn't working, but after getting a chance to sit down and add INCLUDE=D:\Includes (Where I ended up moving my ESL include files to) to my system varibles in XP, I still am getting an error saying no includes path set. I just restarted my machine thinking perhaps something funky was going on that required a restart before it would acknowledge the varible. But no go. I'm still stuck. Any help with this would be great. I'd really love to be able to use includes as it would simplify a great many things. Not to mention it's now more of a need to know how to get this to work simply because it's pissing me off. I'm coming up blank here and I know it's gotta be some really simple thing.

Strife here? I know he'd know how to fix it.

Anyone here?

Please help if you can?

Thank you.
_____________________
^-^

Signed,
Gorgarath,
Whom in this game called Second Life,
plays the avatar Folco Boffin,
and in this game called First Life,
plays the avatar John McDonnell.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-10-2006 17:47
which compiler are you using to do the preprocessing?
I've not seen that error ever before.

I'm not recommending you do this; I moved up to the MS 2005 compiler, (got it from VC++.Net Express)

I suppose you already found
http://msdn.microsoft.com/library/en-us/vccore/html/C1034.asp

If your using the
Microsoft Visual C++ Toolkit 2003
you can find "vcvars32.bat" at
C:\Program Files\Microsoft Visual C++ Toolkit 2003
remember you will need to restart scite for it to see any changes to the enviromental variables.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey