To all SSC Station occupants
Thank you for the donations over the past year (2024), it is much appreciated. I am still trying to figure out how to migrate the forums to another community software (probably phpbb) but in the meantime I have updated the forum software to the latest version. SSC has been around a while so their is some very long time members here still using the site, thanks for making SSC home and sorry I haven't been as vocal as I should be in the forums I will try to improve my posting frequency.
Thank you again to all of the members that do take the time to donate a little, it helps keep this station functioning on the outer reaches of space.
-D1-
I was going to make some instructions on how to package up the builds but I am running into issues when trying to build from the 'pioneer-0.alpha.1' source files. Here is my error when building any ideas? I will try to build this tonight against the latest svn and see if I still have the issue.
1>Compiling...
1>brender.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\brender.cpp': No such file or directory
1>collfunc.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\collfunc.cpp': No such file or directory
1>model_compiler.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\model_compiler.cpp': No such file or directory
1>models-buildings.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models-buildings.cpp': No such file or directory
1>models.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models.cpp': No such file or directory
1>primfunc.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\primfunc.cpp': No such file or directory
1>simtriang.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\simtriang.cpp': No such file or directory
1>transp.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\transp.cpp': No such file or directory
1>CollisionSpace.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GeomTree.cpp
1>c:\pioneer-0.alpha.1\src\collider\bvhtree.h(13) : warning C4099: 'BVHNode' : type name first seen using 'class' now seen using 'struct'
1> c:\pioneer-0.alpha.1\src\collider\geomtree.h(18) : see declaration of 'BVHNode'
1>c:\pioneer-0.alpha.1\src\collider\geomtree.cpp(28) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>Gui.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiBox.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiContainer.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiFixed.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiImage.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiImageButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiImageRadioButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiLabel.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiMultiStateImageButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>Generating Code...
1>Compiling...
1>GuiRadioButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiRadioGroup.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiScreen.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiTabbed.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiToggleButton.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiToolTip.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiVScrollBar.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiVScrollPortal.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>GuiWidget.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>glfreetype.cpp
1>c:\pioneer-0.alpha.1\src\glfreetype.cpp(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
1>SbreViewer.cpp
1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\pioneer-0.alpha.1\msvc\Debug\BuildLog.htm"
1>sbreviewer-msvc-9.0 - 31 error(s), 1 warning(s)
2>------ Build started: Project: pioneer-msvc-9.0, Configuration: Debug Win32 ------
2>Compiling...
2>pch.cpp
2>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>Build log was saved at "file://c:\pioneer-0.alpha.1\msvc\Debug\BuildLog.htm"
2>pioneer-msvc-9.0 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
It looks as though something is wrong with your paths to source and header files. Take a close look at the docs and the tree structure.
Whatever is wrong, it is glaringly wrong (because you had so many path errors). That usually means that the "fix" is simple... somehow your project does not match the file structure on your computer.
Can you open the project file in a text editor to see what paths it is looking for?
I will look at this more when I get home, but '..\src\sbre\brender.cpp' in my extraction of the archive I have a \src direcory but no 'sbre' directory and if you search the directory structure there is no brender.cpp. I think the source files are incomplete thats why I was going to check it out again my SVN download at home this evening.
Yep, that sounds like the thing to do.
Yeah get the same issues at home with the latest build (revision 559) downloaded with TortoiseSVN.
2>------ Build started: Project: sbreviewer-msvc-9.0, Configuration: Debug Win32 ------
2>sbreviewer-msvc-9.0 : warning PRJ0009 : Build log could not be opened for writing.
2>Make sure that the file is not open by another process and is not write-protected.
2>Compiling...
1>Compiling...
1>pch.cpp
2>brender.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\brender.cpp': No such file or directory
2>collfunc.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\collfunc.cpp': No such file or directory
2>model_compiler.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\model_compiler.cpp': No such file or directory
2>models-buildings.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models-buildings.cpp': No such file or directory
2>models.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models.cpp': No such file or directory
2>primfunc.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\primfunc.cpp': No such file or directory
2>simtriang.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\simtriang.cpp': No such file or directory
2>transp.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\transp.cpp': No such file or directory
2>CollisionSpace.cpp
1>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
1>Build log was saved at "file://c:\Pioneer\trunk\msvc\Debug\BuildLog.htm"
1>pioneer-msvc-9.0 - 1 error(s), 0 warning(s)
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>Geom.cpp
2>c:\pioneer\trunk\src\collider\bvhtree.h(13) : warning C4099: 'BVHNode' : type name first seen using 'class' now seen using 'struct'
2> c:\pioneer\trunk\src\collider\geom.h(11) : see declaration of 'BVHNode'
2>c:\pioneer\trunk\src\vector3.h(16) : warning C4244: 'initializing' : conversion from 'const double' to 'float', possible loss of data
2> c:\pioneer\trunk\src\vector3.h(16) : while compiling class template member function 'vector3::vector3(const double [])'
2> with
2> [
2> T=float
2> ]
2> c:\pioneer\trunk\src\collider\geomtree.h(39) : see reference to class template instantiation 'vector3' being compiled
2> with
2> [
2> T=float
2> ]
2>c:\pioneer\trunk\src\vector3.h(16) : warning C4244: 'initializing' : conversion from 'const double' to 'float', possible loss of data
2>c:\pioneer\trunk\src\vector3.h(16) : warning C4244: 'initializing' : conversion from 'const double' to 'float', possible loss of data
2>GeomTree.cpp
2>c:\pioneer\trunk\src\collider\bvhtree.h(13) : warning C4099: 'BVHNode' : type name first seen using 'class' now seen using 'struct'
2> c:\pioneer\trunk\src\collider\geomtree.h(18) : see declaration of 'BVHNode'
2>c:\pioneer\trunk\src\collider\geomtree.cpp(28) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
2>Gui.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiBox.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiContainer.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiFixed.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiImage.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiImageButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiImageRadioButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiLabel.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>Generating Code...
2>Compiling...
2>GuiMultiStateImageButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiRadioButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiRadioGroup.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiScreen.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiTabbed.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiToggleButton.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiToolTip.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiVScrollBar.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiVScrollPortal.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>GuiWidget.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>glfreetype.cpp
2>c:\pioneer\trunk\src\glfreetype.cpp(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
2>SbreViewer.cpp
2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory
2>Generating Code...
2>Build log was saved at "file://c:\Pioneer\trunk\msvc\Debug\BuildLog.htm"
2>sbreviewer-msvc-9.0 - 31 error(s), 6 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Think there is some issues with the windows build process. Because there is a '..\src\sbre\' directory in my current build it's just there is nothing inside it. And I have searched my build download for 'sigc++/sigc++.h' and this doesn't exist.
Hmmm anyone else try to compile from the latest SVN and have it successful on Windows? I am trying to compile with MSVS C++ 2008 Express ( http://www.microsoft.com/express/downlo ... Visual-CPP)
What are you trying to build, Darkone? I need a link to the project, not to the compiler! 🙂
Sigc++ is a GNU library. Whatever you are trying to build probably depends on Sigc++, which you would have to install before the rest of the project will build.
If you are trying to build this project: http://pioneer.sourceforge.net/?q=node then it is still in development. "Alpha test" means internal test... not for outsiders (except in special cases), right? You probably know all of this since it is your profession. 🙂 I am just suggesting that you may need help from the development team if you want to contribute to developing the project.
I see that somebody pointed you to the Windows binaries: http://nic.dnsalias.com/pioneer.zip .
Here is the SVN link: https://pioneer.svn.sourceforge.net/svnroot/pioneer
I believe that has to be it, I think it needs libSDL to complete this. I think I just need more instructions 🙂
I believe that has to be it, I need to compile something else as well with this and don't think I have it all.
Yes, I think you are right.
The compiling-readme-dammit file contains only Linux info:
if configure does not exist then run:
./bootstrap (which contains only "autoreconf -fvi" -- another Linux command)
then
./configure
make
./src/pioneer
I see multiple references to the sbre/ folder but, as you say, no content there.
So, yeah, you're missing stuff. You will need the developer's help if you want to try tinkering with the code.
Do the windows binaries ( http://nic.dnsalias.com/pioneer.zip ) help? They are already compiled. I did not try to run them, but that may be your best chance run the game.
In any case, this project is far from complete, and the author is light on documentation. He does seem to be able to write clearly, but I do not see an active forum... just unthreaded "comments" on his blog.
Heck, maybe you can set up a development forum for him? He needs it, and you have both the skills and the framework!
This is why I am going through this process so I can help out and write up a nice HOW TO instructions for compiling it all in windows. I know I am close I am just missing some pieces to the puzzle. Maybe one of the devs will read this and chime in.
There are two projects in the VS Solution. One is pioneer the other is a model viewer (I think). Delete the model viewer one out (as that's not needed to compile the game and it relies on sbre.cpp, etc which no longer exist)
You also need libraries:
SDL, SDL_image, SDL_mixer, GLEW, libsigc++ and freetype 2
I'll put up a new build if I get chance today.
Cheers,
-Nic
Uploaded a new build:
http://nic.dnsalias.com/pioneer.zip
(this one was built with Visual Studio 2008 SP1 rather MinGW, so needs the Visual Studio runtime to run (if not already installed)
http://www.microsoft.com/downloads/deta ... laylang=en
Has latest SVN (rev 559) and some changes from me too:
* Added Mouse Wheel Zoom to Sector, Galaxy, System View
* Increased mouse button array to encompass full mouse wheel range
* Fixed Model shader (wasn't compiling due to invLogZfarPlus1)
* Fixed issue of using asserts for critical function calls, replaced with PiVerify
* Changed Undercarriage button to work oppositely (good? bad?)
* Can press Escape to return to game view from menu view
* Increased SystemInfoView LongDescription length to 2048
* Selecting a system from Sector view now also updates Hyperspace target
Cheers,
-Nic
Hi people,
The guy who maintains the MSVC build is Paul: http://www.m3fe.com/
As for the ./sbre/ directory, that was the old model rendering code that has been removed. Any references to it in the MSVC project are out of date and can be removed. There is no missing code from the alpha-1 zip as far as I know 🙂
I agree we need some better documentation. I've requested a wiki (mediawiki) from sourceforge, so we'll see how useful that is.
Im getting "zlib1.dll missing" from that new binary download. Had the same problem on my desktop pc, but I also had a copy of the older package so just unzipped new one over old, problem solved.... But seems like the older package has been taken down now, having trouble testing this on my laptop.
Tomm if someone can just email me a pretty descriptive instructions on how to compile Pioneer on Windows I will gladly make a write up on this with some screenshots for everyone so people can build there own builds and not have to worry about when the next one will come out 🙂
s20dan: Thanks for that! Not sure how I missed that dll from the zip. Corrected and re-uploaded.
DarkOne: I'll try to write up some instructions if no one else does. It's all pretty straightforward stuff (i.e. grab all the libs, make sure you have paths to the include and lib directories, make sure the library names match in the linker settings, done 🙂 )
Cheers,
-Nic
Thanks Nic.
If you can send that my way I will document the whole process with screenshots so it will be easy for everyone and hopefully avoid getting all the 'how do I compile' questions 🙂
All I am missing to compile it with msvc2008 is the sigc-2.0d.lib. I cannot seem to find this file online anywhere.
The libsigc++ site doesnt provide lib files, only source code, which I cannot compile!! 🙁
Any ideas where I can get this file?
Cheers!
Hi,
I was trying to make up something useful to help with the compiling to give to Darkone, but never found the time 🙁
I did put together a dump of all the h/c/cpp/dlls/libs etc in one folder in theory to make compiling easier.
http://nic.dnsalias.com/PiLibs.zip
That probably contains what you need 🙂
Cheers,
-Nic
sigc-2.0d.lib is the debug version of sigc-2.0.lib. It is part of gtkmm: http://www.gtkmm.org/download.shtml
The Windows binaries are here: http://live.gnome.org/gtkmm/MSWindows
Cheers, Nic.
Im almost there now, just two errors:
lmrmodel.cpp(2252) : error C2661: 'stat::stat' : no overloaded function takes 2 arguments
lmrmodel.cpp(2255) : error C3861: 'S_ISDIR': identifier not found
Also I get a load of warnings from this file, should I expect this?
Cheers!
You may want to try adding win32-dirent.h and win32-dirent.cpp to the project, they are in the msvc directory.
(The solution/project files need to be updated to include these)
Although it should be picking up win32-dirent.h anyways (at the top of lmrmodel.cpp)....is _WIN32 definitely defined? Should be.
And yes the warnings are expected....should probably remove the warnings at some stage, that lmrmodel.cpp needs to be split eventually. Has too much stuff in it right now 🙂
Cheers,
-Nic
Hi Nic
win32-dirent.cpp doesnt seem to be in the source or the zip file you linked me too :s
-Psirus
Apols, thought it had been submitted to SVN.
Link is dead Nic.
he just missed the "a" from "alias" thats all: