06 January 2004, 16:29 | #1 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Compile WinUAE ?????
Hi !
I´m trying to compile the latest WinUAE source. I also installed the DDK (for win 98), included the extra header-file and the zlib-stuff. But when I try to compile several files are still missing and a lot of fatal errors are shown. The missing files are not included in the DDK etc. like said on the winuae-page. If anyone has managed to compile winuae, please tell me how you did that. I´d appreciate a lot. Thx in advance |
06 January 2004, 17:11 | #2 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Quote:
Update to MSVC7 ("MSVC Net") or fix obsolete VC6 project files (basically add missing source files to project), make sure you have DX9 SDK, recent DDK (must support Windows 2K/XP features or edit sysconfig.h and disable 2K/XP features like SPTI CDROM/HD support), and Platform SDK. |
|
06 January 2004, 18:15 | #3 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Thx for your quick answer.
I will try that out. Hopefully that will work. |
07 January 2004, 13:12 | #4 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Now I´ve installed all the stuff you suggested, got several other missing files ( like paraport.h etc. ) and tried to compile it again.
After some code-modifications it is finally trying to link, but now there are a lot other errors. Seems like some lib-files are missing but I got them all, set the correct path etc. Any idea ? Thx Errors : LINK : warning LNK4199: /DELAYLOAD:zlib.dll ignored; no imports found from zlib.dll LINK : warning LNK4199: /DELAYLOAD:winio.dll ignored; no imports found from winio.dll ahidsound.obj : error LNK2001: unresolved external symbol _enforcer_disable custom.obj : error LNK2001: unresolved external symbol _enforcer_disable ahidsound.obj : error LNK2001: unresolved external symbol _enforcer_enable dxwrap.obj : error LNK2001: unresolved external symbol _DXGetErrorDescription8A@4 parser.obj : error LNK2001: unresolved external symbol _flashscreen win32gfx.obj : error LNK2001: unresolved external symbol _S2X_render win32gfx.obj : error LNK2001: unresolved external symbol _S2X_configure win32gfx.obj : error LNK2001: unresolved external symbol _uaefilters win32gui.obj : error LNK2001: unresolved external symbol _uaefilters cfgfile.obj : error LNK2001: unresolved external symbol _uaefilters win32gfx.obj : error LNK2001: unresolved external symbol _S2X_init win32gfx.obj : error LNK2001: unresolved external symbol _S2X_refresh win32gui.obj : error LNK2001: unresolved external symbol _D3D_guimode custom.obj : error LNK2001: unresolved external symbol _D3D_refresh newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_6_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_5_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_4_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_3_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_2_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_1_ff newcpu.obj : error LNK2001: unresolved external symbol _op_smalltbl_0_ff readcpu.obj : error LNK2001: unresolved external symbol _n_defs68k readcpu.obj : error LNK2001: unresolved external symbol _defs68k unzip.obj : error LNK2001: unresolved external symbol __imp__inflateInit2_ zfile.obj : error LNK2001: unresolved external symbol __imp__inflateInit2_ unzip.obj : error LNK2001: unresolved external symbol __imp__inflate zfile.obj : error LNK2001: unresolved external symbol __imp__inflate unzip.obj : error LNK2001: unresolved external symbol __imp__crc32 unzip.obj : error LNK2001: unresolved external symbol __imp__inflateEnd zfile.obj : error LNK2001: unresolved external symbol __imp__inflateEnd zfile.obj : error LNK2001: unresolved external symbol __imp__inflateInit_ zfile.obj : error LNK2001: unresolved external symbol __imp__deflateEnd zfile.obj : error LNK2001: unresolved external symbol __imp__deflate zfile.obj : error LNK2001: unresolved external symbol __imp__deflateInit_ compemu_support.obj : error LNK2001: unresolved external symbol _op_smalltbl_0_comp_nf compemu_support.obj : error LNK2001: unresolved external symbol _op_smalltbl_0_comp_ff |
07 January 2004, 17:54 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
enforcer.c, win32_scale2x.c, direct3d.c, dxerr8.lib, zdll.lib (http://www.gzip.org/zlib/, you need 1.2.1 or later) missing from project. (and probably more..)
_op_xx: you need to compile and run gencpu/genblitter/gencomp-projects before compiling main winuae-project. I hope this helps.. |
08 January 2004, 11:05 | #6 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Ok. I finally nailed it down to 2 or 3 problems (thx).
1.) The winio.h file seems to be wrong ? WinIo.h(11) : error C2059: syntax error : 'string' The problem seems to be the string ´extern "C" ´. 2.) After "disabling" the file winio.h it is trying to link. But there are still these problems : a) ioport.obj : error LNK2001: unresolved external symbol _InitializeWinIo ioport.obj : error LNK2001: unresolved external symbol _ShutdownWinIo ioport.obj : error LNK2001: unresolved external symbol _GetPortVal ioport.obj : error LNK2001: unresolved external symbol _SetPortVal I guess that´s because of the error in the winio.h. I did include the winio.lib but that didn´t help. Any idea ? b) win32_scale2x.obj : error LNK2001: unresolved external symbol _hq4x_32 win32_scale2x.obj : error LNK2001: unresolved external symbol _hq3x_32 win32_scale2x.obj : error LNK2001: unresolved external symbol _hq3x_16 win32_scale2x.obj : error LNK2001: unresolved external symbol _hq2x_32 I included the win32_scale2x.c inb the project. But I think files for the different HQ-Scalers are missing. The only files I have are .asm files. Do I have to compile them ? Which compiler do I need ( masm ? ). Sorry to bother you so much. Thx Greetings Myriel |
08 January 2004, 19:49 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
1: winio.h is buggy, you need to remove extern "C" and InstallWinIODriver()-lines.
b: asm-files need to be compiled with nasm (check asm.bat in od-win32) or remove all lines between "} else if (usedfilter->type == UAE_FILTER_HQ) {" and "} else if (usedfilter->type == UAE_FILTER_SUPEREAGLE)". HQ-filters are disabled because they are not yet working properly. |
08 January 2004, 22:55 | #8 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Yeeha !!!!
Finally got it compiled & linked ! A thousand times thanks to you Toni. And it even works Why don´t you include a compilation-doc in the sourcecode ? That would help people in the future. See you around. Thx Myriel |
08 January 2004, 22:57 | #9 | |
Registered User
Join Date: Aug 2001
Location: Germany
Age: 51
Posts: 3,704
|
Quote:
|
|
09 January 2004, 09:49 | #10 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Sure I could do it. But I don´t know if Toni would like to include it in the zip of the sourcecode. Otherwise I don´t have an opportunity to spread a tutorial or do you know a site where I could put it on ?
|
09 January 2004, 10:14 | #11 |
Long time member
Join Date: Jul 2001
Location: UK
Posts: 754
|
How about this one? Its more than just a messageboard you know http://abime.net/
I would be interested in the tutorial if you write it.... |
09 January 2004, 14:53 | #12 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Ok.. I will write a little compilation-tutorial. Maybe there are more people who are interested in
Till later.... |
09 January 2004, 15:23 | #13 |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
Of course.
I'm interested, too. Once I've compiled winuae successfully but I've forgotten all the steps to reach this, so a tutorial would be nice... I think it's also useful for Toni... |
10 January 2004, 15:07 | #14 |
Registered User
Join Date: Jan 2004
Location: Germany
Posts: 22
|
Hello everyone.
Here is a little tutorial on compiling WinUAE 0.8.23. I hope it works for you too. Let me know if this tutorial helped you. Bye Myriel |
10 January 2004, 17:06 | #15 |
Registered User
Join Date: Sep 2002
Location: Germany
Posts: 349
|
Thanks !
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How compile WinUAE... | WCoder | support.WinUAE | 57 | 17 April 2014 17:42 |
Trying to get AHI V6 to compile with GCC V2.95 | NovaCoder | Coders. General | 2 | 04 March 2011 14:06 |
Is it possible to compile Chromium for AmigaOS4? | Zener | request.Apps | 1 | 20 November 2009 10:38 |
GFA compile | xc8 | Coders. General | 31 | 19 May 2009 18:21 |
Compile WinUAE 1.46 with completely free tools | __adil__ | support.WinUAE | 0 | 08 February 2008 18:24 |
|
|