Compiling troubles

Questions, comments and discussion about the Game Editor development.

Compiling troubles

Postby zeebrazil » Thu Feb 04, 2010 2:27 pm

Hi forum,
I recently found the source of the game editor , until i work on the VB for game programming . to achieve more powerful tasks i started c++ .
I am trying to compile the code in windows through follow the instructions in compilation.txt given with source code.
In that it mention as follows


If you are using the Windows to build, get the cmake (http://cmake.org/) and generate the Visual Studio files with the follow configuration:

CMAKE_INSTALL_PREFIX:llvm/bin (or other path you want)
LLVM_BUILD_EXAMPLES:false
LLVM_BUILD_TOOLS:true
LLVM_ENABLE_ASSERTIONS:true
LLVM_ENABLE_PIC:false
LLVM_ENABLE_THREADS:true
LLVM_TABLEGEN:tblgen
LLVM_TARGETS_TO_BUILD:ARM;CBackend;CppBackend;Mips;MSIL;PowerPC;X86
LLVM_TARGET_ARCH:host


As mentioned above i just confused how to generate visual studio files . the just give the path of the game editor folder which have the code. After set and configure as mentioned above . i got the error

CMake Error: The source directory "E:/Game editor/game-editor/trunk/gameEditor" does not appear to contain CMakeLists.txt.

this is the first error i got . where to i get this CMakeLists.txt for to generate the files .

thank you in advance
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Thu Feb 04, 2010 3:07 pm

You can compile game editor without the LLVM now.
Just open the gameEditor.sln file in the Visual Studio and build the gameEDitor project.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Thu Feb 04, 2010 3:29 pm

thanks for your reply,
i try as you said i got the result gameEditor - 1 error(s), 304 warning(s)
but after i am unable view the out put by debugging . i got the dialogue box which contain
please specify the name of the executable file to be used for debug session.
Actually there is no executable files in the code to specify the path .
please let we know how to resolve this . i am using vc++ 2008 express editon .

thanks
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Thu Feb 04, 2010 4:05 pm

What is the error?
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Thu Feb 04, 2010 4:26 pm

its just "No such file or directory" error i solved my self now i am worried about the debug issue as mentioned before it was repeating how to solve this .
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Fri Feb 05, 2010 1:32 am

What file or directory?
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Fri Feb 05, 2010 11:51 am

i got the error as follows

Linking...
LINK : fatal error LNK1181: cannot open input file 'dxguid.lib'
Creating browse information file...


How to solve this
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Fri Feb 05, 2010 3:04 pm

The dxguid.lib file is a directX library supplied with the Visual Studio.
Search for the file in your computer and add the path to the Visual Studio library paths.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Sat Feb 06, 2010 3:37 pm

I got the below error in Visual studio 2005. But now I have downloaded Visual studio 2008(trail Version) and then tried to run the code. I am getting the below error
.\src\stedit.cpp(49) : fatal error C1083: Cannot open include file: 'wx/wxprec.h': No such file or directory
2>stestyls.cpp
2>..\src\stestyls.cpp(44) : fatal error C1083: Cannot open include file: 'wx/wxprec.h': No such file or directory.
I have read your previous suggestions of installing wxwidgets and they got installed properly. I am struck on this.
Then I followed your suggestion "Just open the gameEditor.sln file in the Visual Studio and build the gameEDitor project" I am able to build the gameEditor project. And after the build it says ready. Now, how will I get the IDE started. I dont see anything happening after the build. Do i need to compile any project before compiling gameEditor.
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Sat Feb 06, 2010 9:46 pm

If you buid the gameEditor project without errors,the file gameEditor.exe must be in the output directory.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Sat Feb 06, 2010 11:47 pm

No. The build was not successful. Now I am again back to dxguid.lib error. It is missing. I searched for it in my system its not there. Some of the websites suggested to install microsoft directx. Installing it. Will keep you posted. If I download the library where do I have to set the library(Sorry to ask you basic question) I tried that aswell.
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Sun Feb 07, 2010 4:30 am

HI, I have resolved the above error by installing directx and pointing VC++ to the libraries. Now i am getting 'cannot find the file RakNetLibStaticDebug.lib'. I am working on that. Will keep posted.
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Sun Feb 07, 2010 6:44 am

I have resolved the above error by downloading RAKNet. But when I build the gameEditor project I get gameengine.lib not found. As you suggested I did build the gameEngine but it is throwing 2 errrors .

1. GameControl.cpp(10147) : error C2660: 'SystemAddress::ToString' : function does not take 0 arguments
2. BSCMAKE: error BK1506 : cannot open file '..\output\Windows\gameEngine\Debug\dlmalloc.sbr': No such file or directory

Can you please guide me through. I did search for the dlmalloc.c and tried to compile it. no results.
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Re: Compiling troubles

Postby makslane » Sun Feb 07, 2010 5:39 pm

Sorry, I haven't compiled the debug version before upload.
I've updated the source code, please, download again.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Compiling troubles

Postby zeebrazil » Mon Feb 08, 2010 4:46 pm

Hi,

Thanks for the reply.
I am using the link "https://game-editor.svn.sourceforge.net/svnroot/game-editor" instead of
svn co https://game-editor.svn.sourceforge.net ... itor/trunk "Game Editor" . Please correct me if I am wrong. I am seeing all the files required. Just making sure. Thanks for your replies. They are really helping me.
zeebrazil
 
Posts: 13
Joined: Thu Feb 04, 2010 2:01 pm
Score: 0 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest