Compile errors
Opened this issue · 2 comments
Deleted user commented
I git clone the latest nana and nana-creator but can not compile. Why is it?
Build started...
1>------ Build started: Project: nana_creator, Configuration: Debug Win32 ------
1>creator.cpp
1>D:\code\c++\nana-creator\src\creator.h(59,7): error C2039: 'tools_height': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(60,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(60,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(60,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(61,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(61,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(61,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(62,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(62,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(62,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(63,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(63,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(63,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(64,7): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(65,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(65,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(65,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(66,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(66,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(66,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(67,7): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(68,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(68,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(68,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(69,7): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(70,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(70,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(70,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(71,7): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(72,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(72,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(72,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(73,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(73,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(73,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(74,46): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(74,53): error C2039: 'dropdown': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(74,1): error C2065: 'dropdown': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(75,1): error C3536: 'ip__tb_14': cannot be used before it is initialized
1>D:\code\c++\nana-creator\src\creator.h(78,7): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(79,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(79,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(79,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(80,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(80,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(80,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(81,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(81,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(81,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(83,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(83,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(83,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.h(84,29): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\creator.h(84,36): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.h(84,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(72,11): error C2039: 'tools_height': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(73,33): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(73,40): error C2039: 'dropdown': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(73,1): error C2065: 'dropdown': undeclared identifier
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(74,11): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(75,33): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(75,40): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(75,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(76,11): error C2039: 'append_separator': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(77,33): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(77,40): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(77,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(78,33): error C3083: 'tools': the symbol to the left of a '::' must be a type
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(78,40): error C2039: 'button': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\itemseditorpanel.h(78,1): error C2065: 'button': undeclared identifier
1>D:\code\c++\nana-creator\src\creator.cpp(348,16): error C2039: 'at': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.cpp(349,4): error C3536: 'ip': cannot be used before it is initialized
1>D:\code\c++\nana-creator\src\creator.cpp(349,71): error C2039: 'item_proxy': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.cpp(352,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\code\c++\nana-creator\src\creator.cpp(349,81): error C2143: syntax error: missing ',' before '&'
1>D:\code\c++\nana-creator\src\creator.cpp(353,70): error C2039: 'item_proxy': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.cpp(356,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\code\c++\nana-creator\src\creator.cpp(353,80): error C2143: syntax error: missing ',' before '&'
1>D:\code\c++\nana-creator\src\creator.cpp(357,71): error C2039: 'item_proxy': is not a member of 'nana::toolbar'
1>D:\code\c++\nana\include\nana\gui\widgets\toolbar.hpp(128): message : see declaration of 'nana::toolbar'
1>D:\code\c++\nana-creator\src\creator.cpp(360,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\code\c++\nana-creator\src\creator.cpp(357,81): error C2143: syntax error: missing ',' before '&'
1>Done building project "nana_creator.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
besh81 commented
Hi @blackbeaf ,
which version of nana lib did u use?
To correctly build nana-creator you MUST use the nana brach develop-1.8
and enable the PNG & JPG support in Nana.
Here the instruction to Configure-Third-Party-Libraries-for-Nana
Deleted user commented
Thank you ! Got it.