1. w32 lib errors with eu4
- Posted by ChrisB (moderator) Jan 23, 2009
- 1239 views
- Last edited Jan 24, 2009
programs that use w32forms.ew (as far as I can ascertain, any programs, but at least Magic designer by Andrew Katz, and arena in the demos of winn32 lib), produce include type errors
Magic designer
Designer.exw:2446 Errors resolving the following references: C:\EUPHORIA\win32lib0704\include\w32forms.ew (2430): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2434): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2440): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2446): create lBarId = create(FlatToolBar, "", lID, 0, 0, 0, lTemp, 0) ^ Press Enter
and arena
C:\EUPHORIA\win32lib0704\include\w32forms.ew:2928 in procedure createForm() invalid routine id ... called from arena.exw:174 in function main() ... called from C:\EUPHORIA\win32lib0704\include\win32lib.ew:25150 in procedure startApp() ... called from C:\EUPHORIA\win32lib0704\include\w32start.ew:96 --> See ex.err Press Enter...
I've tried some superficial modifications to includes, but this is a little beyond me.
w32lib 0704, win xp, eu4.0a2
Chris
2. Re: w32 lib errors with eu4
- Posted by ChrisB (moderator) Jan 28, 2009
- 1153 views
Hi
Anyone? Quite a few of the win32lib demos are also not working (w32forms producing invalid routine ids, supposedly created in win32lib)
Chris
3. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1229 views
Hi
Anyone? Quite a few of the win32lib demos are also not working (w32forms producing invalid routine ids, supposedly created in win32lib)
I'll take a look. I suspect this may be related to bug 18, which was fixed after the release of the second alpha (at least the routine_id issue).
Matt
5. Re: w32 lib errors with eu4
- Posted by DanM Jan 29, 2009
- 1190 views
Chris,
Does RunDemos.exw work under eu4?
Dan
6. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1220 views
Does RunDemos.exw work under eu4?
Yes. I ran a few of the demos. #1 does not work because it uses a variable named break, which is a keyword in eu4. There are probably other cases like this in there.
Matt
7. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1207 views
Magic designer
Designer.exw:2446 Errors resolving the following references: C:\EUPHORIA\win32lib0704\include\w32forms.ew (2430): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2434): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2440): create C:\EUPHORIA\win32lib0704\include\w32forms.ew (2446): create lBarId = create(FlatToolBar, "", lID, 0, 0, 0, lTemp, 0)
The issue here is that he has a file called sb.e which defines a global function create. And w32forms.ew does not include win32lib.ew, and so can't differentiate between the win32lib create and sb.e's. If you add include win32lib.ew, it will work. I've entered a bug report on sourceforge for win32lib.
and arena
C:\EUPHORIA\win32lib0704\include\w32forms.ew:2928 in procedure createForm() invalid routine id ... called from arena.exw:174 in function main()
This is working for me (r1354), so I think it was bug #18 that was causing this.
Matt
8. Re: w32 lib errors with eu4
- Posted by ChrisB (moderator) Jan 29, 2009
- 1175 views
Hi
Thanks Matt
Has this version been released as an alpha build?
Chris
9. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1182 views
Has this version been released as an alpha build?
No, the last release was r1280. The bug tracking page lists bugs and releases (at the bottom).
Matt
10. Re: w32 lib errors with eu4
- Posted by DanM Jan 29, 2009
- 1183 views
Thanks Matt
Did you mean that RunDemos.exw itself ran ok, but the first numbered example, EX01.exw didn't(didn't run on it's own, or wouldn't run from within RunDemos.exw?)? There's no break var in either RunDemos nor exo1.exw as far as I can see. Or are you speaking of some other #1 demo?
Dan
11. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1188 views
RunDemos.exw works just fine, as do the demos themselves.
Apparently, I clicked something before the first demo, and didn't realize it. Grepping the demos directory, it looks like it's ListTreeView.exw that defines integer break on line 214.
Matt
12. Re: w32 lib errors with eu4
- Posted by DanM Jan 29, 2009
- 1173 views
Matt,
Glad to hear RunDemos runs under eu4
is there a grep for windows? The XP search functions is worthless.
Dan
13. Re: w32 lib errors with eu4
- Posted by DanM Jan 29, 2009
- 1176 views
Matt,
Glad to hear RunDemos runs under eu4
is there a grep for windows? The XP search functions is worthless.
Dan
nevermind, I remembered google.
Dan
14. Re: w32 lib errors with eu4
- Posted by mattlewis (admin) Jan 29, 2009
- 1204 views
Glad to hear RunDemos runs under eu4
is there a grep for windows? The XP search functions is worthless.
I put GnuWin32 on any Windows box I use. You could also install CygwinI tend to have that, too, as it allows me to ssh into *nix boxes, including using GUI apps through X.
Matt