Project: cargodest

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

2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

This is were i got the boost files

C:\msys\1.0\home\Alainspc\Boost\graph

on http://wiki.openttd.org/wiki/index.php/ ... pendencies

Its saying

./configure CFLAGS="-I/path/to/boost"

instead, where /path/to/boost is the directory you installed the boost libraries to.


so should i be puting

./configure CFLAGS="-msys/1.0/home/Alainspc/Boost/graph"

or what i cant seem to get it to work :(
For Community Integrated Version http://code.google.com/p/civopenttd/
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project: cargodest

Post by Yexo »

Try

Code: Select all

./configure CFLAGS="-I/cygdrive/c/msys/1.0/home/Alainspc/"
If you don't have /cygdrive, check for a similar directory.
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: Project: cargodest

Post by Eddi »

i don't know how strict cygwin is with this, but you might try renaming the "Boost" directory to "boost" (i.e lower case)
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

./configure CFLAGS="-I/home/Alainspc/boost"

seems to look right but i got a proble with

/* System includes */
#include <boost/graph/adjacency_list.hpp>

on both routing_classes.h and routing.cpp

:(

is it me or have i done some thing wrong again

and my g/fs dads been helping me with this as well

I all so thing theres were the errors Toni Babelony was getting
For Community Integrated Version http://code.google.com/p/civopenttd/
Aali
Traffic Manager
Traffic Manager
Posts: 144
Joined: 01 Oct 2008 00:04
Location: Sweden

Re: Project: cargodest

Post by Aali »

well, seeing as boost is already part of the path, maybe you should just leave that out from your include path

like so:
./configure CFLAGS="-I/home/Alainspc/"
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

Tryed it and now i got evern more errors saying about graph_concepts.hpp

But its there and i still got the same one as befor

I just tryed makeing one from the open ttd webs stire and i still get errors in that :(

I realy tired i come back tomowor and see if i can do it or if you lot can help me any more please

night all
Last edited by 2007Alain2007 on 09 Mar 2009 01:43, edited 1 time in total.
For Community Integrated Version http://code.google.com/p/civopenttd/
Aali
Traffic Manager
Traffic Manager
Posts: 144
Joined: 01 Oct 2008 00:04
Location: Sweden

Re: Project: cargodest

Post by Aali »

well, do you have all the boost headers or just adjacency_list? 'cause that won't work, you need all the graph headers
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

I got all the graph folder

In file included from C:/msys/1.0/home/Alainspc/ottdsrc/trunk/src/routing.cpp:11:
C:/msys/1.0/home/Alainspc/ottdsrc/trunk/src/routing_classes.h:28:42: boost/graph/adjacency_list.hpp: No such file or directory
In file included from C:/msys/1.0/home/Alainspc/ottdsrc/trunk/src/routing.cpp:1

I looked for this file and its there that what i dont get

I got my boost files from

http://ascendwiki.cheme.cmu.edu/Binary_ ... t_on_MinGW
For Community Integrated Version http://code.google.com/p/civopenttd/
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

hi all i have done it and it works :) if any one need to know what i did please ask
For Community Integrated Version http://code.google.com/p/civopenttd/
blitzkrieg
Engineer
Engineer
Posts: 105
Joined: 30 Jun 2006 04:22

Re: Project: cargodest

Post by blitzkrieg »

Can u upload an exe / zip/ rar of it??
2007Alain2007
Chief Executive
Chief Executive
Posts: 658
Joined: 11 Nov 2007 12:06
Contact:

Re: Project: cargodest

Post by 2007Alain2007 »

I just tryed to patch it and i failed with the new trunk and i cant get the R for the patch its a big big sharm
For Community Integrated Version http://code.google.com/p/civopenttd/
User avatar
pavel1269
Route Supervisor
Route Supervisor
Posts: 473
Joined: 03 Dec 2006 13:22
Location: Czech Republic
Contact:

Re: Project: cargodest

Post by pavel1269 »

love this patch sooo much :)
last version apply to trunk just fine i think ;-)
User avatar
pavel1269
Route Supervisor
Route Supervisor
Posts: 473
Joined: 03 Dec 2006 13:22
Location: Czech Republic
Contact:

Re: Project: cargodest

Post by pavel1269 »

edit: nuffin ...
Last edited by pavel1269 on 14 Mar 2009 13:31, edited 1 time in total.
Freak_NL
Engineer
Engineer
Posts: 48
Joined: 13 Mar 2009 18:56

Re: Project: cargodest

Post by Freak_NL »

For GNU/Linux the r15642 patch on the previous page applies cleanly to r15708, so use that if you are on a non-Windows OS. The above patch seems to be only for Microsoft Windows.

In the root directory of the checked-out code:

Code: Select all

patch -p1 < path-to-patch-for-r15642
User avatar
pavel1269
Route Supervisor
Route Supervisor
Posts: 473
Joined: 03 Dec 2006 13:22
Location: Czech Republic
Contact:

Re: Project: cargodest

Post by pavel1269 »

possible true, i use MSVS and in 15708 the unlink was redefined in boost libraries .... ;-)
Aali
Traffic Manager
Traffic Manager
Posts: 144
Joined: 01 Oct 2008 00:04
Location: Sweden

Re: Project: cargodest

Post by Aali »

Updated to r15708
Attachments
cargodest_r15708.patch
(217.46 KiB) Downloaded 319 times
pasteur
Engineer
Engineer
Posts: 9
Joined: 14 Mar 2009 17:55

Re: Project: cargodest

Post by pasteur »

I just built r15708 with cargodest patched, but I got a number of errors.
My Install Method is exactly same with this. (added boost) ->> http://wiki.openttd.org/wiki/index.php/Cygwin
What could I do??? :(
Attachments
error.png
error.png (19.48 KiB) Viewed 5791 times
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Project: cargodest

Post by Yexo »

pasteur wrote:I just built r15708 with cargodest patched, but I got a number of errors.
My Install Method is exactly same with this. (added boost) ->> http://wiki.openttd.org/wiki/index.php/Cygwin
What could I do??? :(
Read all replies from your previous topic, especially:
ChillCore wrote:Try with r15710 or later.
pasteur
Engineer
Engineer
Posts: 9
Joined: 14 Mar 2009 17:55

Re: Project: cargodest

Post by pasteur »

Yexo wrote:
pasteur wrote:I just built r15708 with cargodest patched, but I got a number of errors.
My Install Method is exactly same with this. (added boost) ->> http://wiki.openttd.org/wiki/index.php/Cygwin
What could I do??? :(
Read all replies from your previous topic, especially:
ChillCore wrote:Try with r15710 or later.
Okay. I'll try it. :D
pasteur
Engineer
Engineer
Posts: 9
Joined: 14 Mar 2009 17:55

Re: Project: cargodest

Post by pasteur »

I succeded in compiling it with MinGW. I still have a problem on freetype.
When I type "./configure --disable-static", It says that freetype not found. After typying 'make', It continues to build without support for truetype font. (such as korean, japanese, arabic...)
How can I build openttd+cargodest+freetype on MinGW?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 29 guests