Jump to content
Eternal Lands Official Forums
Sign in to follow this  
elpargo

What Happen To "the Compile El With Dev-cpp"thread

Recommended Posts

Some dick-hole deleted all the posts in this forum, so it's lost forever.

 

However, I'm occasionally adding things to our berlios site, where that information belongs. If anyone wants to send me any info on compiling the client for windows, I'll put it on the site when I get time.

Share this post


Link to post
Share on other sites

Why would anyone need info on windows compilation? :P ...It's the same as linux, just that the Makefile is outdated.

 

If anyone wants/needs it, here's mine (grabbed from my release script in Makefile.am)

# Project: EL
#You may need to modify this makefile to use your CC, LIBS, etc.

CC   = gcc.exe
OBJ  = 3d_objects.o actor_scripts.o actors.o asc.o buddy.o cache.o colors.o console.o cursors.o dialogues.o draw_scene.o encyclopedia.o errors.o events.o filter.o font.o frustum.o gl_init.o hud.o ignore.o init.o interface.o items.o knowledge.o lights.o main.o manufacture.o map_io.o md2loader.o md5.o misc.o multiplayer.o new_actors.o new_character.o particles.o paste.o pathfinder.o reflection.o shadows.o sound.o spells.o stats.o text.o textures.o tile_map.o trade.o weather.o 2d_objects.o questlog.o elwindows.o keys.o pm_log.o $(RES)
LINKOBJ  = 3d_objects.o actor_scripts.o actors.o asc.o buddy.o cache.o colors.o console.o cursors.o dialogues.o draw_scene.o encyclopedia.o errors.o events.o filter.o font.o frustum.o gl_init.o hud.o ignore.o init.o interface.o items.o knowledge.o lights.o main.o manufacture.o map_io.o md2loader.o md5.o misc.o multiplayer.o new_actors.o new_character.o particles.o paste.o pathfinder.o reflection.o shadows.o sound.o spells.o stats.o text.o textures.o tile_map.o trade.o weather.o 2d_objects.o questlog.o elwindows.o keys.o pm_log.o $(RES)
LIBS =  -L"C:/Dev-Cpp/lib" -mwindows -lSDL -lopengl32  -lxml2 -lSDL_net -lALut -lOpenAL32 -lvorbisfile  
INCS =  -I"C:/Dev-Cpp/include" 
BIN  = C:/EL/ELc.exe
WIN_BIN = C:\EL\ELc.exe
CFLAGS = $(INCS) -DWINDOWS -D_WIN32 -DELC  

.PHONY: all all-before all-after clean clean-custom

all: all-before C:/EL/ELc.exe all-after


clean: clean-custom
[TAB]rm -f $(OBJ) $(BIN)

$(BIN): $(OBJ)
[TAB]$(CC) $(LINKOBJ) -o $(WIN_BIN) $(LIBS)

3d_objects.o: 3d_objects.c
[TAB]$(CC) -c 3d_objects.c -o 3d_objects.o $(CFLAGS)

actor_scripts.o: actor_scripts.c
[TAB]$(CC) -c actor_scripts.c -o actor_scripts.o $(CFLAGS)

actors.o: actors.c
[TAB]$(CC) -c actors.c -o actors.o $(CFLAGS)

asc.o: asc.c
[TAB]$(CC) -c asc.c -o asc.o $(CFLAGS)

buddy.o: buddy.c
[TAB]$(CC) -c buddy.c -o buddy.o $(CFLAGS)

cache.o: cache.c
[TAB]$(CC) -c cache.c -o cache.o $(CFLAGS)

colors.o: colors.c
[TAB]$(CC) -c colors.c -o colors.o $(CFLAGS)

console.o: console.c
[TAB]$(CC) -c console.c -o console.o $(CFLAGS)

cursors.o: cursors.c
[TAB]$(CC) -c cursors.c -o cursors.o $(CFLAGS)

dialogues.o: dialogues.c
[TAB]$(CC) -c dialogues.c -o dialogues.o $(CFLAGS)

draw_scene.o: draw_scene.c
[TAB]$(CC) -c draw_scene.c -o draw_scene.o $(CFLAGS)

encyclopedia.o: encyclopedia.c
[TAB]$(CC) -c encyclopedia.c -o encyclopedia.o $(CFLAGS)

errors.o: errors.c
[TAB]$(CC) -c errors.c -o errors.o $(CFLAGS)

events.o: events.c
[TAB]$(CC) -c events.c -o events.o $(CFLAGS)

filter.o: filter.c
[TAB]$(CC) -c filter.c -o filter.o $(CFLAGS)

font.o: font.c
[TAB]$(CC) -c font.c -o font.o $(CFLAGS)

frustum.o: frustum.c
[TAB]$(CC) -c frustum.c -o frustum.o $(CFLAGS)

gl_init.o: gl_init.c
[TAB]$(CC) -c gl_init.c -o gl_init.o $(CFLAGS)

hud.o: hud.c
[TAB]$(CC) -c hud.c -o hud.o $(CFLAGS)

ignore.o: ignore.c
[TAB]$(CC) -c ignore.c -o ignore.o $(CFLAGS)

init.o: init.c
[TAB]$(CC) -c init.c -o init.o $(CFLAGS)

interface.o: interface.c
[TAB]$(CC) -c interface.c -o interface.o $(CFLAGS)

items.o: items.c
[TAB]$(CC) -c items.c -o items.o $(CFLAGS)

knowledge.o: knowledge.c
[TAB]$(CC) -c knowledge.c -o knowledge.o $(CFLAGS)

lights.o: lights.c
[TAB]$(CC) -c lights.c -o lights.o $(CFLAGS)

main.o: main.c
[TAB]$(CC) -c main.c -o main.o $(CFLAGS)

manufacture.o: manufacture.c
[TAB]$(CC) -c manufacture.c -o manufacture.o $(CFLAGS)

map_io.o: map_io.c
[TAB]$(CC) -c map_io.c -o map_io.o $(CFLAGS)

md2loader.o: md2loader.c
[TAB]$(CC) -c md2loader.c -o md2loader.o $(CFLAGS)

md5.o: md5.c
[TAB]$(CC) -c md5.c -o md5.o $(CFLAGS)

misc.o: misc.c
[TAB]$(CC) -c misc.c -o misc.o $(CFLAGS)

multiplayer.o: multiplayer.c
[TAB]$(CC) -c multiplayer.c -o multiplayer.o $(CFLAGS)

new_actors.o: new_actors.c
[TAB]$(CC) -c new_actors.c -o new_actors.o $(CFLAGS)

new_character.o: new_character.c
[TAB]$(CC) -c new_character.c -o new_character.o $(CFLAGS)

particles.o: particles.c
[TAB]$(CC) -c particles.c -o particles.o $(CFLAGS)

paste.o: paste.c
[TAB]$(CC) -c paste.c -o paste.o $(CFLAGS)

pathfinder.o: pathfinder.c
[TAB]$(CC) -c pathfinder.c -o pathfinder.o $(CFLAGS)

reflection.o: reflection.c
[TAB]$(CC) -c reflection.c -o reflection.o $(CFLAGS)

shadows.o: shadows.c
[TAB]$(CC) -c shadows.c -o shadows.o $(CFLAGS)

sound.o: sound.c
[TAB]$(CC) -c sound.c -o sound.o $(CFLAGS)

spells.o: spells.c
[TAB]$(CC) -c spells.c -o spells.o $(CFLAGS)

stats.o: stats.c
[TAB]$(CC) -c stats.c -o stats.o $(CFLAGS)

text.o: text.c
[TAB]$(CC) -c text.c -o text.o $(CFLAGS)

textures.o: textures.c
[TAB]$(CC) -c textures.c -o textures.o $(CFLAGS)

tile_map.o: tile_map.c
[TAB]$(CC) -c tile_map.c -o tile_map.o $(CFLAGS)

trade.o: trade.c
[TAB]$(CC) -c trade.c -o trade.o $(CFLAGS)

weather.o: weather.c
[TAB]$(CC) -c weather.c -o weather.o $(CFLAGS)

2d_objects.o: 2d_objects.c
[TAB]$(CC) -c 2d_objects.c -o 2d_objects.o $(CFLAGS)

questlog.o: questlog.c
[TAB]$(CC) -c questlog.c -o questlog.o $(CFLAGS)

elwindows.o: elwindows.c
[TAB]$(CC) -c elwindows.c -o elwindows.o $(CFLAGS)

keys.o: keys.c
[TAB]$(CC) -c keys.c -o keys.o $(CFLAGS)

pm_log.o: pm_log.c
[TAB]$(CC) -c pm_log.c -o pm_log.o $(CFLAGS)

 

Note: replace [TAB] with a tab...can simply be done in text editor with replace all (Unless you use a variable called "[TAB]" :blink: )

And, erm...someone should post all the lib URLS too.

Share this post


Link to post
Share on other sites

well it was really informative.

 

It had links to what u needed to download, where to install it, etc.

 

As for "it is the same as linux" well what if you don't know how to compile it on linux.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×