1. error Euphoria 4.0.5
- Posted by sergelli Feb 08, 2015
- 1843 views
- Last edited Feb 09, 2015
Why am I getting this error message?
C:\001TelNet\telnet_client.exw:206 <0074>:: Errors resolving the following references: 'sprint' (telnet.e:186) has been declared more than once. in C:/Euphoria/include/misc.e in C:/Euphoria/include/std/text.e 'chdir' (telnet_client.exw:201) has been declared more than once. in C:/Euphoria/include/file.e in C:/Euphoria/include/std/filesys.e 'current_dir' (telnet_client.exw:202) has been declared more than once. in C:/Euphoria/include/file.e in C:/Euphoria/include/std/filesys.e 'crash_file' (telnet_client.exw:205) has been declared more than once. in C:/Euphoria/include/machine.e in C:/Euphoria/include/std/error.e 'crash_routine' (telnet_client.exw:206) has been declared more than once. in C:/Euphoria/include/machine.e in C:/Euphoria/include/std/error.e crash_routine(routine_id("crash")) ^ --- Defined Words --- EU4 EU4_0 EU4_0_5 WINDOWS WIN32 GUI EUI -------------------
2. Re: error Euphoria 4.0.5
- Posted by BRyan Feb 08, 2015
- 1819 views
It appears that you are including telnet.e twice or have a duplicate function name somewhere in your code.
3. Re: error Euphoria 4.0.5
- Posted by sergelli Feb 08, 2015
- 1804 views
It appears that you are including telnet.e twice or have a duplicate function name somewhere in your code.
I installed Eu4.0.5 today.
In that installation there are folders "C:\include\machine.e" and "c:\include\std\ERROR.E"
Both folders have the following lines:
public procedure crash_routine (integer func) machine_proc (M_CRASH_ROUTINE, func) end procedure
These two folders were created by the installation of Euphoria 4.0.5, so I believe I should keep this assembly.
But that is causing the error I posted before.
I think maybe I can resolve this problem by deleting the lines in duplicate, but I do not understand why administrators do not fix this error
4. Re: error Euphoria 4.0.5
- Posted by ne1uno Feb 08, 2015
- 1768 views
I installed Eu4.0.5 today.
In that installation there are folders "C:\include\machine.e" and "c:\include\std\ERROR.E"
Both folders have the following lines:
public procedure crash_routine (integer func) machine_proc (M_CRASH_ROUTINE, func) end procedure
These two folders were created by the installation of Euphoria 4.0.5, so I believe I should keep this assembly.
But that is causing the error I posted before.
I think maybe I can resolve this problem by deleting the lines in duplicate, but I do not understand why administrators do not fix this error
you really shouldn't mix the older compatibility includes like misc.e with the newer std/includes in new programs is the short answer. it's worth going through and finding which include you need searching the docs. programs load faster.
5. Re: error Euphoria 4.0.5
- Posted by SDPringle Feb 08, 2015
- 1744 views
In Euphoria 4.2al, I plan to eliminate this problem. There is no reason the ./ dot e files shouldn't only contain public include statements.
Shawn
6. Re: error Euphoria 4.0.5
- Posted by jmduro Feb 09, 2015
- 1745 views
I use to archive all .e file in euphoria/include in a zip file then delete them.
Then you have to replace all ancient style includes by new ones in old libraries you use. Beware if you use win32lib which relies on ancient style includes.
Regards
Jean-Marc
7. Re: error Euphoria 4.0.5
- Posted by sergelli Feb 09, 2015
- 1725 views
Now I understood how the include folder works with the EU4
Thanks to all