Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Dec 13, 2018 9:57 am

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Jul 25, 2018 9:44 pm 
Offline
Engineer
Engineer
User avatar

Joined: Wed Jul 18, 2018 5:26 pm
Posts: 40
Location: Germany
Hi,
ive just started doing some stuff for Coding for OpenTTD which i will be uploading to GitHub when im finished

So these are the errors i get:
Code:
Error   C1083   Cannot open include file: 'ft2build.h': No such file or directory (compiling source file ..\src\strings.cpp)   openttd   trunk\src\fontdetection.h   19   
Error   C1083   Cannot open include file: 'lzo/lzo1x.h': No such file or directory   openttd   trunk\src\saveload\saveload.cpp   1976   
Error   C1083   Cannot open include file: 'zlib.h': No such file or directory   openttd   trunk\src\network\network_content.cpp   27      
Error   C1083   Cannot open include file: 'png.h': No such file or directory   openttd   trunk\src\screenshot.cpp   224   


Ive found these files in the .zip files in \OpenTTD Essentials\. do i have to unzip these?

Thanks in advance


Top
   
PostPosted: Wed Jul 25, 2018 10:10 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7228
you have to unpack those, and then set up a library path in visual studio so it finds them.


check out http://wiki.openttd.org/Compiling for details

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Wed Jul 25, 2018 10:16 pm 
Offline
Engineer
Engineer
User avatar

Joined: Wed Jul 18, 2018 5:26 pm
Posts: 40
Location: Germany
Eddi wrote:
you have to unpack those, and then set up a library path in visual studio so it finds them.

Even if I put in a library path in visual studio I get those errors. Also why are they not unpacked from the start?

Eddi wrote:
check out http://wiki.openttd.org/Compiling for details

I followed that and it nowhere said i have to unpack them and it doesnt say Ii have to put a library path to them.


Top
   
PostPosted: Wed Jul 25, 2018 11:07 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7228
are you sure? because for example at http://wiki.openttd.org/Compiling_on_Wi ... _the_files i see the steps 1.4, 2.9 and 2.10

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Thu Jul 26, 2018 10:41 am 
Offline
Engineer
Engineer
User avatar

Joined: Wed Jul 18, 2018 5:26 pm
Posts: 40
Location: Germany
Eddi wrote:
are you sure? because for example at http://wiki.openttd.org/Compiling_on_Wi ... _the_files i see the steps 1.4, 2.9 and 2.10

I am very sure, because i have done all of these steps, and step 1.4 doesnt say that the zip files "lpng1618" nor "zlib128" have to be unzipped even though the files are inside those folders.
And in step 2.9 and 2.10 it refers to a 2 different folders and i have succesfully linked them


Top
   
PostPosted: Thu Jul 26, 2018 11:05 am 
Offline
Engineer
Engineer

Joined: Sun Oct 02, 2011 6:56 pm
Posts: 126
Did you download "openttd-useful-6.0-source" or "openttd-useful-6.0-win"? As I understand the tutorial, you need openttd-useful-6.0-win and those zip files you are mentioning are in source.


Top
   
PostPosted: Thu Jul 26, 2018 4:32 pm 
Offline
Engineer
Engineer
User avatar

Joined: Wed Jul 18, 2018 5:26 pm
Posts: 40
Location: Germany
Karn wrote:
Did you download "openttd-useful-6.0-source" or "openttd-useful-6.0-win"? As I understand the tutorial, you need openttd-useful-6.0-win and those zip files you are mentioning are in source.


Yeah, thank you. that was my issue, i must of read it wrong.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.