FreeOrion

Forums for the FreeOrion project
It is currently Fri May 24, 2013 12:18 pm

All times are UTC




Post new topic Reply to topic  [ 294 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19, 20  Next
Author Message
 Post subject: Problem with scons
PostPosted: Sun Apr 01, 2007 12:24 pm 
Offline
Space Floater
User avatar

Joined: Thu Apr 13, 2006 8:22 pm
Posts: 28
I'm having a strange problem with compiling GG. When I run scons the configuration runs fine, until it attempts to build the targets. It then seems to be leaving off "g++ -" from the front of some, but not all, of the targets. I've posted the output below.

I'm running Ubuntu 6.10 and GG svn revision 562 and FO svn revision 2034
SCons version is 0.96.92.D002

Code:
FreeOrion/GG$ scons
scons: Reading SConscript files ...
Using previous successful configuration; if you want to re-run the configuration step, run "scons configure".
scons: done reading SConscript files.
scons: Building targets ...
o src/BrowseInfoWnd.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/BrowseInfoWnd.cpp
sh: o: not found
o src/Button.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Button.cpp
sh: o: not found
o src/Clr.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Clr.cpp
sh: o: not found
o src/Control.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Control.cpp
sh: o: not found
o src/DrawUtil.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/DrawUtil.cpp
sh: o: not found
o src/DropDownList.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/DropDownList.cpp
sh: o: not found
o src/DynamicGraphic.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/DynamicGraphic.cpp
sh: o: not found
o src/Edit.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Edit.cpp
sh: o: not found
o src/EventPump.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/EventPump.cpp
sh: o: not found
o src/Font.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Font.cpp
sh: o: not found
o src/GUI.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/GUI.cpp
sh: o: not found
o src/Layout.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Layout.cpp
sh: o: not found
o src/ListBox.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/ListBox.cpp
sh: o: not found
o src/Menu.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Menu.cpp
sh: o: not found
o src/MultiEdit.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/MultiEdit.cpp
sh: o: not found
o src/PluginInterface.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/PluginInterface.cpp
sh: o: not found
o src/PtRect.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/PtRect.cpp
sh: o: not found
o src/Scroll.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Scroll.cpp
sh: o: not found
o src/Slider.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Slider.cpp
sh: o: not found
o src/StaticGraphic.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/StaticGraphic.cpp
sh: o: not found
o src/StyleFactory.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/StyleFactory.cpp
sh: o: not found
o src/TabWnd.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/TabWnd.cpp
sh: o: not found
o src/TextControl.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/TextControl.cpp
sh: o: not found
o src/Texture.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Texture.cpp
sh: o: not found
o src/Timer.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Timer.cpp
sh: o: not found
o src/Wnd.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Wnd.cpp
sh: o: not found
o src/WndEditor.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/WndEditor.cpp
sh: o: not found
o src/WndEvent.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/WndEvent.cpp
sh: o: not found
o src/ZList.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/ZList.cpp
sh: o: not found
o src/dialogs/ColorDlg.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/dialogs/ColorDlg.cpp
sh: o: not found
o src/dialogs/FileDlg.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/dialogs/FileDlg.cpp
sh: o: not found
o src/dialogs/ThreeButtonDlg.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/dialogs/ThreeButtonDlg.cpp
sh: o: not found
o libGiGi.so -pthread -shared src/BrowseInfoWnd.os src/Button.os src/Clr.os src/Control.os src/DrawUtil.os src/DropDownList.os src/DynamicGraphic.os src/Edit.os src/EventPump.os src/Font.os src/GUI.os src/Layout.os src/ListBox.os src/Menu.os src/MultiEdit.os src/PluginInterface.os src/PtRect.os src/Scroll.os src/Slider.os src/StaticGraphic.os src/StyleFactory.os src/TabWnd.os src/TextControl.os src/Texture.os src/Timer.os src/Wnd.os src/WndEditor.os src/WndEvent.os src/ZList.os src/_vsnprintf.os src/dialogs/ColorDlg.os src/dialogs/FileDlg.os src/dialogs/ThreeButtonDlg.os libltdl/ltdl.os -L/usr/lib -lboost_signals -lboost_filesystem -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype -lIL -lILU -lILUT
sh: o: not found
o src/SDL/SDLGUI.os -c -pthread -D_GNU_SOURCE=1 -D_REENTRANT -Wall -O2 -fPIC -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/SDL/SDLGUI.cpp
sh: o: not found
scons: `libGiGiNet.so' is up to date.
o libGiGiSDL.so -pthread -shared src/SDL/SDLGUI.os -L/usr/lib -lboost_signals -lboost_filesystem -lGL -lGLU -lSDL -lpthread -lfreetype -lz -lfreetype -lIL -lILU -lILUT
sh: o: not found
scons: done building targets.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2007 1:36 am 
Offline
Space Floater
User avatar

Joined: Thu Apr 13, 2006 8:22 pm
Posts: 28
I have solved my own problem. It seems that I only installed the g++-4.1 package but not the g++ package so g++ wasn't actually installed on my machine. :oops:


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Thu Jul 05, 2007 9:43 am 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
I have trouble compiling freeorion with the most recent SDK.

Here's what I did:

-downloaded the SDK, Python25 and Scons
-installed python, then scons
-updated fo and GG from SVN
-made sure that python/scons is in my path (set path="C:\Entwicklung\python25")
-typed scons configure

Here's the output:

Code:
C:\Entwicklung\FreeOrion_SDK\FreeOrion\GG>scons configure
scons: Reading SConscript files ...
Configuring for WIN32 system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.34... (cached) yes
Boost configuration... (cached) ok
Checking for sdl-config... (cached) no
Checking for C header file SDL/SDL.h... yes
Checking SDL version >= 1.2.7... (cached) yes
SDL configuration... (cached) yes
Checking for pkg-config... no
Checking freetype2 version >= 2.1.2... (cached) yes
Checking for C header file ft2build.h... yes
Checking DevIL version >= 1.6.1... (cached) yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... no
Note: since SDL support is disabled, the SDL headers are not be in the compiler'
s search path during tests.  If DevIL was built with SDL support, this may cause
the seach for ilut.h to fail.


This is strange, because ilut.h is definitely in the INCLUDE/LIB/ directory...
Can you give me a hint what I may have done wrong?


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Thu Jul 05, 2007 5:20 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
Could you post the full contents of config.log in the /FreeOrion/GG directory?


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Thu Jul 05, 2007 5:42 pm 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
Here it is:

Code:
file C:\Entwicklung\FreeOrion_SDK\FreeOrion\GG\SConstruct,line 210:
   Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp\conftest_0.cpp <-
  |
  |#include "boost/shared_ptr.hpp"
  |
  |
cl /nologo /TP /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /c .sconf_temp\conftest_0.cpp /Fo.sconf_temp\conftest_0.obj
conftest_0.cpp
scons: Configure: yes

scons: Configure: Checking Boost version >= 1.34...
scons: Configure: (cached) yes

scons: Configure: Boost configuration...
scons: Configure: (cached) ok

scons: Configure: Checking for sdl-config...
scons: Configure: (cached) no

scons: Configure: Checking for C header file SDL/SDL.h...
.sconf_temp\conftest_1.c <-
  |
  |#include "SDL/SDL.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\FreeOrion_SDK\include /c .sconf_temp\conftest_1.c /Fo.sconf_temp\conftest_1.obj
conftest_1.c
scons: Configure: yes

scons: Configure: Checking SDL version >= 1.2.7...
scons: Configure: (cached) yes

scons: Configure: SDL configuration...
scons: Configure: (cached) yes

scons: Configure: Checking for pkg-config...
pkg-config --atleast-pkgconfig-version 0.15.0
Der Befehl "pkg-config" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
scons: Configure: no

scons: Configure: Checking freetype2 version >= 2.1.2...
scons: Configure: (cached) yes

scons: Configure: Checking for C header file ft2build.h...
.sconf_temp\conftest_3.c <-
  |
  |#include "ft2build.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /c .sconf_temp\conftest_3.c /Fo.sconf_temp\conftest_3.obj
conftest_3.c
scons: Configure: yes

scons: Configure: Checking DevIL version >= 1.6.1...
scons: Configure: (cached) yes

scons: Configure: Checking for C header file IL/il.h...
.sconf_temp\conftest_4.c <-
  |
  |#include "IL/il.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /c .sconf_temp\conftest_4.c /Fo.sconf_temp\conftest_4.obj
conftest_4.c
scons: Configure: yes

scons: Configure: Checking for C header file IL/ilu.h...
.sconf_temp\conftest_5.c <-
  |
  |#include "IL/ilu.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /c .sconf_temp\conftest_5.c /Fo.sconf_temp\conftest_5.obj
conftest_5.c
scons: Configure: yes

scons: Configure: Checking for C header file IL/ilut.h...
.sconf_temp\conftest_6.c <-
  |
  |#include "IL/ilut.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /IC:\Entwicklung\FreeOrion_SDK\include /c .sconf_temp\conftest_6.c /Fo.sconf_temp\conftest_6.obj
conftest_6.c
C:\Entwicklung\FreeOrion_SDK\include\IL/ilut.h(147) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "windows.h": No such file or directory
scons: Configure: no


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Thu Jul 05, 2007 5:56 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
Quote:
C:\Entwicklung\FreeOrion_SDK\include\IL/ilut.h(147) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "windows.h": No such file or directory
scons: Configure: no[/code]

Looks like you need to install the Windows Platform SDK. I think it comes with MSVC 2005, and should be available from Microsoft online, but I can't seem to find a version for XP to link to...


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Thu Jul 05, 2007 10:49 pm 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
Geoff the Medio wrote:
[XP Platform SDK] should be available from Microsoft online, but I can't seem to find a version for XP to link to...

That's probably because it is now the Vista Platform SDK...

After installing the SDK I get a different error:

Code:
file C:\Entwicklung\FreeOrion_SDK\FreeOrion\GG\SConstruct,line 210:
   Configure(confdir = .sconf_temp)
scons: Configure: Checking for C++ header file boost/shared_ptr.hpp...
.sconf_temp\conftest_0.cpp <-
  |
  |#include "boost/shared_ptr.hpp"
  |
  |
cl /nologo /TP /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /c .sconf_temp\conftest_0.cpp /Fo.sconf_temp\conftest_0.obj
conftest_0.cpp
scons: Configure: yes

scons: Configure: Checking Boost version >= 1.34...
scons: Configure: (cached) yes

scons: Configure: Boost configuration...
scons: Configure: (cached) ok

scons: Configure: Checking for sdl-config...
scons: Configure: (cached) no

scons: Configure: Checking for C header file SDL/SDL.h...
.sconf_temp\conftest_1.c <-
  |
  |#include "SDL/SDL.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\microsoft_sdks\windows\v6.0"\include /c .sconf_temp\conftest_1.c /Fo.sconf_temp\conftest_1.obj
scons: Configure: no

scons: Configure: Checking for C header file SDL.h...
.sconf_temp\conftest_2.c <-
  |
  |#include "SDL.h"
  |
  |
cl /nologo /IC:\Entwicklung\FreeOrion_SDK\Boost\include\boost-1_34 /IC:\Entwicklung\microsoft_sdks\windows\v6.0"\include /c .sconf_temp\conftest_2.c /Fo.sconf_temp\conftest_2.obj
scons: Configure: no

scons: Configure: SDL configuration...
scons: Configure: (cached) no


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 3:11 am 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
Please post your options.cache file as well.


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 5:41 am 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
Code:
prefix = '..\\..'
with_boost = '..\\..\\Boost'
with_boost_include = '..\\..\\Boost\\include\\boost-1_34'
with_sdl = 'C:\\entwicklung\\microsoft_sdks\\windows\\v6.0'[x]
with_ft = '..\\..'
with_devil = '..\\..'


I didn't realize command line options were permanent... line 4 (marked with [x]) has probably been added/changed by me in an attempt to solve the compilation problems.
If I change this line so that it points to the freeorion SDK, I get the same error as before installing the microsoft SDK (windows.h missing). How can I tell Scons where the microsoft SDK is?


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 6:04 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
The Silent One wrote:
How can I tell Scons where the microsoft SDK is?

You can't (as far as I know).

But I *think* you can run SCons with the MS SDK environment variables set so that it can find the SDK headers. There should be a MS SDK start menu option to do start the command prompt in this manner. For me, it's

Start -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt

I've copied this shortcut to the quicklaunch bar, so that any time I open a command prompt, it's got the MSVC enviroment set up. It doesn't hurt to use this for non-MSVC related command promting, either.

I assume this is what lets SCons find the MS SDK headers, so I suggest you give it a try...


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 8:47 am 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
Geoff the Medio wrote:
[Visual Studio 2005 Command Prompt]
I assume this is what lets SCons find the MS SDK headers, so I suggest you give it a try...


I've run SCons with the VS2005 command prompt and the Windows Vista SDK command prompt; the same error as before occurs.


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 9:07 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
OK... Right click on My Computer, and select Properties. Go to the Advanced Tab, and click Environment Variables at the bottom. Are there a bunch of PATH variables shown, with the MS SDK include directories as value? I have an INCLUDE user varaible, and an INCLUDE system variable, and an MsSDK system variable, and SDK paths in the Path system variable.

I assume you've restarted windows since installing the MS SDK?


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 1:01 pm 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
I did restart my computer; none of the variables or paths you specified have been created.

Using VS2005 seems much more promising, after modifying the python path and adding GG to include compiling starts...
however, linking fails because GiGiNet.Lib is missing, probably because I haven't compiled GG. Can you give me instructions how to compile GG with VS2005? Thank you!
I will be gone until sunday, but then I'll get back to this.


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Fri Jul 06, 2007 4:48 pm 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 7898
Location: Vancouver, BC
The Silent One wrote:
I did restart my computer; none of the variables or paths you specified have been created.

I think the solution lies in getting these pathes added... I'm not sure why they aren't already. Was there an option when installing either the MS SDK or MSVC itself?

If you start the command prompt using the "Micrsoft Visual Studio Command Prompt" link from in the MSVC start menu group, then type "path" (no ", enter after), what is the output?

Quote:
Can you give me instructions how to compile GG with VS2005?

If I had them, they'd already be online in the wiki compile page... You're probably going to have to get it building with SCons. If that proves impossible, I can probably send you the compiled GG .libs and .dlls, though it'd be better if you can get the paths set up so it'll build locally.


Top
 Profile  
 
 Post subject: Re: The Help Thread
PostPosted: Sun Jul 08, 2007 2:05 pm 
Offline
Graphics
User avatar

Joined: Tue Jul 01, 2003 8:27 pm
Posts: 395
Location: Würzburg, Germany
Geoff the Medio wrote:
Was there an option [to install the ms sdk paths] when installing either the MS SDK or MSVC itself?

No, definitely not.

Geoff the Medio wrote:
If you start the command prompt using the "Micrsoft Visual Studio Command Prompt" link from in the MSVC start menu group, then type "path" (no ", enter after), what is the output?

This is the result:

Code:
PATH=C:\Entwicklung\Microsoft Visual Studio 8\Common7\IDE;
C:\Entwicklung\Microsoft Visual Studio 8\VC\BIN;
C:\Entwicklung\Microsoft Visual Studio 8\Common7\Tools;
C:\Entwicklung\Microsoft Visual Studio 8\SDK\v2.0\bin;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;
C:\Entwicklung\Microsoft Visual Studio 8\VC\VCPackages;
C:\ENTWIC~1\Delphi\Projects\Bpl;C:\ENTWIC~1\Delphi\Bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\Programme\ATI Technologies\ATI Control Panel;
C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;
C:\Multimedia\QuickTime\QTSystem\;
"C:\Internet\ZoneAlarm\MailFrontier";
C:\Entwicklung\Python25
(Python was added manually)

GG _did_ compile. Unfortunately, I have no idea what I did different this time; I'm fairly sure that I followed exactly the same procedure as before (but obviously I haven't). Also, note that the MS SDK paths are not there; so VS2005 seems to supply all necessary header files.

So if anyone else should have trouble compiling GG with the MS SDK, VS2005 seems to be an alternative.

Freeorion is compiling now. Thanks for your support, Geoff.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 294 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19, 20  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group