View previous topic :: View next topic |
Author |
Message |
bioinfornatics
Joined: 22 Jun 2010 Posts: 90
|
Posted: Sat Aug 06, 2011 5:34 pm Post subject: ldc2 build |
|
|
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sat Aug 06, 2011 10:10 pm Post subject: |
|
|
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 |
|
|
bioinfornatics
Joined: 22 Jun 2010 Posts: 90
|
Posted: Mon Oct 24, 2011 6:50 am Post subject: |
|
|
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 |
|
|
bioinfornatics
Joined: 22 Jun 2010 Posts: 90
|
Posted: Sat Nov 12, 2011 4:11 pm Post subject: |
|
|
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sat Nov 12, 2011 7:52 pm Post subject: |
|
|
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 |
|
|
|