FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ldc2 build

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Sat Aug 06, 2011 5:34 pm    Post subject: ldc2 build Reply with quote

ldc2 build, hi makefile do not support DC=ldc2

can you add this satement please:

Code:
ifeq ($(DC), ldc2)
....


or more easy
Code:
ln -s inc/ldc_inc.mak inc/ldc2_inc.mak


thanks
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sat Aug 06, 2011 10:10 pm    Post subject: Reply with quote

I had no idea there was an ldc2. Unfortunately, it's not so easy. DMD make on Windows doesn't understand bash scripting and adding a symbolic link won't work on Windows. I have to manually add a ldc2_inc.mak to the tree. That's easy, but then I have to add support to the Makefiles for each package. That's tedious.

What I need to do is figure out a way to make this easier to configure in case of future changes. I'll be so happy when we get a standard build tool so I won't have to muck about with these makefiles.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Mon Oct 24, 2011 6:50 am    Post subject: Reply with quote

so i do:
Code:
$ mv inc/ldc_inc.mak inc/ldc2_inc.mak
$ find . -name "Makefile" | xargs sed -i "s/ldc_build/ldc2_build/g

The first command for allow import about ldc flag
Second comand for target match with ldc2 compiler
but still an error (use phopbos2)
Code:
derelict/fmod/fmodextypes.d(45): Error: struct derelict.fmod.fmodextypes.FMOD_DSPCONNECTION unknown size
derelict/fmod/fmodextypes.d(45): Error: struct derelict.fmod.fmodextypes.FMOD_DSPCONNECTION no size yet for forward reference
Back to top
View user's profile Send private message
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Sat Nov 12, 2011 4:11 pm    Post subject: Reply with quote

ok i have fixed by do not build fmod

Code:
make  -f linux.mak DC=ldc2 DFLAGS="-w -g -O2"   \
    DerelictAL_ALL                              \
    DerelictAllegro_ALL                         \
    DerelictFT_ALL                              \
    DerelictFT                                  \
    DerelictGL_ALL                              \
    DerelictIL_ALL                              \
    DerelictODE_ALL                             \
    DerelictOgg_ALL                             \
    DerelictPA_ALL                              \
    DerelictSDL_ALL                             \
    DerelictSFML_ALL                            \
    DerelictUtil_ALL
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sat Nov 12, 2011 7:52 pm    Post subject: Reply with quote

Ah, I see. I replied to your ticket about FMOD before seeing this. Could you create a ticket including a patch for the modified makefiles? That would make it easier for me to set up an environment to solve the FMOD problem.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group