Downloading and installing ColabNet Subversion, configuring
and getting the code was a snap.
I compiled gamemath with no problem.
When I tried to open IrisEngine, I received three messages:
CodeBlock doesn't know the global compile variable "gm",
"boost" and "gftm". Please define.
I received only one message from TRLE editor: about the "gm"
global compiler variable.
I had to define them and CodeBlock would not let me off the
hook: I have to CTRL-ALT-DEL CodeBlock to close it.
Do you have any ideas where those should be added ?
I tried finding them by using EditPad and text search in the
gamemath to see where they could be: no luck.
And do you know where the compiled DLL / Exes are stored ?
I have Visual Studio 6, 2003 and 2005 (don't ask)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you still have problems with it, this is what I did. Like I said in the TR forum thread, I'm using CodeBlocks and the free version of visual studio 2003 compiler, but this should work also with the actual vs2003 IDE as well with codeblocks + mingw.
1. I created a new empty console application project
2. I added all engine and gamelib files to the project
3. In the renderer.cpp, I added #include <windows.h> just before including the gl.h header
4. I added glfw, opengl32, glu32 and user32 to the linker library list
And that's it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'll also need to have GLFW & c++ boost library installed. These instructions are again for Codeblocks & visual studio 2003 (or toolkit) as the compiler.
You can get glfw from here http://glfw.sourceforge.net/
Download the win32 binary package.
Put the glfw.lib and glfw.h to somewhere where Codeblocks can find them, for example your compiler's lib & include folder or add them into your project's search directory list (Project menu -> Build options -> Search directories and add the folder with the libs in it to the linker list and .h's to the compiler list)
Now download c++ Boost from here http://www.boostpro.com/products/free
It has precompiled binaries & headers for visual studio. Follow the instructions given by the installer. When asked for what boost components to install, select the serialization-library. You can also install others, but they're not required by Irisengine. Now once again you need to make sure CodeBlocks can find the boost stuff, so add the boost main folder to the Search directory list.
Now you should be able to compile.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With VC 2003 SDK compiler
mingw32-g++.exe: Files\glfw.bin.WIN32\include\GL -c F:\_Cie\BarnCat\_SubVerRepo\irisengine\IrisEngine\trunk\src\animation.cpp -o obj\Release\src\animation.o: No such file or directory
With VC 2003 SDK compiler
"TREditor - Debug" uses an invalid compiler. Skipping...
Nothing to be done.
with GCC compiler
editor.h list these as non existant:
#include "ui_Editor.h"
#include "ui_CreateRoomDialog.h"
#include "ui_AboutDialog.h"
with Borland 5.5 compiler
Compiling: ..\..\src\Editor.cpp
Error E2074: Value after -g or -j should be between 0 and 255 inclusive
Error E2075: Incorrect command line option: -g
==========================================================
And these tell me, to my shame, that I am not ready for that language.
I can't keep asking you to debug telepathically (hints would be welcome, though) as this would be a drag on your performance on this project (if not your life (heh.))
So be it. I'll keep training myself and when I really get it, I'll come back.
Have fun and thanks for all the fishes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm... There's definitely something wrong with how you've configured Codeblocks (if that's what you're using?) if it says something about mingw32 when you're trying to compile with VC2003. You should re-check the settings (settings -> compiler and debugger -> Ms VC++2003 toolkit -> toolchain executables)
And about the editor, it also requires Qt library (http://trolltech.com/products/qt/). But I warn you, it was the ultimate pain in the ass to get working properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have WinXP SP 3.
I use CodeBlock 8.03.
Downloading and installing ColabNet Subversion, configuring
and getting the code was a snap.
I compiled gamemath with no problem.
When I tried to open IrisEngine, I received three messages:
CodeBlock doesn't know the global compile variable "gm",
"boost" and "gftm". Please define.
I received only one message from TRLE editor: about the "gm"
global compiler variable.
I had to define them and CodeBlock would not let me off the
hook: I have to CTRL-ALT-DEL CodeBlock to close it.
Do you have any ideas where those should be added ?
I tried finding them by using EditPad and text search in the
gamemath to see where they could be: no luck.
And do you know where the compiled DLL / Exes are stored ?
I have Visual Studio 6, 2003 and 2005 (don't ask)
If you still have problems with it, this is what I did. Like I said in the TR forum thread, I'm using CodeBlocks and the free version of visual studio 2003 compiler, but this should work also with the actual vs2003 IDE as well with codeblocks + mingw.
1. I created a new empty console application project
2. I added all engine and gamelib files to the project
3. In the renderer.cpp, I added #include <windows.h> just before including the gl.h header
4. I added glfw, opengl32, glu32 and user32 to the linker library list
And that's it.
You'll also need to have GLFW & c++ boost library installed. These instructions are again for Codeblocks & visual studio 2003 (or toolkit) as the compiler.
You can get glfw from here http://glfw.sourceforge.net/
Download the win32 binary package.
Put the glfw.lib and glfw.h to somewhere where Codeblocks can find them, for example your compiler's lib & include folder or add them into your project's search directory list (Project menu -> Build options -> Search directories and add the folder with the libs in it to the linker list and .h's to the compiler list)
Now download c++ Boost from here http://www.boostpro.com/products/free
It has precompiled binaries & headers for visual studio. Follow the instructions given by the installer. When asked for what boost components to install, select the serialization-library. You can also install others, but they're not required by Irisengine. Now once again you need to make sure CodeBlocks can find the boost stuff, so add the boost main folder to the Search directory list.
Now you should be able to compile.
I actually had all those libraries. I guess they were badly set-up.
Well, now I can "compile" but I get all these weird messages, a sample of which follows.
IrisEngine ==================================================
With VC 2003 SDK compiler
mingw32-g++.exe: Files\glfw.bin.WIN32\include\GL -c F:\_Cie\BarnCat\_SubVerRepo\irisengine\IrisEngine\trunk\src\animation.cpp -o obj\Release\src\animation.o: No such file or directory
TREditor ====================================================
With VC 2003 SDK compiler
"TREditor - Debug" uses an invalid compiler. Skipping...
Nothing to be done.
with GCC compiler
editor.h list these as non existant:
#include "ui_Editor.h"
#include "ui_CreateRoomDialog.h"
#include "ui_AboutDialog.h"
with Borland 5.5 compiler
Compiling: ..\..\src\Editor.cpp
Error E2074: Value after -g or -j should be between 0 and 255 inclusive
Error E2075: Incorrect command line option: -g
==========================================================
And these tell me, to my shame, that I am not ready for that language.
I can't keep asking you to debug telepathically (hints would be welcome, though) as this would be a drag on your performance on this project (if not your life (heh.))
So be it. I'll keep training myself and when I really get it, I'll come back.
Have fun and thanks for all the fishes.
Hmm... There's definitely something wrong with how you've configured Codeblocks (if that's what you're using?) if it says something about mingw32 when you're trying to compile with VC2003. You should re-check the settings (settings -> compiler and debugger -> Ms VC++2003 toolkit -> toolchain executables)
And about the editor, it also requires Qt library (http://trolltech.com/products/qt/). But I warn you, it was the ultimate pain in the ass to get working properly.