English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 06 January 2009, 21:29   #1
AAG
Registered User
 
Join Date: Jun 2007
Location: West Yorkshire, UK
Posts: 30
Help compiling winuaesrc1530

Hi

I've downloaded the winuaesrc1530.zip - and opened the
.\od-win32\winuae_msvc\winuae_msvc.sln
with VS 2008 (Development edition).

I've found some links/pointers in this thread (ie the catweasle location, ghostscript version and fix to winio.h etc) :-
http://eab.abime.net/showthread.php?t=27339

but I'm still having problems compiling. I think its just down to not finding the correct 3rd part libraries (and versions) and also getting the "search order" correct.

Q1 - Could you please post the order of your search/include paths?
I had a major problem which I finally tracked down to "windows.h" being pulled from the DDK directory, rather than the "platform sdk" dir.

Q2 - What version of the DDK do I need - OR do I need what's superseded it, the Windows Driver Kit (WDK)?
From the previous thread, I've guessed/downloaded the "Windows Server 2003 Driver Development Kit (DDK)"/(WINDDK\3790.1830). Which "platform" folder should I be using Within the "inc" dir - w2k or wxp? (I guess wxp)

Q3 - What version of the DirectX SDK do I need?
The above thread mentions "Microsoft DirectX 9.0 SDK (December 2004)" - which is what I've got, but I'm getting errors "'D3DDISPLAYMODEEX' : undeclared identifier" - so I guess I need a later version?

-----------------
I've googled and found "versions" of the following - but I'm getting "undeclared identifier errors" so I guess I've got the wrong versions!

Q4 - Where do I get "al.h"/"alc.h" from?

Q5 - Where do I get pcap.h from?
(I've located WpdPack from somehere (I've lost the link) - and that comes with Devioctl.h - which is also located in the DDK folder?

Q6 - Where do I get "lglcd.h" from?

Q7 - Where do I get "ParaPort.h" from?

----------

Q8 .\od-win32\blkdev_win32_ioctl.c
The line

rri.TrackMode = RawWithSubCode;

I'm getting 'RawWithSubCode' : undeclared identifier.

Maybe this is because of the other compile errors, but could you please tell me where this is defined - so I can check my copy?


Thanks - any help/pointers would be much apprecaited!

AAG

PS - Are all the projects in the solution actually needed? What order do they need building in? (I notice that project winuae doesn't have an "Project depedencies")
AAG is offline  
Old 06 January 2009, 21:52   #2
hit
Registered User
 
Join Date: Jun 2008
Location: planet earth
Posts: 1,115
i've found something:

Q2: latest sdk i guess is this:
http://www.microsoft.com/downloads/d...DisplayLang=en

does also support vista and xp. last time i compiled something i was using the successor of this sdk, not the ddk. so i guess this is the correct, recent one.
its possible that there is a more or less recent sdk included with your "VS2008 devel edition". i had to install the sdk , when i was using the free vs200x edition, a while back.

Q3: always use latest sdk. since latest runtime is required for winuae, this also means using latest sdk:
http://msdn.microsoft.com/en-us/directx/aa937788.aspx

Q4: http://connect.creativelabs.com/open.../AllItems.aspx
( openal-soft-1.6.372.tar )

Q5: i guess its from Winpcap: http://www.winpcap.org/devel.htm

Q6: http://en.wikipedia.org/wiki/Logitech_G15
( WinUAE Commodore Amiga Emulator Native support (as of v1.2) )

but i cant find the sdk, maybe its included with the drivers (not tested):
http://www.logitech.com/index.cfm/ke.../3498&cl=us,en

Q7: http://www.paraport.net/source/index.html

Last edited by hit; 06 January 2009 at 22:21.
hit is offline  
Old 08 January 2009, 11:45   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Header files:

Remove old Windows SDK path (added by default when installing MSVC)
Add following to end of list:
- path to Windows SDK include
- path to DXSDK include
- path to DDK include (inc\api)
- path to "misc" include directory (zlib, png, logitech stuff etc..)
(of course you can keep them in separate directories if you want)

Library files:

Remove old Windows SDK path
Add following to end of list:
- path to Windows SDK lib
- path to DXSDK lib\x86
- path to "misc" lib directory

What needs to be compiled:

- build68k (must be before gencpu and gencomp)
- genblitter
- gencpu
- gencomp
- genlinetoscr
(these usually only needs to build once)
- winuae

Other projects are not needed.
Toni Wilen 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
Compiling WinUAE 2.1.0 rotacak support.WinUAE 8 06 May 2010 17:09
Compiling BlizKick Toni Wilen Coders. General 2 26 December 2007 17:06
Compiling 1.3.4 rotacak support.WinUAE 70 22 January 2007 08:13
Compiling WinUAE 1.3.2 rotacak support.WinUAE 1 06 October 2006 20:34
Slowly compiling stainy Nostalgia & memories 4 10 September 2002 01:28

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 00:45.

Top

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