Requested: Delphi Support

What it says on the tin: a place to discuss proposed new features.
Post Reply
Svenny
Gnoblar
Posts: 3
Joined: Mon Jan 08, 2007 11:38 am

Requested: Delphi Support

Post by Svenny »

Greetings.

I am a Delphi programmer, and would like to see a support for Delphi. That would allow me to use OGER.

Thanks,

Svenny
User avatar
eugen
OGRE Expert User
OGRE Expert User
Posts: 1422
Joined: Sat May 22, 2004 5:28 am
Location: Bucharest
x 8
Contact:

Post by eugen »

Man, the library is called OGRE (the second time u wrote it wrong)
if ure requesting support at least learn the name right
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

That has already been stated in other thread.
What we would really thank you is not to triple-post (not even double-post)
Image
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Post by syedhs »

The faster and more logical way is to use PyOgre or OgreDotNet/Mogre. It is already done & proven and the only thing left is to learn Python or C# which is IMHO not difficult.
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 7
Contact:

Post by haffax »

You don't even have to learn C#, not? Since Delphi.Net is also a CLR language and should work with Mogre & Co. But I don't use .Net, so not 100% sure.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Post by syedhs »

I have never worked with Delphi, all I know it is using Pascal and it was pitted to beat Visual Basic not too long ago :)
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

I agree with Haffax, MOGRE is probably your best bet. Core OGRE is C++ only.

[opinion]
Delphi, whilst technically quite clever, never really took off in the mainstream. Part of that was Borlands insistance on using all their own component / library formats instead of playing nicer with others. The rest was VS.Net. Borland themselves have been trying to sell it off for some time which pretty much sums up the problem. Personally I never understood the choice of Pascal anyway (I studied it at school decades ago but never saw it used outside of the classroom), but that's somewhat subjective.

Borland used to be a major player in the devtools market - I used all Borland C/C++ compilers and assemblers for years in the 90's. IMO their obsession with Delphi and related tech is what killed them off - if they's stuck to making killer C/C++ tools like they did in the 90's they could have crushed Visual C++ easily, VC5/6 was just asking to be steamrolled by a better implementation. Too late now though.[/opinion]

Anyway, it never hurts to learn a new language. Pigeon-holing yourself into a single (minority) language isn't so great for the CV ;)
User avatar
iplayfast
Gnoblar
Posts: 16
Joined: Sun Jul 04, 2004 5:53 am
Location: Canada

Post by iplayfast »

sinbad wrote:I agree with Haffax, MOGRE is probably your best bet. Core OGRE is C++ only.
I've just spent the last 3 hours trying to use code blocks, and it can't even compile hello world anymore. On vista it's broken broken broken....

So now the only option is to use VC, which I'd rather not buy and install.

I really wish you'd rethink the Borland (now CodeGear) angle, their new compiler kicks serious ass. I tried building the Bezier.cpp demo and after defining _STLP_HASH_FUN_H got down to what appear to be errors.
(OgreUTFString.h 225,228,231,245 all with UTFString::mData is not accessible which might be something you should look at.)

I don't think it would take much to get things rolling and there is a free version available. http://cc.codegear.com/free/cppbuilder
AMD dual athlon, on Gentoo. 512 MB, Video is 9200 SE with 3.11.1 drivers.
Linux version 2.6.8-rc2-mm2 (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7))
SMP
GNU ld version 2.15.92.0.2 20040927
User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Post by xavier »

iplayfast wrote: So now the only option is to use VC, which I'd rather not buy and install.
You don't have to buy it. I cannot believe that N years after MS began giving away Visual C++ there are still people that think you need to buy it...

http://www.microsoft.com/express/vc
I really wish you'd rethink the Borland (now CodeGear) angle
I'll bet if you were willing to pony up the $$$ (or Euros, as it were) Sinbad would be more than happy to spend the time on supporting (yet another) compiler/IDE...
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.
User avatar
iplayfast
Gnoblar
Posts: 16
Joined: Sun Jul 04, 2004 5:53 am
Location: Canada

Post by iplayfast »

xavier wrote: You don't have to buy it. I cannot believe that N years after MS began giving away Visual C++ there are still people that think you need to buy it...
http://www.microsoft.com/express/vc
Ok, I just don't want another piece of Microsoft crap on my computer. I have used in the past, and it tends to mess up every other compiler/help system I have on my computer, and it takes me weeks to sort things out.
AMD dual athlon, on Gentoo. 512 MB, Video is 9200 SE with 3.11.1 drivers.
Linux version 2.6.8-rc2-mm2 (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7))
SMP
GNU ld version 2.15.92.0.2 20040927
User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Post by xavier »

iplayfast wrote:
xavier wrote: You don't have to buy it. I cannot believe that N years after MS began giving away Visual C++ there are still people that think you need to buy it...
http://www.microsoft.com/express/vc
Ok, I just don't want another piece of Microsoft crap on my computer. I have used in the past, and it tends to mess up every other compiler/help system I have on my computer, and it takes me weeks to sort things out.
Funny, it works fine for me. Coexists peacefully with my other versions of Visual Studio (had up to three at one point) and also doesn't seem to bother my Cygwin setup either. Perhaps you are exaggerating a bit?

And you didn't say anything about it being Microsoft -- you just said you didn't want to pay for it, so I pointed out you don't have to.
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

Microsoft crap? you're lucky you get great programs with Windows and arent forced to use Vc++
(although you should!)
vc++ is the best (imo) Ide for C++... its REALLY easy to set up... and it has a great debugger

Code::Blocks.. well I dont like how theres only nightly builds..

Anyway
GET VC++ 2005 OR VC++ 2008

make sure you go on the Ogre Wiki and see how to set it up too


CYA
User avatar
iplayfast
Gnoblar
Posts: 16
Joined: Sun Jul 04, 2004 5:53 am
Location: Canada

Post by iplayfast »

xavier wrote:
iplayfast wrote:
xavier wrote: You don't have to buy it. I cannot believe that N years after MS began giving away Visual C++ there are still people that think you need to buy it...
http://www.microsoft.com/express/vc
Funny, it works fine for me. Coexists peacefully with my other versions of Visual Studio (had up to three at one point) and also doesn't seem to bother my Cygwin setup either. Perhaps you are exaggerating a bit?
May coexist peacefully with other versions of VS, but I've found conflicts with Borland's stuff. (Which I need for my job). I've also used cygwin, and some others with it, and I think you are right now that I think on it. It was only Borland that got corrupted.
xavier wrote: And you didn't say anything about it being Microsoft -- you just said you didn't want to pay for it, so I pointed out you don't have to.
Actually I said buy and install. In my mind the install was the emphasis with the buy as the extra kick to the head :)

Hey Sinbad, if you see this thread, what would the cost be to support Codegear (nee Borland)
AMD dual athlon, on Gentoo. 512 MB, Video is 9200 SE with 3.11.1 drivers.
Linux version 2.6.8-rc2-mm2 (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7))
SMP
GNU ld version 2.15.92.0.2 20040927
User avatar
iplayfast
Gnoblar
Posts: 16
Joined: Sun Jul 04, 2004 5:53 am
Location: Canada

Post by iplayfast »

twilight17 wrote:Microsoft crap? you're lucky you get great programs with Windows and arent forced to use Vc++
(although you should!)
I see.....
How does the cool-aid taste? :shock:
twilight17 wrote: vc++ is the best (imo) Ide for C++... its REALLY easy to set up... and it has a great debugger

Code::Blocks.. well I dont like how theres only nightly builds..

Anyway
GET VC++ 2005 OR VC++ 2008

make sure you go on the Ogre Wiki and see how to set it up too

CYA
I think I might have to, although I really worry about my now stable system going south.

Why don't you try out the free version of codegear http://cc.codegear.com/free/cppbuilder
and if you still feel that VC is better let me know.

In the meantime, I guess I'll be doing a complete backup... (I actually already have a bought version of VC++ 2005, I just didn't want to put it on my new system....)
AMD dual athlon, on Gentoo. 512 MB, Video is 9200 SE with 3.11.1 drivers.
Linux version 2.6.8-rc2-mm2 (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7))
SMP
GNU ld version 2.15.92.0.2 20040927
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

iplayfast wrote: I think I might have to, although I really worry about my now stable system going south.
Wow?!?!?!

VC++ NOT STABLE?

how does that make sense? VC++ has been around for many years and is completely stable... use VC++ 2008 - it has tons of great features and it DOESN'T crash...

how about this: Name when, and how VC++ crashed.
I would bet 100 that it was because you didn't set it up right, or something you did wrong.

and Delphi support for Ogre.. you really think thats gonna happen? Right when you say "Gimme supporrtrsr for dis, noww!@1111one!!"
No. its not. and anyway.. why dont you write it?
User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Post by xavier »

iplayfast wrote:
twilight17 wrote:Microsoft crap? you're lucky you get great programs with Windows and arent forced to use Vc++
(although you should!)
I see.....
How does the cool-aid taste? :shock:
I wouldn't know, I'm too busy being productive with VC++ 2005... ;)

I really can't understand what problems you may have had, and you seem reluctant to itemize them, so we can neither refute your claims nor assist you in sorting out whatever issues you had.
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Post by Kojack »

How does the cool-aid taste?
If you are meaning that in the "suicidal cult drinking poison" way, it was Flavor Aid (grape flavor) that Jim Jones used, not Kool Aid.

If you want to avoid microsoft stuff, don't forget that the prerequisites for CodeGear are: "Microsoft .NET Framework v1.1 Redistributable, Microsoft .NET SDK v1.1, Microsoft Visual J# v1.1 Redistributable, Microsoft Internet Explorer 6 SP1 and Microsoft XML Core Services v4.0 SP2".



The free version of Turbo C++ (the C++ component of CodeGear) is the 2006 edition. The 2007 version is still commercial ($1500+ aus). The product page says the 2007 version has "Enhanced 2007 compilers including better C++ standards conformance". So I guess the important question is whether the 2006 free version's lower standards conformance is at an acceptable level for Ogre without needing code workarounds (Visual Studio 6 isn't supported anymore for that reason).

If the compiler is able to handle it with maybe only minor changes, and it's just a project setup that's needed, then Turbo C++ support should be fine as a user supported addon. I doubt Sinbad is going to want to deal personally with yet another compiler.

I've got an urge to try building Ogre with LLVM and Digital MarsC++.
Not saying the results are going to be better than VC, I just feel like trying it. :)
User avatar
iplayfast
Gnoblar
Posts: 16
Joined: Sun Jul 04, 2004 5:53 am
Location: Canada

Post by iplayfast »

Kojack wrote: If you want to avoid microsoft stuff, don't forget that the prerequisites for CodeGear are: "Microsoft .NET Framework v1.1 Redistributable, Microsoft .NET SDK v1.1, Microsoft Visual J# v1.1 Redistributable, Microsoft Internet Explorer 6 SP1 and Microsoft XML Core Services v4.0 SP2".
I know. Still pisses me off. I think that adding in all the NET stuff (that apparently few Delphi people use) is what screwed up the help system in the first place.
Kojack wrote: The free version of Turbo C++ (the C++ component of CodeGear) is the 2006 edition. The 2007 version is still commercial ($1500+ aus).
I wasn't aware of that. I had thought the free version was just stripped down. The new compiler is much more stable, then the old one and uses P.J.Plauger's stl, which is very nice.
Kojack wrote: So I guess the important question is whether the 2006 free version's lower standards conformance is at an acceptable level for Ogre without needing code workarounds (Visual Studio 6 isn't supported anymore for that reason).
I don't use the free version myself, but I did notice that Ogre does have some support for Borland already, in the ifdef's. I don't know how much would be needed to make things start working again.
Kojack wrote: I doubt Sinbad is going to want to deal personally with yet another compiler.
I agree, although it does look like on his blog that he hasn't "drank the cool-aid". (The expression from what I understand has come to mean,
"accepting blindly without question").
Kojack wrote: I've got an urge to try building Ogre with LLVM and Digital MarsC++.
Not saying the results are going to be better than VC, I just feel like trying it. :)

I would be very interested in hearing your results.
AMD dual athlon, on Gentoo. 512 MB, Video is 9200 SE with 3.11.1 drivers.
Linux version 2.6.8-rc2-mm2 (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7))
SMP
GNU ld version 2.15.92.0.2 20040927
gasdeveloper
Gnoblar
Posts: 3
Joined: Mon Mar 30, 2009 2:12 am

Re: Requested: Delphi Support

Post by gasdeveloper »

mike30
Gnoblar
Posts: 3
Joined: Fri Jul 02, 2010 3:00 am

Re: Requested: Delphi Support

Post by mike30 »

gasdeveloper wrote:Ogre4Delphi is now available. http://www.ogre3d.org/forums/viewtopic. ... 35#p334635
Thank's a lot. That's what I have been waiting for. :D
User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Re: Requested: Delphi Support

Post by xavier »

Can you please stop resurrecting old posts for no reason?
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.
Post Reply