[Help] Getting this Error [Asap]

Get answers to all your basic programming questions. No Ogre questions, please!
Cetex1337
Gnoblar
Posts: 3
Joined: Sun Apr 22, 2012 9:10 pm

[Help] Getting this Error [Asap]

Post by Cetex1337 »

I'm getting this error everytime i debug my project and i haven't touched the code yet.

I've installed Ogre3d SDK + Visual C++ Express 10 + Ogre3D Appwizard

Image
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: [Help] Getting this Error [Asap]

Post by Mind Calamity »

You should be building BUILD_ALL, but not running it, after the build is finished (successfully) you need to go into "%OGRE_HOME%\bin\debug\" and launch the sample browser in order to see the demos (which is probably what you want), also go back and read the tutorials carefully.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Cetex1337
Gnoblar
Posts: 3
Joined: Sun Apr 22, 2012 9:10 pm

Re: [Help] Getting this Error [Asap]

Post by Cetex1337 »

I don't see the executable in the folder "bin" that i should be running. What is the file name of the builded file?

Edit: Tried "Sample_Browser" but it failed. Image
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: [Help] Getting this Error [Asap]

Post by Mind Calamity »

Look, you need to do this:

1. Build the project BUILD_ALL
2. (If step 1 was successful) Build the INSTALL project
3. Go into %OGRE_HOME%\bin\release\ (or debug)
4: Launch SampleBrowser(_d).exe

If the above doesn't work - you're doing the above wrong: start from scratch.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Cetex1337
Gnoblar
Posts: 3
Joined: Sun Apr 22, 2012 9:10 pm

Re: [Help] Getting this Error [Asap]

Post by Cetex1337 »

It helped me out, thanks.

But when i try to build a new project then i get this:

Code: Select all

*** >------ Build started: Project: Test 123, Configuration: Debug Win32 ------
1>  Test123.cpp
1>c:\users\cetex\documents\visual studio 2010\projects\test 123\test 123\include\baseapplication.h(21): fatal error C1083: Cannot open include file: 'OgreCamera.h': No such file or directory
1>  BaseApplication.cpp
1>c:\users\cetex\documents\visual studio 2010\projects\test 123\test 123\include\baseapplication.h(21): fatal error C1083: Cannot open include file: 'OgreCamera.h': No such file or directory
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========***
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Re: [Help] Getting this Error [Asap]

Post by jacmoe »

Could you please take some time off and learn how to use your tools?

Moved to Back to Basics.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Re: [Help] Getting this Error [Asap]

Post by Mind Calamity »

jacmoe wrote:Could you please take some time off and learn how to use your tools?

Moved to Back to Basics.
Agreed. Also - you should study some C++ basics and how compilers/linkers work.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt