compiling on win vista / Visual Studio

compiling on win vista / Visual Studio

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

compiling on win vista / Visual Studio

Post by knorke »

I wanted to use http://springrts.com/wiki/Building_Spri ... ual_Studio

Too late I noticed that Visual Studio 2012 will install on Windows 32bit Vista but not start. (not supported) :?
http://www.microsoft.com/visualstudio/e ... patibility

So this happens when doing cmake -G "Visual Studio 11" .
C:\Users\dell\spring>cmake -G "Visual Studio 11" .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:119 (MESSAGE):
MINGWLIBS 'C:/Users/dell/spring/mingwlibs' is not a valid directory


-- Configuring incomplete, errors occurred!

I tried to use cmake-GUI to make it use Codeblocks and MingW compiler instead but did not manage.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: compiling on win vista / Visual Studio

Post by knorke »

Thanks to abma it works!
Thank you very much, would have never figured it out on my own.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: compiling on win vista / Visual Studio

Post by knorke »

after compiling was done:
copied over all the files from mingwlibs\lib\ next to spring.exe (so it would find .dlls)

from cont\ I copied over Luaui\ and fonts\ folders

After each start the springsettings.cfg is funny: 6000 empty lines with some entries towards end.

LuaUI does not work, on /luaui reload:
[f=0000226] Loading: "luaui.lua"
[f=0000226] LuaSocketEnabled: no
[f=0000226] Error: Lua LoadCode pcall error = 0, LuaUI/main.lua, [string "LuaUI/main.lua"]:14: attempt to concatenate global 'LUAUI_DIRNAME' (a nil value)
[f=0000226] Warning: Loading failed
[f=0000384] User exited
(the LuaIntro loadscreen shows and works)

Hm, LuaUI works in BA maybe mod problem with XTA?
Attachments
infolog_noLuaUI.txt
(26.05 KiB) Downloaded 7 times
springsettings.txt
renamed, .cfg not allowed
(76.34 KiB) Downloaded 8 times
Post Reply

Return to “Engine”