English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 24 January 2019, 23:56   #1
Posts: n/a
Build WinUAE - cannot find FLAC/all.h

I cloned the WinUAE source from github, https://github.com/tonioni/WinUAE
But when I build winuae I get Error C1083 Cannot open include file: 'FLAC/all.h': No such file or directory (compiling source file ..\..\archivers\chd\chdcodec.cpp)

I haven't been able to find any guide on how to build WinUAE, so I don't know what I am doing wrong, here are my newbie questions:
I open the Visual Studio solution from folder "WinUAE\od-win32\winuae_msvc15" in Visual Studio 2017. Is this the sln I am supposed to use?
Are there other prerequisites needed to build WinUAE? Like, do I have to download/install anything else to get FLAC/all.h?

Lots of questions, hope someone can shed some light.

Old 25 January 2019, 20:47   #2
Zone Friend
mcbpete's Avatar
Join Date: Oct 2004
Location: London, England
Age: 38
Posts: 203
Send a message via MSN to mcbpete Send a message via Yahoo to mcbpete
I'm guessing you might need FLAC libraries (libflac?) - For Github and Sourceforge building from source on Windows I've recently got msys2 ( https://www.msys2.org/ ) it definitely makes life a lot easier than doing it from an IDE....
mcbpete is offline  
Old 25 January 2019, 20:50   #3
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,625
http://www.winuae.net/files/b/winuaeinclibs.zip contains all external dependencies, pre-compiled library files and headers.
Toni Wilen is offline  
Old 26 January 2019, 15:30   #4
Posts: n/a
Thanks mcbpete
I found and downloaded the FLAC header files. One problem solved!

Old 26 January 2019, 15:47   #5
Posts: n/a
Thanks Toni

This is great! Still have some problems though:
- Cannot open source file: '..\..\aros.rom.cpp': No such file or directory
Maybe I can live without this one, but if some kind soul would point to where I can find it or upload to the zone, that'd be great!

- Cannot open include file: 'D3dkmthk.h': No such file or directory
This seems to be related to DirectX/Direct3D and I tried to find something to add to the Visual Studio 2017 installation, but didn't help. Any suggestions appreciated!

Last edited by skywalker; 26 January 2019 at 15:53.
Old 26 January 2019, 16:40   #6
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,625
I finally pushed quick compilation instructions (originally written by Zilog) to source tree (in od-win32). It will list required downloads.
Toni Wilen is offline  
Old 26 January 2019, 21:54   #7
Posts: n/a
Thumbs up Solved

Perfect, followed the instruction and it works great. Thanks!

Old 04 February 2019, 11:02   #8
Registered User

Join Date: Feb 2019
Location: Sheffield
Posts: 1
Thanks for the compilation instructions, worked great for me.
SteveC 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
Build a fast WinUAE PC at an affordable Price A500Fan support.WinUAE 9 30 July 2020 22:13
Flac player meynaf Coders. Releases 39 27 July 2018 14:46
fs-uae & flac Nova support.FS-UAE 0 04 June 2018 20:53
Vengeful Chip - A video game music collection in FLAC. andoru Retrogaming General Discussion 41 18 June 2016 11:20
ClassicWB 3.9....new system build-up on WinUAE NovaCoder project.ClassicWB 3 15 March 2011 01:42

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 02:03.

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