0.6.2 label/string letters are being cut again.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
#include <TGUI/TGUI.hpp>
#include "loginScreen.hpp"
// Here is a small helper for you ! Have a look.
#include "ResourcePath.hpp"
int main(int, char const**)
{
// Create the main window
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
tgui::Gui gui(window);
gui.setGlobalFont("Data/Fonts/DejaVuSans.ttf");
loginScreen(gui);
gui.get("loginScreen")->show();
// Start the game loop
while (window.isOpen())
{
// Process events
sf::Event event;
while (window.pollEvent(event))
{
// Close window : exit
if (event.type == sf::Event::Closed) {
window.close();
}
// Espace pressed : exit
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
window.close();
}
gui.handleEvent(event);
}
tgui::Callback callback;
while (gui.pollCallback(callback))
{
// Make sure that callback comes from the button
if (callback.id == 1) // login button
{
}
}
// Clear screen
window.clear();
gui.draw();
// Update the window
window.display();
}
return EXIT_SUCCESS;
}
#ifndef fml_test_loginScreen_hpp
#define fml_test_loginScreen_hpp
void loginScreen( tgui::Gui& gui )
{
tgui::Panel::Ptr loginScreen(gui, "loginScreen");
loginScreen->setSize(800, 600);
// Create the background image
tgui::Picture::Ptr picture(*loginScreen);
picture->load("Data/Backgrounds/loginBackground.tex");
picture->setSize(800, 600);
tgui::Button::Ptr jebise(*loginScreen);
jebise->load("Data/Buttons/Black.conf");
jebise->setSize(80,25);
jebise->setText("Tuck off");
jebise->setPosition(100, 100);
jebise->bindCallback(tgui::Button::LeftMouseClicked);
jebise->setCallbackId(1);
}
#endif
objc[2442]: Class SFApplication is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
objc[2442]: Class SFOpenGLView is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
objc[2442]: Class SFSilentResponder is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
objc[2442]: Class SFWindow is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
objc[2442]: Class SFWindowController is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
objc[2442]: Class SFViewController is implemented in both /Library/Frameworks/sfml-window.framework/Versions/2.1.0/sfml-window and /Users/cola/Desktop/fml test/Debug/fml test.app/Contents/Frameworks/libsfml-window.2.dylib. One of the two will be used. Which one is undefined.
Segmentation fault: 11
Scanning dependencies of target tgui
[ 2%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Callback.cpp.o
In file included from /Users/cola/TGUI-0.6.1/src/TGUI/Callback.cpp:26:
In file included from /Users/cola/TGUI-0.6.1/include/TGUI/Callback.hpp:29:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:371:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:16:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:599:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/tuple:234:73: error:
no matching constructor for initialization of
'std::__1::reference_wrapper<const tgui::Callback>'
_NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/tuple:447:23: note:
in instantiation of member function 'std::__1::__tuple_leaf<0,
std::__1::reference_wrapper<const tgui::Callback>, false>::__tuple_leaf'
requested here
_LIBCPP_CONSTEXPR __tuple_impl()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/tuple:550:23: note:
in instantiation of member function
'std::__1::__tuple_impl<std::__1::__tuple_indices<0>,
std::__1::reference_wrapper<const tgui::Callback> >::__tuple_impl'
requested here
_LIBCPP_CONSTEXPR tuple()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1744:11: note:
in instantiation of member function
'std::__1::tuple<std::__1::reference_wrapper<const tgui::Callback>
>::tuple' requested here
__bound_args_(_VSTD::forward<_BA>(__bound_args)...) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: note:
in instantiation of function template specialization
'std::__1::__bind<std::__1::function<void (const tgui::Callback &)> &,
std::__1::reference_wrapper<const tgui::Callback>
>::__bind<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> >, , void>' requested here
__first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note:
in instantiation of function template specialization
'std::__1::__libcpp_compressed_pair_imp<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> >,
std::__1::allocator<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > >,
2>::__libcpp_compressed_pair_imp<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > &&, , 0, >' requested here
: base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:992:11: note:
in instantiation of function template specialization
'std::__1::__compressed_pair<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> >,
std::__1::allocator<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > >
>::__compressed_pair<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > &&, >' requested here
: __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note:
in instantiation of member function
'std::__1::__function::__func<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> >,
std::__1::allocator<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > >, void ()>::__func' requested here
::new (__f_) _FF(_VSTD::move(__f));
^
/Users/cola/TGUI-0.6.1/src/TGUI/Callback.cpp:43:21: note: in instantiation of
function template specialization 'std::__1::function<void
()>::function<std::__1::__bind<std::__1::function<void
(const tgui::Callback &)> &, std::__1::reference_wrapper<const
tgui::Callback> > >' requested here
mapCallback(std::bind(func, std::cref(m_Callback)), trigger);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__functional_base:365:31: note:
candidate constructor not viable: requires single argument '__f', but no
arguments were provided
_LIBCPP_INLINE_VISIBILITY reference_wrapper(type& __f) _NOEXCEPT : _...
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__functional_base:367:14: note:
candidate constructor not viable: requires 1 argument, but 0 were provided
private: reference_wrapper(type&&); public: // = delete; // do not b...
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__functional_base:354:24: note:
candidate constructor (the implicit copy constructor) not viable: requires
1 argument, but 0 were provided
class _LIBCPP_TYPE_VIS reference_wrapper
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__functional_base:354:24: note:
candidate constructor (the implicit move constructor) not viable: requires
1 argument, but 0 were provided
1 error generated.
make[2]: *** [src/TGUI/CMakeFiles/tgui.dir/Callback.cpp.o] Error 1
make[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
make: *** [all] Error 2
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 ==========