mechanicmarx / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Visual Studio 2012 support #277

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Compiling under Visual Studio 2012 ultimate fails

What is the expected output? What do you see instead?
WXwidget version does not recognize VS2012.

What version of the product are you using? On what operating system?
Using latest from source, on windows 7.

Please provide any additional information below.
Tried updating wxwidget, but still didn't compile.

Original issue reported on code.google.com by santania...@gmail.com on 26 Sep 2012 at 4:11

GoogleCodeExporter commented 8 years ago
Wow, that I call 'helpful'. 'Didn't compile' means nothing without at least 
showing the log. 
So compiling only Runtime works? 

Original comment by thomas.t...@googlemail.com on 26 Sep 2012 at 7:41

GoogleCodeExporter commented 8 years ago
Hmm, so you said you updated wxwidget!? So this patch should be already 
included:
http://trac.wxwidgets.org/ticket/14366

Since wxwidgets is not essential for gamekit itself I consider this issue with 
zero to subzero-importance for now, meaning if you really need to compile with 
vc2012 you have to find a way on your own...

Original comment by thomas.t...@googlemail.com on 26 Sep 2012 at 8:00

GoogleCodeExporter commented 8 years ago
Yes, the ogrekit runtimes compiles. wxwidget is the only thing that doesn't 
want to compile.

Compile gives me a few message of:
Please update wx/platform.h to recognize this VC++ version
and the error is 
Error   3   error C1083: Cannot open include file: 'pbt.h': No such file or 
directory   \wxWidgets-2.9.1\src\msw\window.cpp 112 wxAll

With the update, it was something like "wxUSE_FOO must be defined" that appears 
without end, saying that setup.h is badly configured...

So Wxwidget is optional? Nice to know!

Thank you

Original comment by santania...@gmail.com on 27 Sep 2012 at 1:41

GoogleCodeExporter commented 8 years ago
Well, wxwidget is used for the lua-editor-sample, embedded sample and such, but 
in the end gamekit itself only runs in this environment and don't have it as 
dependency.

The 'normal' way (at least mine) to use gamekit is to use the blender-addon and 
the runtime, or to write your own 'runtime' that runs the blends in c++ or 
using the lua-runtime...

Have fun,ToM

Original comment by thomas.t...@googlemail.com on 27 Sep 2012 at 10:29

GoogleCodeExporter commented 8 years ago
I received the same issue when compiling, I could compile the standard project 
fine, but when selecting samples in cmake and trying to compile in VS 2012 
(express) (win 8 64) it ultimately fails, complaining about wx. I selected 
NodeEditor,LogicDemo, and VehicleDemo in cmake. So I reconfigured cmake and 
generated it again without these samples, then cleaned the project and rebuilt 
it and now it won't compile; still complains about wx. Perhaps I'll wipe out 
the destination cmake directory and start over.

Error   3   error C1083: Cannot open include file: 'pbt.h': No such file or 
directory   C:\Ogre\GameKit\wxWidgets-2.9.1\src\msw\window.cpp  112 1   wxAll
Error   10  error LNK1181: cannot open input file 
'..\..\wxWidgets-2.9.1\wxCMake\wxAll\Release\wxAll.lib' C:\Ogre\GameKit\Build\Fi
leTools\Compiler\LINK   makefbt
Error   11  error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets   172 5   bfBlend
Error   14  error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets   172 5   btBullet
File
Error   156 error LNK1181: cannot open input file 
'..\..\wxWidgets-2.9.1\wxCMake\wxAll\Release\wxAll.lib' C:\Ogre\GameKit\Build\Sa
mples\CppDemo\LINK  AppCppDemo
Error   157 error LNK1181: cannot open input file 
'..\..\wxWidgets-2.9.1\wxCMake\wxAll\Release\wxAll.lib' C:\Ogre\GameKit\Build\Sa
mples\Runtime\LINK  AppOgreKit

Original comment by ChrisFG...@gmail.com on 2 Jan 2013 at 11:15

GoogleCodeExporter commented 8 years ago
Fixed on r1262.

Thanks.

Original comment by harkon...@gmail.com on 14 Apr 2013 at 9:19