Re: Win32Lib and IDE

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
AndyDrummond said...

No, I can't make euphoria look in c:\euphoria\win32lib\include.

Ok, I'm assuming that you have v3 install in c:\euphoria and v4 installed in c:\euphoria4, and you have the win32lib include files installed c:\euphoria\win32lib\include.

In that case, then in the SAME folder that contains eui.exe (the version 4 executable),i.e. c:\euphoria4\bin, create a file called "eu.cfg" and have it look like this ...

-- Euphoria version 4 includes. 
c:\euphoria4\include 
 
-- Win32lib library includes. 
c:\euphoria\win32lib\include 

OK, I did that. I decided that I would keep the Eu4 Win32Lib (maybe the same as Eu3, now) in Euphoria4, so changed the above to reflect that. Then my Noddy project (just a pushbutton) failed because wildcard.e was not found. That lives in include\std, so I added THAT to the above list of includes. THEN it crashed with lots of errors in the libraries:

c:\euphoria4\win32lib\include\Win32Lib.ew:26285 
<0074>:: Errors resolving the following references: 
	..\win32lib\include\w32forms.ew (706): upper 
	..\win32lib\include\w32forms.ew (1420): upper 
	..\win32lib\include\w32forms.ew (1428): upper 
	..\win32lib\include\w32forms.ew (1439): upper 
	..\win32lib\include\w32forms.ew (1497): upper 
	..\win32lib\include\w32forms.ew (1529): upper 
	..\win32lib\include\w32forms.ew (1584): upper 
	..\win32lib\include\w32forms.ew (1640): upper 
	..\win32lib\include\w32forms.ew (1651): upper 
	..\win32lib\include\w32forms.ew (1662): upper 
	..\win32lib\include\w32forms.ew (1888): upper 
	..\win32lib\include\w32forms.ew (1954): upper 
	..\win32lib\include\w32forms.ew (2014): upper 
	..\win32lib\include\w32forms.ew (2036): upper 
	..\win32lib\include\w32forms.ew (2073): upper 
	..\win32lib\include\w32forms.ew (2099): upper 
	..\win32lib\include\w32forms.ew (2110): upper 
	..\win32lib\include\w32forms.ew (2112): upper 
	..\win32lib\include\w32forms.ew (2115): upper 
	..\win32lib\include\w32forms.ew (2130): upper 
	..\win32lib\include\w32forms.ew (2149): upper 
	..\win32lib\include\w32forms.ew (2150): upper 
	..\win32lib\include\w32forms.ew (2151): upper 
	..\win32lib\include\w32forms.ew (2169): upper 
	..\win32lib\include\w32forms.ew (2197): upper 
	..\win32lib\include\w32forms.ew (2199): upper 
	..\win32lib\include\w32forms.ew (2201): upper 
	..\win32lib\include\w32forms.ew (2233): upper 
	..\win32lib\include\w32forms.ew (2245): upper 
	..\win32lib\include\w32forms.ew (2273): upper 
	..\win32lib\include\w32forms.ew (2494): upper 
	..\win32lib\include\w32forms.ew (2908): upper 
	..\win32lib\include\w32xpm.ew (262): upper 
	..\win32lib\include\w32resources.ew (3233): lower 
	..\win32lib\include\w32resources.ew (5236): upper 
	..\win32lib\include\w32file.ew (113): upper 
	..\win32lib\include\w32file.ew (234): upper 
	..\win32lib\include\w32file.ew (416): upper 
	..\win32lib\include\options.e (88): lower 
	..\win32lib\include\options.e (98): lower 
	..\win32lib\include\options.e (99): lower 
	..\win32lib\include\options.e (124): lower 
	..\win32lib\include\options.e (163): lower 
	..\win32lib\include\options.e (181): lower 
	..\win32lib\include\w32utils.e (634): upper 
	..\win32lib\include\w32msgs.e (329): upper 
	..\win32lib\include\w32msgs.e (332): upper 
	..\win32lib\include\Win32Lib.ew (4334): upper 
	..\win32lib\include\Win32Lib.ew (4336): upper 
	..\win32lib\include\Win32Lib.ew (9531): upper 
	..\win32lib\include\Win32Lib.ew (13492): upper 
	..\win32lib\include\Win32Lib.ew (13493): upper 
	..\win32lib\include\Win32Lib.ew (13740): upper 
	..\win32lib\include\Win32Lib.ew (13749): upper 
	..\win32lib\include\Win32Lib.ew (14152): upper 
	..\win32lib\include\Win32Lib.ew (21527): upper 
	..\win32lib\include\Win32Lib.ew (21527): lower 
	..\win32lib\include\Win32Lib.ew (21817): upper 
	..\win32lib\include\Win32Lib.ew (21829): upper 
	..\win32lib\include\Win32Lib.ew (24186): upper 
	..\win32lib\include\Win32Lib.ew (24600): upper 
	..\win32lib\include\Win32Lib.ew (24726): upper 
	..\win32lib\include\Win32Lib.ew (26280): upper 
	..\win32lib\include\Win32Lib.ew (26285): upper 
 
    w32ControlNames = append(w32ControlNames, upper(pControlName)) 
                                                   ^ 

That list seems rather tautologous, a feature I had thought was improved. However, it seems that the win32lib is not as Eu4 friendly as I'd hoped. This is the one I got from you, Derek, I believe. However, upper() and lower() are surely box-standard routines which live somewhere else and are (I'd expect) Eu4'ed.

Clearly I am getting somewhere with all your help, but it seems more arduous than I'd hoped. So may I ask you to be tolerant one more time and ask - why is this happening? I am coming in as a complete newbie to Euphoria4, having used Euphoria3 for ages, so I didn't expect this. Other newbies who are new to the whole concept will either find it even harder than me to sort out what to do, or they prove that I am a complete dork. I have no wish to accept the latter but you may feel otherwise!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu