Page 1 of 2
Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 10:24 am
by sscadmin
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.
Code:
1>------ Build started: Project: sbreviewer-msvc-9.0, Configuration: Debug Win32 ------1>Compiling...1>brender.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\brender.cpp': No such file or directory1>collfunc.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\collfunc.cpp': No such file or directory1>model_compiler.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\model_compiler.cpp': No such file or directory1>models-buildings.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models-buildings.cpp': No such file or directory1>models.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models.cpp': No such file or directory1>primfunc.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\primfunc.cpp': No such file or directory1>simtriang.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\simtriang.cpp': No such file or directory1>transp.cpp1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\transp.cpp': No such file or directory1>CollisionSpace.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GeomTree.cpp1>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 directory1>Gui.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiBox.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiContainer.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiFixed.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiImage.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiImageButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiImageRadioButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiLabel.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiMultiStateImageButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>Generating Code...1>Compiling...1>GuiRadioButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiRadioGroup.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiScreen.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiTabbed.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiToggleButton.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiToolTip.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiVScrollBar.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiVScrollPortal.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>GuiWidget.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>glfreetype.cpp1>c:\pioneer-0.alpha.1\src\glfreetype.cpp(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory1>SbreViewer.cpp1>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>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.cpp2>c:\pioneer-0.alpha.1\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>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 ==========
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 3:14 pm
by Bullwinkle
Darkone wrote:
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.
Code:
1>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\brender.cpp': No such file or directory
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?
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 3:41 pm
by sscadmin
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.
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 4:18 pm
by Bullwinkle
Darkone wrote:
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.
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 6:34 pm
by sscadmin
Yeah get the same issues at home with the latest build (revision 559) downloaded with TortoiseSVN.
Code:
1>------ Build started: Project: pioneer-msvc-9.0, Configuration: Debug Win32 ------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.cpp2>brender.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\brender.cpp': No such file or directory2>collfunc.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\collfunc.cpp': No such file or directory2>model_compiler.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\model_compiler.cpp': No such file or directory2>models-buildings.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models-buildings.cpp': No such file or directory2>models.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\models.cpp': No such file or directory2>primfunc.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\primfunc.cpp': No such file or directory2>simtriang.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\simtriang.cpp': No such file or directory2>transp.cpp2>c1xx : fatal error C1083: Cannot open source file: '..\src\sbre\transp.cpp': No such file or directory2>CollisionSpace.cpp1>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory1>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 directory2>Geom.cpp2>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 data2> c:\pioneer\trunk\src\vector3.h(16) : while compiling class template member function 'vector3::vector3(const double [])'2> with2> [2> T=float2> ]2> c:\pioneer\trunk\src\collider\geomtree.h(39) : see reference to class template instantiation 'vector3' being compiled2> with2> [2> T=float2> ]2>c:\pioneer\trunk\src\vector3.h(16) : warning C4244: 'initializing' : conversion from 'const double' to 'float', possible loss of data2>c:\pioneer\trunk\src\vector3.h(16) : warning C4244: 'initializing' : conversion from 'const double' to 'float', possible loss of data2>GeomTree.cpp2>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 directory2>Gui.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiBox.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiContainer.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiFixed.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiImage.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiImageButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiImageRadioButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiLabel.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>Generating Code...2>Compiling...2>GuiMultiStateImageButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiRadioButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiRadioGroup.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiScreen.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiTabbed.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiToggleButton.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiToolTip.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiVScrollBar.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiVScrollPortal.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>GuiWidget.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>glfreetype.cpp2>c:\pioneer\trunk\src\glfreetype.cpp(7) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory2>SbreViewer.cpp2>c:\pioneer\trunk\src\libs.h(6) : fatal error C1083: Cannot open include file: 'sigc++/sigc++.h': No such file or directory2>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/downloads/#2008-Visual-CPP)
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 7:42 pm
by Bullwinkle
Darkone wrote:
Yeah get the same issues at home with the latest build (revision 559) downloaded with TortoiseSVN.
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: [url]http://pioneer.sourceforge.net/?q=node[/url] 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: [url]http://nic.dnsalias.com/pioneer.zip[/url]
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 9:58 pm
by sscadmin
Here is the SVN link: https://pioneer.svn.sourceforge.net/svnroot/pioneerI believe that has to be it, I think it needs libSDL to complete this. I think I just need more instructions

RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 11:01 pm
by Bullwinkle
Darkone wrote:
Here is the SVN link: https://pioneer.svn.sourceforge.net/svnroot/pioneerI 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:
Code:
Pioneer doesn't need libODE anymore, so compiling is simple:if configure does not exist then run:./bootstrap (which contains only "autoreconf -fvi" -- another Linux command)then./configuremake./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 ([url]http://nic.dnsalias.com/pioneer.zip[/url] 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!
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 12, 2010 11:44 pm
by sscadmin
Bullwinkle wrote:
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.
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Sat Mar 13, 2010 8:01 am
by Nic
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 2I'll put up a new build if I get chance today.Cheers,-Nic
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Sat Mar 13, 2010 10:16 am
by 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/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=enHas 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 targetCheers,-Nic
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Sun Mar 14, 2010 10:26 am
by tomm
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.
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Sun Mar 14, 2010 12:16 pm
by s2odan
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.
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Sun Mar 14, 2010 10:55 pm
by sscadmin
tomm wrote:
I agree we need some better documentation. I've requested a wiki (mediawiki) from sourceforge, so we'll see how useful that is.
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

RE: Issues compiling with MSVC C++ 2008 Express
Posted: Mon Mar 15, 2010 4:07 am
by Nic
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
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Fri Mar 19, 2010 11:31 am
by sscadmin
Nic wrote:
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

)
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

RE: Issues compiling with MSVC C++ 2008 Express
Posted: Wed Apr 07, 2010 12:15 pm
by Psirus
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!
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Wed Apr 07, 2010 1:44 pm
by Nic
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.zipThat probably contains what you need :)Cheers,-Nic
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Wed Apr 07, 2010 2:12 pm
by Bullwinkle
Psirus wrote:
All I am missing to compile it with msvc2008 is the sigc-2.0d.lib. I cannot seem to find this file online anywhere.
sigc-2.0d.lib is the debug version of sigc-2.0.lib. It is part of gtkmm: [url]http://www.gtkmm.org/download.shtml[/url] Windows binaries are here: [url]http://live.gnome.org/gtkmm/MSWindows[/url]
RE: Issues compiling with MSVC C++ 2008 Express
Posted: Thu Apr 08, 2010 5:42 am
by Psirus
Cheers, Nic.Im almost there now, just two errors:lmrmodel.cpp(2252) : error C2661: 'stat::stat' : no overloaded function takes 2 argumentslmrmodel.cpp(2255) : error C3861: 'S_ISDIR': identifier not foundAlso I get a load of warnings from this file, should I expect this?Cheers!