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.


Topics - olfibits

Pages: [1]
1
Hello,

I'm currently starting to work with TGUI and SFML for cross-platform GUI development.
Because TGUI bases on SFML, I downloaded a built version of SFML (SFML 2.2 for Windows/MinGW) and TGUI 0.7 for Windows/MinGW.
Before I start interpreting and estimating some nonsense, I'll post what Code::Blocks showed to me.
(In the linker settings any libraries from TGUI\lib\* and SFML\lib\* are included as well as the SFML and TGUI root directory. I don't think that the problem is there because I can't find an error message like "Fatal error: anyfile.h - No such file or directory".

So, here it goes.

||=== Build: Debug in Olfibits-C++ (compiler: GNU GCC Compiler) ===|
C:\Users\***\Olfibits Software Project\My GUI Test Project\SFML\include\SFML\System\String.hpp|398|error: expected ',' or '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\SFML\include\SFML\System\String.hpp|412|error: expected ',' or '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp||In function 'std::string tgui::to_string(T)':|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp|64|error: 'std::string' is not a class member|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp|150|error: expected unqualified-id before ')' token|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp|157|error: expected unqualified-id before ')' token|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp|164|error: expected ',' or '...'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|804|error: invalid use of '::'|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h||In member function 'int std::sub_match<_BiIter>::compare(const std::sub_match<_BiIter>&) const':|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|822|error: 'std::string' is not a class member|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|822|error: 'std::string' is not a class member|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h||In member function 'int std::sub_match<_BiIter>::compare(const string_type&) const':|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|835|error: 'std::string' is not a class member|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h||In member function 'int std::sub_match<_BiIter>::compare(const value_type*) const':|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|848|error: 'std::string' is not a class member|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h||In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::sub_match<_Bi_iter>&)':|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|1425|error: 'std::string' is not a class member|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\regex.h|1649|error: invalid use of '::'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\main.cpp||In function 'int main(int, char**)':|
C:\Users\***\Olfibits Software Project\My GUI Test Project\main.cpp|136|error: 'to_string' is not a member of 'std'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\main.cpp|136|note: suggested alternative:|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Global.hpp|59|note:   'tgui::to_string'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp||In instantiation of 'unsigned int tgui::SignalWidgetBase::connect(const string&, Func, Args ...) [with Func = main(int, char**)::<lambda()>; Args = {}; std::string = std::basic_string<char>]':|
C:\Users\***\Olfibits Software Project\My GUI Test Project\main.cpp|185|required from here|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|362|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|365|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|374|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp||In instantiation of 'unsigned int tgui::SignalWidgetBase::connect(const string&, Func, Args ...) [with Func = main(int, char**)::<lambda()>; Args = {}; std::string = std::basic_string<char>]':|
C:\Users\***\Olfibits Software Project\My GUI Test Project\main.cpp|239|required from here|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|362|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|365|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|374|error: cannot pass objects of non-trivially-copyable type 'class std::basic_string<char>' through '...'|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|245|error: 'void tgui::Signal::connect(unsigned int, Func, Args ...) [with Func = main(int, char**)::<lambda()>; Args = {}]', declared using local type 'main(int, char**)::<lambda()>', is used but never defined [-fpermissive]|
C:\Users\***\Olfibits Software Project\My GUI Test Project\TGUI\include\TGUI\Signal.hpp|245|error: 'void tgui::Signal::connect(unsigned int, Func, Args ...) [with Func = main(int, char**)::<lambda()>; Args = {}]', declared using local type 'main(int, char**)::<lambda()>', is used but never defined [-fpermissive]|
C:\Users\***\Olfibits Software Project\My GUI Test Project\file.h||In function 'std::vector<std::basic_string<char> > FileReadToArray(std::string)':| <=== MY MISTAKE, WILL BE FIXED SOON
C:\Users\***\Olfibits Software Project\My GUI Test Project\file.h|34|warning: control reaches end of non-void function [-Wreturn-type]| <=== MY MISTAKE, WILL BE FIXED SOON
||=== Build failed: 22 error(s), 5 warning(s) (0 minute(s), 6 second(s)) ===|

I would be very thankful for any answer.

LG
Florian

Pages: [1]