Trouble Understanding Instructions to Create 1st App
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
Trouble Understanding Instructions to Create 1st App
hey, im sorry if there is another post like this, but i couldnt find 1
i recently bought VS2003.net and have learnt C++ basics etc i decided i needed to go further than vb.net with dx9
ive downloaded the prebuilt SDK (just wondering, y arent the samples already built?)
i tried following the instructions to build a sample program, but i cant get it to work and am very confused now
could someone please, put down the exact steps for VS2003.net and the prebuilt sdk, because, i found that on that page, it had all the info together, which made it alot more confusing
also, the Directx 9 SDK from MS, what SDK do i need? because, new version come out every 2 months now, and i dont know what version i need etc
Thanks for your help
i recently bought VS2003.net and have learnt C++ basics etc i decided i needed to go further than vb.net with dx9
ive downloaded the prebuilt SDK (just wondering, y arent the samples already built?)
i tried following the instructions to build a sample program, but i cant get it to work and am very confused now
could someone please, put down the exact steps for VS2003.net and the prebuilt sdk, because, i found that on that page, it had all the info together, which made it alot more confusing
also, the Directx 9 SDK from MS, what SDK do i need? because, new version come out every 2 months now, and i dont know what version i need etc
Thanks for your help
- Wooden
- Halfling
- Posts: 58
- Joined: Thu Feb 10, 2005 10:35 pm
- Location: Arcachon, France
- Contact:
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
y is the source better? i thought it took 10 to 15 mins to build? i wont b editing the source at all. if i do get the source, im still gona have the same problem with understanding the instructions to get it to work, pls can someone put them down, in simple steps.
for example, in the instructions, it says about adding dependancies, well, how? and also, some of the 1s i couldnt find etc
i really want to use OGRE, it seems to be a great engine, very well documented, just getting started thats all
for example, in the instructions, it says about adding dependancies, well, how? and also, some of the 1s i couldnt find etc
i really want to use OGRE, it seems to be a great engine, very well documented, just getting started thats all
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
To keep the size of the download down, presumably. Also, you're going to have to build something yourself sooner or later, you might as well start with the samples.just wondering, y arent the samples already built?
Which instructions? What didn't work what error messages (if any) did you receive?i tried following the instructions to build a sample program, but i cant get it to work
the Directx 9 SDK from MS, what SDK do i need?
Pretty much any one you like will do. I update mine whenever a new version comes out, but you don't need to be that fussy.
All the information you need is in the docs and on the Wiki. Re-typing it here isn't really going to achieve anything apart from giving me typing practice and saving you some reading. Basically;could someone please, put down the exact steps for VS2003.net and the prebuilt sdk,
- Download the SDK and install it.
- Open up one of the sample solutions and build it.
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
- monster
- OGRE Community Helper
- Posts: 1098
- Joined: Mon Sep 22, 2003 2:40 am
- Location: Melbourne, Australia
- Contact:
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
what instructions in the SDK docs? i cant find any that explain how to add dependencies etc? unless im looking in the wrong place? Ogre SDK\docs ?
the tutorial im following, says, "Here we list the runtime dependencies you'll need to fulfil to run your OGRE-based application" then lists them, but i dont get what this exactly means? do u have to add them to the project? if so, how?
the tutorial im following, says, "Here we list the runtime dependencies you'll need to fulfil to run your OGRE-based application" then lists them, but i dont get what this exactly means? do u have to add them to the project? if so, how?
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
Yes, in the SDK/docs folder. There's a readme in there which clearly explains how to build the samples. You don't need to extract any [edit]source[/edit] dependencies, the SDK has it all; you're probably following something written for the more general source distribution.
The general app tutorials apply either way but anything to do with setup of the sample build environ is already done in the SDK.
[edit]Ok, actually sounds like you're reading about runtime dependencies, ie dlls you would need to include with your own app. Those are included with the SDK too, but you should build the samples (like the SDK readme tells you to) to get the ReferenceAppLayer since that IS a sample, just a library sample. Once you've done that you'll have everything you need.
And the samples aren't built, because they're supposed to show you HOW to build OGRE based apps. Thats' why they're called samples. If there were prebuilt for you, how would you know what building an OGRE-based app was supposed to look like?[/edit]
The general app tutorials apply either way but anything to do with setup of the sample build environ is already done in the SDK.
[edit]Ok, actually sounds like you're reading about runtime dependencies, ie dlls you would need to include with your own app. Those are included with the SDK too, but you should build the samples (like the SDK readme tells you to) to get the ReferenceAppLayer since that IS a sample, just a library sample. Once you've done that you'll have everything you need.
And the samples aren't built, because they're supposed to show you HOW to build OGRE based apps. Thats' why they're called samples. If there were prebuilt for you, how would you know what building an OGRE-based app was supposed to look like?[/edit]
- Chris Jones
- Lich
- Posts: 1742
- Joined: Tue Apr 05, 2005 1:11 pm
- Location: Gosport, South England
- x 1
ah, ive managed to compile the samples, altho i kept getting the same warning on them
c:\Program Files\OgreSDK\samples\include\ExampleFrameListener.h(79) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
should i just compile referenceAppLayer etc in release, then move the referenceAppLayer.dll to the bin folder.
mab im just trying to relate to vb too much :S but do u actually need to reference what dlls u r using in ur project, or does it get those things itself from the directories that are specified? im just a little confused about this really
c:\Program Files\OgreSDK\samples\include\ExampleFrameListener.h(79) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
should i just compile referenceAppLayer etc in release, then move the referenceAppLayer.dll to the bin folder.
mab im just trying to relate to vb too much :S but do u actually need to reference what dlls u r using in ur project, or does it get those things itself from the directories that are specified? im just a little confused about this really