Errors building tgui.sln in VS 2012

Started by ColaGGS, 10 August 2013, 16:14:27

ColaGGS

Hello, i have problems in building tgui.sln, it gives me problems with conversion of types, sfml is working fine so far, as well i have some problems with some of the libs, everything can be seen from the output. Here's the output i get:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
2>------ Build started: Project: tgui, Configuration: Debug Win32 ------
2>  TGUI.cpp
2>  Callback.cpp
2>  Transformable.cpp
2>  Widget.cpp
2>..\..\..\src\TGUI\Widget.cpp(446): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Widget.cpp(450): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Widget.cpp(454): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Widget.cpp(458): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>  Label.cpp
2>  Picture.cpp
2>..\..\..\src\TGUI\Picture.cpp(107): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>  Button.cpp
2>..\..\..\src\TGUI\Button.cpp(366): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>  Checkbox.cpp
2>..\..\..\src\TGUI\Checkbox.cpp(194): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\Checkbox.cpp(278): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Checkbox.cpp(465): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Checkbox.cpp(466): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Checkbox.cpp(484): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Checkbox.cpp(485): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>  RadioButton.cpp
2>  EditBox.cpp
2>..\..\..\src\TGUI\EditBox.cpp(400): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\EditBox.cpp(1079): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\EditBox.cpp(1080): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>  Slider.cpp
2>  Scrollbar.cpp
2>..\..\..\src\TGUI\Scrollbar.cpp(326): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\Scrollbar.cpp(464): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\Scrollbar.cpp(488): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>  ListBox.cpp
2>..\..\..\src\TGUI\ListBox.cpp(261): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(279): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1112): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1117): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1118): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1130): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1135): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1139): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1140): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1144): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ListBox.cpp(1145): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  LoadingBar.cpp
2>..\..\..\src\TGUI\LoadingBar.cpp(620): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
2>..\..\..\src\TGUI\LoadingBar.cpp(625): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
2>..\..\..\src\TGUI\LoadingBar.cpp(656): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>  ComboBox.cpp
2>..\..\..\src\TGUI\ComboBox.cpp(299): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(311): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(434): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(450): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(851): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(862): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(862): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(867): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(872): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(872): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(876): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ComboBox.cpp(877): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  TextBox.cpp
2>..\..\..\src\TGUI\TextBox.cpp(339): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(362): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2320): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2321): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2332): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2337): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2341): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2342): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2346): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2347): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\TextBox.cpp(2519): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  SpriteSheet.cpp
2>..\..\..\src\TGUI\SpriteSheet.cpp(207): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
2>..\..\..\src\TGUI\SpriteSheet.cpp(211): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
2>  AnimatedPicture.cpp
2>  SpinButton.cpp
2>..\..\..\src\TGUI\SpinButton.cpp(202): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\SpinButton.cpp(203): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\SpinButton.cpp(603): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>  Slider2d.cpp
2>..\..\..\src\TGUI\Slider2d.cpp(490): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Slider2d.cpp(511): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Slider2d.cpp(532): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>  Generating Code...
2>  Compiling...
2>  Tab.cpp
2>..\..\..\src\TGUI\Tab.cpp(346): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\Tab.cpp(660): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Tab.cpp(661): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Tab.cpp(948): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>  ConfigFile.cpp
2>  EventManager.cpp
2>  TextureManager.cpp
2>  Container.cpp
2>..\..\..\src\TGUI\Container.cpp(412): warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
2>  Panel.cpp
2>..\..\..\src\TGUI\Panel.cpp(199): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Panel.cpp(200): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Panel.cpp(217): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Panel.cpp(218): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Panel.cpp(227): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\Panel.cpp(228): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>  ChildWindow.cpp
2>..\..\..\src\TGUI\ChildWindow.cpp(613): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ChildWindow.cpp(614): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ChildWindow.cpp(1039): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChildWindow.cpp(1044): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChildWindow.cpp(1049): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChildWindow.cpp(1054): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  Grid.cpp
2>..\..\..\src\TGUI\Grid.cpp(327): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\Grid.cpp(428): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
2>  Gui.cpp
2>  ClickableWidget.cpp
2>..\..\..\src\TGUI\ClickableWidget.cpp(120): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ClickableWidget.cpp(121): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ClickableWidget.cpp(134): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ClickableWidget.cpp(135): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ClickableWidget.cpp(146): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>..\..\..\src\TGUI\ClickableWidget.cpp(147): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
2>  MenuBar.cpp
2>..\..\..\src\TGUI\MenuBar.cpp(470): warning C4244: '=' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\MenuBar.cpp(754): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\MenuBar.cpp(772): warning C4244: '=' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\MenuBar.cpp(789): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  ChatBox.cpp
2>..\..\..\src\TGUI\ChatBox.cpp(291): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(400): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(795): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(797): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(814): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(819): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(824): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(829): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\ChatBox.cpp(836): warning C4244: 'argument' : conversion from 'const unsigned int' to 'float', possible loss of data
2>  MessageBox.cpp
2>..\..\..\src\TGUI\MessageBox.cpp(351): warning C4244: 'initializing' : conversion from 'unsigned int' to 'float', possible loss of data
2>..\..\..\src\TGUI\MessageBox.cpp(352): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\MessageBox.cpp(357): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\..\src\TGUI\MessageBox.cpp(361): warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
2>  Generating Code...
2>LINK : fatal error LNK1104: cannot open file 'tgui-d.lib'
3>------ Build started: Project: FormBuilder, Configuration: Debug Win32 ------
3>  main.cpp
3>  Properties.cpp
3>  FormBuilder.cpp
3>..\..\..\..\src\TGUI\FormBuilder\FormBuilder.cpp(352): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
3>..\..\..\..\src\TGUI\FormBuilder\FormBuilder.cpp(1239): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
3>..\..\..\..\src\TGUI\FormBuilder\FormBuilder.cpp(1356): warning C4244: 'argument' : conversion from 'unsigned int' to 'float', possible loss of data
3>..\..\..\..\src\TGUI\FormBuilder\FormBuilder.cpp(1424): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
3>          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h(218) : see declaration of 'fopen'
3>  Generating Code...
3>libcmtd.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(crt0dat.obj) : error LNK2005: __cexit already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(crt0dat.obj) : error LNK2005: __initterm_e already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(winapisupp.obj) : error LNK2005: ___crtGetShowWindowMode already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(winapisupp.obj) : error LNK2005: ___crtSetUnhandledExceptionFilter already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(winapisupp.obj) : error LNK2005: ___crtTerminateProcess already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(winapisupp.obj) : error LNK2005: ___crtUnhandledException already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(dbgheap.obj) : error LNK2005: __CrtSetCheckCount already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(dbgheap.obj) : error LNK2005: __calloc_dbg already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(invarg.obj) : error LNK2005: __invalid_parameter already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(invarg.obj) : error LNK2005: __invoke_watson already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj)
3>libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj)
3>libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj)
3>libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj)
3>libcmtd.lib(errmode.obj) : error LNK2005: ___set_app_type already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(_file.obj) : error LNK2005: __lock_file already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(_file.obj) : error LNK2005: __unlock_file already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(mlock.obj) : error LNK2005: __lock already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(mlock.obj) : error LNK2005: __unlock already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(wsetloca.obj) : error LNK2005: __configthreadlocale already defined in MSVCRTD.lib(MSVCR110D.dll)
3>libcmtd.lib(dbgrptw.obj) : error LNK2005: __CrtDbgReportW already defined in MSVCRTD.lib(MSVCR110D.dll)
3>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
3>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'libcmtd.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
3>F:\GGS\TGUI-master\bich\src\TGUI\FormBuilder\Debug\FormBuilder.exe : fatal error LNK1169: one or more multiply defined symbols found
4>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
4>  Build all projects
5>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
========== Build: 2 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========


Thank you very much.

texus

#1
The warnings are 'normal'. I should really make time to fix these conversion.

I thing that errors about MSVCRTD.lib are caused when using wrong settings.

- Did you download sfml binaries or did you compile it yourself?
- When compiling tgui, did you check TGUI_USE_STATIC_STD_LIBS? If you downloaded precompiled sfml libs then this should be left unchecked.
- There is some option in visual studio that can be put on /MD or /MT, you shouldn't touch this when TGUI_USE_STATIC_STD_LIBS was unchecked (I think that the default is /MD).

Those three options have to match. So from what I see, you most likely checked the TGUI_USE_STATIC_STD_LIBS option when compiling tgui.

If you really want static std libs, then you have to recompile sfml with SFML_USE_STATIC_STD_LIBS, compile tgui with TGUI_USE_STATIC_STD_LIBS and set the visual studio option to /MT.
But normally you don't want to do this and you shouldn't touch these options.

Edit: I now see that you are talking about tgui.sln. What I said stays the same, but this rules out the possibility that you messed with settings in visual studio. I could have thus made my answer a lot shorter.

ColaGGS

-I compiled SFML myself using cmake, after i compiled it, sfml built perfectly fine.
-TGUI_USE_STATIC_STD_LIBS was unchecked when i compiled it. But when I check it, I get tgui-d.lib could not open or tgui.lib could not open, so I left it unchecked.
The only options I changed were adding libs, include folder to properties. So basicly when i compiled sfml and tgui i didnt change any options, left them by default.

texus

Strange.
I'm going to boot my own windows and do some tests just to be sure that I didn't mess something up with the recent commits.

texus

I just built both sfml and tgui in VS2012 without any problems, so I'm not sure where it is going wrong.

What generator did you select in cmake? The number is the compiler version, so you will need "Visual Studio 11" for VS2012.

Could you send the tgui.vcxproj file in the build/src/TGUI directory?
I'm not sure if I will be able to get much info from it, but I can at least compare it with what I have.

ColaGGS

There it goes. I chose vs11.. hmm

texus

The errors are like this:
Quotelibcmtd.lib(crt0dat.obj) : error LNK2005: xxx already defined in MSVCRTD.lib

After searching I can find only one explaination: you are mixing MD and MT settings (hence the libcmtd confilict with libcrtd).

I would rebuild sfml and tgui (in CMake use File > Delete Cache), and make 100% sure that you don't change any build settings.
But now that I have my windows running anyway, if you want to I'll send you some precompiled libraries.

ColaGGS

If you can send me those libs i would be more then thankful. I will do as you say.

texus

I built the dynamic libraries, for both debug and release.
They can be downloaded here.