Re: Setup Question
- Posted by ChrisB (moderator) Nov 07, 2010
- 1469 views
Hi
This is a common question, I'll write a tip, but for now to install a fresh installation of eu4 on a clean system, with a fuctioning IDE, you need to do this
1. Install eu4 to the default directory
2. Install win32lib. you can get it from sourceforge http://sourceforge.net/projects/win32libex/files/. AFAIK it works with eu4 (there have been some name issues previously). If that doesnt work, get it from http://www.box.net/shared/xpohgpvjli. I'm assuming you put it in c:\euphoria-40\win32lib
3. Install the IDE from http://prdownloads.sourceforge.net/euvide/IDE1-0-4.zip
4. Install INTO THE IDE DIRECTORY a pre compiled IDE http://www.rapideuphoria.com/ide_c.zip
You need to do this, as running the ide with eu4 creates the above naming issues, and is painfully slow (lots of forward refs). You need to have the uncompiled IDE installed as it will search for includes and language files in the sub folders.
5. In the euphoria bin directory, copy euiw.exe onto exw.exe. You need to do this because the precompiled IDE looks for exw (it was built to use eu3.xx) If you don't do this you get the LoadProcessHi failed message.
6. You then need to tell eu4 where to look for the win 32lib includes. 2 ways
a : in the folder of the running program add an eu.cfg, with at least one line
-I c:\euphoria-40\win32lib\Include
b : set the environment path (RClick My computer -> Properties -> Advanced -> Environment variables -> add or edit EUINC to include c:\euphoria-40\win32lib\Include You may need to reboot after doing this to set the euinc variable on startup. Sometimes I've had to, and sometimes I haven't.
Note, using both ways is ok too, as your program will only look for the required include once.
Cheers
Chris