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:
Thank you very much.
Code Select
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.