Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - jjonj

Pages: [1]
1
SFML projects / Re: TGUI: a c++ GUI for SFML (with Form Builder)
« on: March 23, 2013, 01:02:44 am »
Unchecking static fixed it! naturally explains the linker errors! Thank you :)

2
SFML projects / Re: TGUI: a c++ GUI for SFML (with Form Builder)
« on: March 21, 2013, 07:46:47 pm »
I was already using the 2.0 release candidate but getting the nightly build worked :)

EDIT: I'm getting two new error now tho!
error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)   B:\TGUI v0.6\build\src\TGUI\FormBuilder\msvcrtd.lib(ti_inst.obj)
error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)   B:\TGUI v0.6\build\src\TGUI\FormBuilder\msvcrtd.lib(ti_inst.obj)
So these are linker errors to what looks to me to some standard library for visual c++ by microsoft, when i went looking for the library file it wasn't in the folder listed in the error. I'm not profficient with linker errors yet and it's probably some silly mistake by me, but what could be causing this? i am using latest snapshop for both tgui and sfml.
EDIT2: I realized that the snapshots might not be debug versions so i tried compiling it as release, but i got two almost identical errors but with linker errors from LIBCMT.lib instead of msvcrtd.lib

3
SFML projects / Re: TGUI: a c++ GUI for SFML (with Form Builder)
« on: March 19, 2013, 08:57:00 pm »
I am new to a lot of things regarding this, not the least open source projects and their forums, make files and even c++ to some degree but i'm having some trouble and i hope i'm not embarrasing myself too much by posting my request for help here! :)

I wanted to create a music player, and so i found SFML and it worked well! thus i became in need of gui elements and i found TGUI! The installation instructions were clear and after some trouble of my own cause i finally got to the point at which i am now. I have used the newest version of SFML and TGUI 0.6 release candidates ( i also tried TGUI 0.5.2 but with same problem).
I used Cmake to create the visual studio project as specified, i opened the visual studio project and attempted to build it but i get 55 errors. Some of which i'll write here, the last numbers of each error is the line number:

IntelliSense: expression must have pointer type   b:\TGUI v0.6\src\TGUI\TextBox.cpp   2309
error C2440: 'return' : cannot convert from 'const sf::Font' to 'const sf::Font *'   B:\TGUI v0.6\src\TGUI\Label.cpp   109
error C2232: '->sf::Font::getKerning' : left operand has 'class' type, use '.'   B:\TGUI v0.6\src\TGUI\EditBox.cpp   1654
error C2065: 'Unknown' : undeclared identifier   B:\TGUI v0.6\src\TGUI\EventManager.cpp   170
error C2039: 'BackSpace' : is not a member of 'sf::Keyboard'   B:\TGUI v0.6\src\TGUI\EditBox.cpp   1099

I am certain that the errors upon me are of my own doing, but if anyone could offer some guidance of what could be to blame and how to solve my problems it would be awesome!!

Thanks
Jacob Jensen

Pages: [1]