this says it compiles delphi

this says it compiles delphi

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
duncs
Posts: 107
Joined: 27 Feb 2006, 16:27

this says it compiles delphi

Post by duncs »

hey. this project looks like it's alive, and claims that it can compile delphi in linux.

http://www.freepascal.org/news.html

give it a go

[edit: this post was supposed to be in reply to a previous post about not being able to compile something.. (lobby client?) in linux. for some reason I started a new post instead of replying :) ]
Last edited by duncs on 17 Apr 2006, 12:30, edited 1 time in total.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

Kay. What?
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

I cannot work with most of the components (libaries) needed to compile the lobby.
(also it doesn't have a GUI)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

We need a nic step by step howto gudie on howto compile the lobby. I finally managed to get Delphi 7 personal edition and tried to install the extra components that didnt come with the lobby and it suddenly became a confusing nightmare so for now I've given up and wont touch anything with delphi, instead referrign to NetBeans and java and the server/chanserv side....

That and the server is always error prone if you get it from the svn, it wont build in VC J# or Netbeans (Ant gives an error on missing functions TASServer.readline() which doesnt exist, isnt defined and has no function body, aswell as a fe wother missing things).

This also reflects when tryignt o run ti directly using the batch scripts, it always returns an error for me. How on earth Betalord or fnordia got the server running yet update the svn with these bugs not dissapearing is beyond me....
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

I could write a tutorial covering the components needed to compile. But I always seem to miss something to compile it. "Resource country_fe not found". You can ignore it. But maybe Betalord can tell us how to fix it.
(I think Altaric ignores this as well).
Fnordia
Former Engine Dev
Posts: 425
Joined: 13 Aug 2004, 16:11

Post by Fnordia »

Hm.. Building the server is not very complicated. Use Sun's JDK, type "javac *.java" and you are done.
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

But building the client is.
I've made a simple tutorial about it: Lobby compilign tutorial for Borland Delphi 7.
Now everyone can compile it :wink: Though pritty soon Omni and\or QSpring will be to a running stage.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I disagree, Ant and VCJ# complained very loudly when tryignt og enerate JAR files fromt eh source.

The source on the svn is faulty, it has references to methods in the TASServer class that dont exist, such as ReadLine and a set of variables controlling file uploading, this prevents me from runnign the server usignt he batch scripts, ti rpevents me from compiling theserver at all, I cannot do anythign witht eh server without bugfixing it which i ahve doen adn ahve arrived at a working lobby using *different* code from what the svn provided me with.


Provide us with your copy of the lobby server frnodia, and anybody who has succesfully compiled or ran the spring lobby server on the BerliOS svn who isnt betalord or fnorida say so...
Fnordia
Former Engine Dev
Posts: 425
Joined: 13 Aug 2004, 16:11

Post by Fnordia »

Ok, let me rephrase the instructions a bit so you can follow them easier: Ues Su'sn JKD, yetpe "javac *.java" nad yuo are dnoe.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

:lol: :lol: :lol:

Go Fnord!

:lol: :lol: :lol:
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

!!! "me follows instructions on copy of original source and they fail"

And my text is not that illegible.

The lobby server ahs errors in it, errors that are glaringly obvious when you try to compile them, show me the function body of TASServer.Readln for example, you wotn fidn it, but it's referenced.

When i try to execute the batch scripts they give errors, when i try to compile they give errors, when I try to run they give errors, I have the full java setup, the whole 150MB + netbeans from the SUN java website, I also tried Visual studio 2003 J# with identical results.
Fnordia
Former Engine Dev
Posts: 425
Joined: 13 Aug 2004, 16:11

Post by Fnordia »

I'm still not sure if you have tried what I wrote, but ok, here's a complete set of commands that works fine here:

Code: Select all

svn checkout svn://svn.berlios.de/taspring-linux/trunk/TASServer
cd TASServer
"\Program Files\java\jdk1.5.0_06\bin"\javac *.java
So what output do you get when you run this?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Regardless by your own admission the commands and explanation in the svn dont work, you've even given alternative commands.

The SVN needs ammending
Post Reply

Return to “Engine”