1. Version 4 question
- Posted by dcole Nov 14, 2010
- 1436 views
Error I get running Version 4,
e:\euphoria\include\image.e:312 <0023>:: A namespace qualifier is needed to resolve 'DOS32' because 'DOS32' is declared as a global/public symbol in: e:\euphoria\include\misc.e e:\euphoria-40b4\include\misc.e
My question is why is 'e:\euphoria\include\misc.e' in there at all?
- e:\euphoria is my Version 3 folder.
- e:\euphoria-40b4 is my Version 4 folder.
I changed my enviromnmental with the following bat file.
@@PATH=%PATH% E:\euphoria-40b4\bin @SET EUDIR=E:\euphoria-40b4 @SET EUINC=E:\euphoria-40b4\include;e:\eu\win32lib @start /b E:\euphoria-40b4\bin\eui.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
Don Cole
2. Re: Version 4 question
- Posted by DerekParnell (admin) Nov 14, 2010
- 1412 views
My question is why is 'e:\euphoria\include\misc.e' in there at all?
My guess is that somewhere in your source, you have an 'include misc.e' rather than 'include std/misc.e'
3. Re: Version 4 question
- Posted by jimcbrown (admin) Nov 14, 2010
- 1430 views
Because you are including image.e in e:\euphoria\include
If you did that intentionally, then that is the cause of the problem - eui looks in the same folder that an include file is in to locate sibling include files.
Error I get running Version 4,
e:\euphoria\include\image.e:312 <0023>:: A namespace qualifier is needed to resolve 'DOS32' because 'DOS32' is declared as a global/public symbol in: e:\euphoria\include\misc.e e:\euphoria-40b4\include\misc.e
My question is why is 'e:\euphoria\include\misc.e' in there at all?
- e:\euphoria is my Version 3 folder.
- e:\euphoria-40b4 is my Version 4 folder.
I changed my enviromnmental with the following bat file.
@@PATH=%PATH% E:\euphoria-40b4\bin @SET EUDIR=E:\euphoria-40b4 @SET EUINC=E:\euphoria-40b4\include;e:\eu\win32lib @start /b E:\euphoria-40b4\bin\eui.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
Don Cole
4. Re: Version 4 question
- Posted by dcole Nov 15, 2010
- 1258 views
Because you are including image.e in e:\euphoria\include
If you did that intentionally, then that is the cause of the problem - eui looks in the same folder that an include file is in to locate sibling include files.
That's it Jim. image.e shouldn't have been in e:\euphoria\include.
And Matt that caused a slew of sibling misc.e s not std/misc.e s.
Thank you both. I moved image.e and now it works fine.
Don Cole
5. Re: Version 4 question
- Posted by mattlewis (admin) Nov 15, 2010
- 1254 views
Because you are including image.e in e:\euphoria\include
If you did that intentionally, then that is the cause of the problem - eui looks in the same folder that an include file is in to locate sibling include files.
That's it Jim. image.e shouldn't have been in e:\euphoria\include.
And Matt that caused a slew of sibling misc.e s not std/misc.e s.
Thank you both. I moved image.e and now it works fine.
There is an image.e in the include directory for 4.0. We've included the old standard library (somewhat modified, with obsolete routines removed, etc). The proper solution should be to fix your include statement. If you want the old, 3.1 library, use "include image.e". If you want to use the 4.0 library (which, for new code, you should), use "include std/image.e".
Matt