Problems building or running the engine, queries about how to use features etc.
Warezovvv
Gnoblar
Posts: 4 Joined: Wed Jul 30, 2014 7:02 pm
Quote
0
login to like this post
Post
by Warezovvv » Wed Jul 30, 2014 7:10 pm
Hello OGRE community, I'am new to OGRE!
First of all I downloaded sdk 1.9 for VS 2012.
Passed this
http://www.ogre3d.org/tikiwiki/tiki-ind ... ual+Studio .
When I'am starting build, i have that error
Code: Select all
1>------ Build started: Project: Escape, Configuration: Debug Win32 ------
1> TutorialApplication.cpp
1>c:\gamedev\ogresdk_vc11_v1-9-0\include\ogre\sdktrays.h(32): fatal error C1083: Cannot open include file: 'OgreOverlaySystem.h': No such file or directory
1> Generating Code...
1> Compiling...
1> BaseApplication.cpp
1>c:\gamedev\ogresdk_vc11_v1-9-0\include\ogre\sdktrays.h(32): fatal error C1083: Cannot open include file: 'OgreOverlaySystem.h': No such file or directory
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Help, I need somebody,
Help, not just anybody!
Warezovvv
Gnoblar
Posts: 4 Joined: Wed Jul 30, 2014 7:02 pm
Quote
0
login to like this post
Post
by Warezovvv » Wed Jul 30, 2014 7:21 pm
Code: Select all
1>------ Rebuild All started: Project: Escape, Configuration: Debug Win32 ------
1> TutorialApplication.cpp
1>c:\gamedev\tutorialframework\tutorialapplication.cpp(56): error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> BaseApplication.cpp
1> Generating Code...
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Added to include $(OGRE_HOME)/include/OGRE/overlay
Warezovvv
Gnoblar
Posts: 4 Joined: Wed Jul 30, 2014 7:02 pm
Quote
0
login to like this post
Post
by Warezovvv » Wed Jul 30, 2014 7:39 pm
Code: Select all
{
// Create application object
TutorialApplication app;
try {
app.go();
} catch( Ogre::Exception& e ) {
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
// MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL); Error MAZAFACKA
#else
Where error, there erorr.
Commented line allowed to build project. Success. Please! Fix the bug!
LJS
Greenskin
Posts: 138 Joined: Wed Jan 09, 2013 8:58 pm
x 6
Quote
0
login to like this post
Post
by LJS » Wed Jul 30, 2014 8:34 pm
Hope you don't mind me asking this; what made you think that is a bug?
R,
(am very clumbsy, especially with words on a static screen. )
Ogre 3D 1.9.0 static
Bullet 2.8 static
Warezovvv
Gnoblar
Posts: 4 Joined: Wed Jul 30, 2014 7:02 pm
Quote
0
login to like this post
Post
by Warezovvv » Wed Jul 30, 2014 8:41 pm
Code: Select all
error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR'
I don't know what to think
LJS
Greenskin
Posts: 138 Joined: Wed Jan 09, 2013 8:58 pm
x 6
Quote
0
login to like this post
Post
by LJS » Wed Jul 30, 2014 9:22 pm
You should read the tutorial, it is not a bug - it is a feature
All your errors are handled there. When you have solved this, you will get another which is handled in the same tutorial too.
(am very clumbsy, especially with words on a static screen. )
Ogre 3D 1.9.0 static
Bullet 2.8 static
LJS
Greenskin
Posts: 138 Joined: Wed Jan 09, 2013 8:58 pm
x 6
Quote
0
login to like this post
Post
by LJS » Wed Jul 30, 2014 9:31 pm
(am very clumbsy, especially with words on a static screen. )
Ogre 3D 1.9.0 static
Bullet 2.8 static
c6burns
Beholder
Posts: 1512 Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 138
Quote
0
login to like this post
Post
by c6burns » Wed Jul 30, 2014 10:31 pm
This is not a bug, or a feature ... it's a misunderstanding of the windows API in relation to unicode. You are using unicode which means MessageBox is using MessageBoxW and expecting wide chars. If you have no idea what I'm saying, google is your friend
LJS
Greenskin
Posts: 138 Joined: Wed Jan 09, 2013 8:58 pm
x 6
Quote
0
login to like this post
Post
by LJS » Wed Jul 30, 2014 10:40 pm
Didn't ment a feature of Ogre, nor VS nor c++. Don't know exactly where to categorize this.
(am very clumbsy, especially with words on a static screen. )
Ogre 3D 1.9.0 static
Bullet 2.8 static
LJS
Greenskin
Posts: 138 Joined: Wed Jan 09, 2013 8:58 pm
x 6
Quote
0
login to like this post
Post
by LJS » Thu Jul 31, 2014 1:56 pm
Warezovvv, did you get it running?
(am very clumbsy, especially with words on a static screen. )
Ogre 3D 1.9.0 static
Bullet 2.8 static