HighGuy Posted May 4, 2006 Share Posted May 4, 2006 Hi, I updated my autoit-installation from beta version 3.1.1.109 to 3.1.1.121. After that I have problems to "compile" my scripts with aut2exe. It works if I use the aut2exe directly from the installation folder. But if I move the aut2exe-files to another place on my drive (where I collect different beta versions) it gives my an error message saying: "Error reading the file: Constants.au3". Any ideas? Bug or feature? Link to comment Share on other sites More sharing options...
SlimShady Posted May 4, 2006 Share Posted May 4, 2006 (edited) You mean the behavior of 'include' has changed...For the include library syntax (#include <file>) to work AutoIt must have been installed using the supplied installer otherwise the installation directory will not be known and the current script directory (@ScriptDir\Include) will be used instead..... the standard library is searched for in the current interpreter's directory..For more check the help file. Edited May 4, 2006 by SlimShady Link to comment Share on other sites More sharing options...
HighGuy Posted May 4, 2006 Author Share Posted May 4, 2006 (edited) You mean the behavior of 'include' has changed.For more check the help file.No, after further testing, it seems that aut2exe is using the relative path "..\include" to find the global include files and not using the complete autoit3-installation path. For me this behavior is o.k. as it enables me to use the corresponding include files to each autoit3-version. Now my directory structure looks like3.1.1.109\aut2exe\include\3.1.1.121\aut2exe\include\and everything works fine again Edited May 4, 2006 by HighGuy Link to comment Share on other sites More sharing options...
Developers Jos Posted May 4, 2006 Developers Share Posted May 4, 2006 (edited) read here for info on the Include path search change. Edited May 4, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now