Klein Bottle example

Everything related to 3D programming
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Klein Bottle example

Post by MachineCode »

My point is: I can't just copy and paste a code sample from these forums and run it, without needing to install another product (DLL or DirectX) first. I see that as a problem, but I guess others don't. After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened? :(
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Klein Bottle example

Post by Fred »

MachineCode wrote:My point is: I can't just copy and paste a code sample from these forums and run it, without needing to install another product (DLL or DirectX) first. I see that as a problem, but I guess others don't. After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened? :(
What would be your solution, please ?
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: Klein Bottle example

Post by applePi »

i suggest to you to consult microsoft. you have not tried my suggestions because you respond immediately, which is the suggestion of microsoft, and the users here in the detailed links provided.
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Klein Bottle example

Post by Fred »

Installing DX9 worked on all PC I tested PB on, and it's also needed for commercial DirectX9 games as well, so i don't think it can be avoided at all.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Klein Bottle example

Post by LuCiFeR[SD] »

Fred wrote:Installing DX9 worked on all PC I tested PB on, and it's also needed for commercial DirectX9 games as well, so i don't think it can be avoided at all.
which puts us back to the installer fred. you could get it to download and install the additional requirements direct from Microsoft/nvidia etc. you could make it optional I suppose.... Just a thought. plenty of other software installers do it.
moogle
Enthusiast
Enthusiast
Posts: 372
Joined: Tue Feb 14, 2006 9:27 pm
Location: London, UK

Re: Klein Bottle example

Post by moogle »

The new message is worse as now you have no specific detail as to why the command failed.
Image
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Klein Bottle example

Post by Danilo »

MachineCode wrote:After all:
PureBasic.com wrote:No external DLLs, runtime interpreter or anything else required when creating executables
What happened? :(
What happened? Engine3D.dll was added 10 years ago. That happened.
MachineCode wrote:I see that as a problem, but I guess others don't.
DirectX requirement is documented on the "Requirements" page of the PB manual, so it is OK.
moogle wrote:The new message is worse as now you have no specific detail as to why the command failed.
Yep, the system message clearly said what is missing.

PB style means return 0 for failed commands, whatever the reason may be.
You never know the reason why something failed in PB. LastError() and LastErrorMessage() missing. ;)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Klein Bottle example

Post by MachineCode »

I have DirectX 11 installed. So why do I need to install DX9? Doesn't 11 override it?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Klein Bottle example

Post by Fred »

No it doesn't, so you need to install DX9.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Klein Bottle example

Post by MachineCode »

Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Klein Bottle example

Post by Fred »

You need to ask Microsoft for that.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Klein Bottle example

Post by MachineCode »

No problem, Fred. (BTW, I'm not trying to piss you off).
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Klein Bottle example

Post by Samuel »

MachineCode wrote:Okay. I'll give it a shot. I don't understand, though, since 11 was released later.
DirectX is not very backwards compatible. So DirectX11 was built for windows 7 and up. DirectX9 was built for windows XP and up. I believe the oldest windows OS that Ogre engine supports is XP. So they only use 9 to keep everything nice and compatible.

In time I'm sure Ogre will dump XP and then upgrade to DirectX10, but for now its going to have to remain
DirectX9.

Also every time windows upgrades there OS they come up with a new DirectX to support it. Currently they are using DirectX12 for Windows 8.
Hope that sheds a little light on the subject.

Edit:
One more thing directX9 is still a very good software. Just because its lower then 11 doesn't mean its a great deal weaker. There are many very nice quality
Xbox360 games that run of off directX9.
Post Reply