Just a hint.
I have tried to compile tinyember and run into problems.
- There are sourcefiles containing BACKSLASHES in include statements (not linux conform)
find . -iname "*.c*" -or -iname "*.h*" -exec grep -l -e '\#[ \t]*include .*\\' {} \;
shows following files
- ./tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/net/TcpClient.h
- ./tinyember/TinyEmberPlus/EditEnumerationDialog.h
- ./tinyember/TinyEmberPlus/TinyEmberPlus.h
- ./tinyember/TinyEmberPlus/net/TcpClient.h
- ./tinyember/TinyEmberPlus/gadget/Subscriber.h
- ./tinyember/TinyEmberPlus/GadgetViewContextMenu.h
- ./tinyember/TinyEmberPlus/glow/Encoder.h
- ./tinyember/TinyEmberPlus/CreateParameterDialog.h
- ./tinyember/TinyEmberPlus/serialization/detail/GadgetTreeReader.h
- ./libformula/Headers/formula/Term.hpp
- ./libformula/Headers/formula/Error.hpp
that can be fixed with:
find . -iname "*.c*" -or -iname "*.h*" -exec sed -e '/\#[ \t]*include/ s/\\/\//g' {} \;- In the provided .PRI file, files are missing:
Please add BooleanView.ui to the FORMS
- All #pragma warnings related to MSVC need to be embraced in #ifdef _MSC_VER ... #endif statements
- a statement like (TinyEmberPlus/gadget/Node.h):
typedef DirtyStateListener<NodeFieldState::flag_type, Node const*> DirtyStateListener;
will lead to heaps of warnings and errors using GCC 4.8.2 (Yes , c++11 is enabled)
I had to change all of them to something like
typedef DirtyStateListener<NodeFieldState::flag_type, Node const*> DIRTYSTATELISTENER;
- I had to build a 'real' .PRO file from scratch to match Qt 5.3.x (attached for info)
Still i am not able to compile it . Info:> uname -aLinux WKS-Mint 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> gcc --versiongcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
used standard Qt got from digia
Desktop Qt 5.3 GCC 64bit