Building the source

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
guitarxe
Engineer
Engineer
Posts: 4
Joined: 23 Mar 2015 01:04

Building the source

Post by guitarxe »

Hi there,
I'm trying to get started. I grabbed 1.5 branch from the repo and opened it in Visual Studio 2013 (Express). I tried to build it, but looks like I'm missing a whole bunch of header files.

Code: Select all

Error	1	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\crashlog.cpp)	\1.5\src\language.h	17	1	openttd
Error	2	error C1083: Cannot open include file: 'ft2build.h': No such file or directory (..\src\fontcache.cpp)	\1.5\src\fontdetection.h	19	1	openttd
Error	3	error C1083: Cannot open include file: 'ft2build.h': No such file or directory (..\src\fontdetection.cpp)	\1.5\src\fontdetection.h	19	1	openttd
Error	4	error C1083: Cannot open include file: 'layout/ParagraphLayout.h': No such file or directory (..\src\gfx.cpp)	\1.5\src\gfx_layout.h	23	1	openttd
Error	5	error C1083: Cannot open include file: 'layout/ParagraphLayout.h': No such file or directory (..\src\gfx_layout.cpp)	\1.5\src\gfx_layout.h	23	1	openttd
Error	6	error C1083: Cannot open include file: 'png.h': No such file or directory	\1.5\src\heightmap.cpp	41	1	openttd
Error	7	error C1083: Cannot open include file: 'zlib.h': No such file or directory	\1.5\src\network\network_content.cpp	27	1	openttd
Error	8	error C1083: Cannot open include file: 'layout/ParagraphLayout.h': No such file or directory (..\src\openttd.cpp)	\1.5\src\gfx_layout.h	23	1	openttd
Error	9	error C1083: Cannot open include file: 'png.h': No such file or directory	\1.5\src\screenshot.cpp	231	1	openttd
Error	10	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\strgen\strgen_base.cpp)	\1.5\src\language.h	17	1	openttd
Error	11	error C1083: Cannot open include file: 'unicode/ustring.h': No such file or directory	\1.5\src\string.cpp	30	1	openttd
Error	12	error C1083: Cannot open include file: 'ft2build.h': No such file or directory (..\src\strings.cpp)	\1.5\src\fontdetection.h	19	1	openttd
Error	13	error C1083: Cannot open include file: 'layout/ParagraphLayout.h': No such file or directory (..\src\townname.cpp)	\1.5\src\gfx_layout.h	23	1	openttd
Error	14	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\intro_gui.cpp)	\1.5\src\language.h	17	1	openttd
Error	15	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\settings_gui.cpp)	\1.5\src\language.h	17	1	openttd
Error	16	error C1083: Cannot open include file: 'zlib.h': No such file or directory	\1.5\src\textfile_gui.cpp	25	1	openttd
Error	17	error C1083: Cannot open include file: 'lzo/lzo1x.h': No such file or directory	\1.5\src\saveload\saveload.cpp	1962	1	openttd
Error	18	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\game\game_text.cpp)	\1.5\src\language.h	17	1	openttd
Error	19	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\newgrf.cpp)	\1.5\src\language.h	17	1	openttd
Error	20	error C1083: Cannot open include file: 'unicode/coll.h': No such file or directory (..\src\newgrf_text.cpp)	\1.5\src\language.h	17	1	openttd
Error	21	error C1083: Cannot open include file: 'dmusici.h': No such file or directory	\1.5\src\music\dmusic.cpp	26	1	openttd
I searched the commit history on trunk for some of these files, but came up empty. o.O
Hm, what am I doing wrong here? There didn't seem to be any dependencies I could see in the repo, and most of these don't look like libraries anyway.
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5602
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Building the source

Post by PikkaBird »

Perhaps you need this? I'm not sure, I've not tried compiling in a long time. :)
guitarxe
Engineer
Engineer
Posts: 4
Joined: 23 Mar 2015 01:04

Re: Building the source

Post by guitarxe »

Yep, those are the ones. Thanks!
User avatar
adf88
Chief Executive
Chief Executive
Posts: 644
Joined: 14 Jan 2008 15:51
Location: PL

Re: Building the source

Post by adf88 »

:] don't worry, be happy and checkout my patches
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 46 guests