English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 06 January 2004, 16:29   #1
Myriel
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
Myriel is offline  
Old 06 January 2004, 17:11   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Quote:
If anyone has managed to compile winuae
I have

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.
Toni Wilen is online now  
Old 06 January 2004, 18:15   #3
Myriel
Registered User
 
Join Date: Jan 2004
Location: Germany
Posts: 22
Thx for your quick answer.
I will try that out. Hopefully that will work.
Myriel is offline  
Old 07 January 2004, 13:12   #4
Myriel
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
Myriel is offline  
Old 07 January 2004, 17:54   #5
Toni Wilen
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..
Toni Wilen is online now  
Old 08 January 2004, 11:05   #6
Myriel
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
Myriel is offline  
Old 08 January 2004, 19:49   #7
Toni Wilen
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.
Toni Wilen is online now  
Old 08 January 2004, 22:55   #8
Myriel
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
Myriel is offline  
Old 08 January 2004, 22:57   #9
RetroMan
Registered User
 
RetroMan's Avatar
 
Join Date: Aug 2001
Location: Germany
Age: 51
Posts: 3,704
Quote:
Originally posted by Myriel
Why don´t you include a compilation-doc in the sourcecode ?
That would help people in the future.
Hmmm, why don´t you just do such tutorial, you now know how to do it and it would save much time for Toni developing WinUAE even further
RetroMan is offline  
Old 09 January 2004, 09:49   #10
Myriel
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 ?
Myriel is offline  
Old 09 January 2004, 10:14   #11
Big-Byte
Long time member
 
Big-Byte's Avatar
 
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....
Big-Byte is offline  
Old 09 January 2004, 14:53   #12
Myriel
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....
Myriel is offline  
Old 09 January 2004, 15:23   #13
AmiGer
Registered User
 
AmiGer's Avatar
 
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...
AmiGer is offline  
Old 10 January 2004, 15:07   #14
Myriel
Registered User
 
Join Date: Jan 2004
Location: Germany
Posts: 22
Floppy disk

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
Attached Files
File Type: zip compile.zip (1.6 KB, 701 views)
Myriel is offline  
Old 10 January 2004, 17:06   #15
AmiGer
Registered User
 
AmiGer's Avatar
 
Join Date: Sep 2002
Location: Germany
Posts: 349
Thanks !
AmiGer is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11693 seconds with 14 queries