User forums > General (but related to Code::Blocks)
not for GNU C11 + error class WXDLLIMPEXP_FWD_BASE wxCStrData
BlueHazzard:
Some comments to add:
1) You have to provide a "lv_conf.h" file by your own... Read the LittlevGL documentation for this
2) If you change something in your "lv_conf.h" file you will have to rebuild the target "libvgl" from the drop down menu
3) The step above can be automated, but first let us bring this to work
4) If this minimal example builds, the work of codeblocks is done. If you have questions how to draw on the wxImage from LittlevGL you better ask in the wxForum
5) If you have questions how to inser the wxImage in wxSmith this is again a question you can ask here..
hope this helped so far...
ivan braga:
BlueHazzard.
First I want to thank you, for your time and patience in trying to help me.
How a picture is worth a thousand words.
--- Quote ---1) Open codeblocks
2) Create a new wxWidgets project with File->New->Project
--- End quote ---
--- Quote ---4) In Codeblocks create a new build target:
4.1) Project->Properties->Build targets->Add->libvgl
4.2) Change the output type and output filename:
4.2.1) Select the "liblvgl" from the right-> Type= "static library" to build a static library
4.2.2) Output filename: "lvgl\bin\libvgl.a"
4.2) Close the dialog with OK
5) Add the lvgl files to the project:
5.1) Project->Add files recursively->Select the copied "lvgl" folder and hit Ok
5.2) In the first pop up dialog "Multiple selection" hit simply OK
5.3) In the "select targets this file...." select ONLY "libvgl"
--- End quote ---
--- Quote ---6) Prepare the target to get compiled:
6.1) Project->build options->select the project name on the left->Compiler settings->#defines-> Add "LV_CONF_INCLUDE_SIMPLE"
6.2) In the same dialog->Search directories->Add->"lvgl" (this is the folder where your "lv_conf.h" file should be
6.3) Select the "Debug" target from the left->Linker settings->Add->"lvgl\bin\libvgl.a"
6.4) Close dialog with OK
--- End quote ---
--- Quote ---7) Build the whole thing:
7.1) From the drop down menu near the build symbol select "libvgl"-> Hit the build button. Should finish without error
--- End quote ---
After building, the same error.
Did I miss anything?
--- Code: ----------------- Build: liblvgl in pjt_lvgl_wx (compiler: GNU GCC Compiler)---------------
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_group.c -o .objs/lvgl/lv_core/lv_group.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_indev.c -o .objs/lvgl/lv_core/lv_indev.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_obj.c -o .objs/lvgl/lv_core/lv_obj.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_refr.c -o .objs/lvgl/lv_core/lv_refr.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_style.c -o .objs/lvgl/lv_core/lv_style.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_core/lv_vdb.c -o .objs/lvgl/lv_core/lv_vdb.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw.c -o .objs/lvgl/lv_draw/lv_draw.o
gcc -Wall -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DLV_CONF_INCLUDE_SIMPLE -Ilvgl -I/include/wx-3.0/wx -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/include/tinyxml -I/media/ilb/HD_DADOS/Documentos/Arquivos_Fontes/CB_WX_Source/cb/trunk/src/sdk/wxscintilla/include -c /media/ilb/HD_DADOS/Documentos/Projetos_CodeBlocks/pjt_lvgl_wx/lvgl/lv_draw/lv_draw_arc.c -o .objs/lvgl/lv_draw/lv_draw_arc.o
In file included from /usr/include/wx-3.0/wx/strconv.h:17:0,
from /usr/include/wx-3.0/wx/strvararg.h:20,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name ‘class’
class WXDLLIMPEXP_FWD_BASE wxCStrData;
^~~~~
/usr/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name ‘namespace’; did you mean ‘isspace’?
namespace wxPrivate
^~~~~~~~~
isspace
/usr/include/wx-3.0/wx/buffer.h:28:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/usr/include/wx-3.0/wx/buffer.h:65:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
template <typename T>
^
/usr/include/wx-3.0/wx/buffer.h:241:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
typedef wxScopedCharTypeBuffer<char> wxScopedCharBuffer;
^
/usr/include/wx-3.0/wx/buffer.h:242:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
typedef wxScopedCharTypeBuffer<wchar_t> wxScopedWCharBuffer;
^
/usr/include/wx-3.0/wx/buffer.h:246:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
template <typename T>
^
/usr/include/wx-3.0/wx/buffer.h:360:1: error: unknown type name ‘class’
class wxCharBuffer : public wxCharTypeBuffer<char>
^~~~~
/usr/include/wx-3.0/wx/buffer.h:360:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
class wxCharBuffer : public wxCharTypeBuffer<char>
^
/usr/include/wx-3.0/wx/buffer.h:380:1: error: unknown type name ‘class’
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^~~~~
/usr/include/wx-3.0/wx/buffer.h:380:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
^
/usr/include/wx-3.0/wx/buffer.h:398:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
template <typename T>
^
/usr/include/wx-3.0/wx/buffer.h:416:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
typedef wxWritableCharTypeBuffer<char> wxWritableCharBuffer;
^
/usr/include/wx-3.0/wx/buffer.h:417:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
typedef wxWritableCharTypeBuffer<wchar_t> wxWritableWCharBuffer;
^
/usr/include/wx-3.0/wx/buffer.h:446:1: error: unknown type name ‘class’
class wxMemoryBufferData
^~~~~
/usr/include/wx-3.0/wx/buffer.h:447:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/usr/include/wx-3.0/wx/buffer.h:518:1: error: unknown type name ‘class’
class wxMemoryBuffer
^~~~~
/usr/include/wx-3.0/wx/buffer.h:519:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:29:1: error: unknown type name ‘class’
class WXDLLIMPEXP_FWD_BASE wxString;
^~~~~
/usr/include/wx-3.0/wx/strconv.h:47:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:47:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:47:24: error: expected ‘,’ or ‘;’ before ‘wxMBConv’
class WXDLLIMPEXP_BASE wxMBConv
^~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:183:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvLibc : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:183:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:183:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvLibc’
class WXDLLIMPEXP_BASE wxMBConvLibc : public wxMBConv
^~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:205:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxConvBrokenFileNames : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:205:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:205:24: error: expected ‘,’ or ‘;’ before ‘wxConvBrokenFileNames’
class WXDLLIMPEXP_BASE wxConvBrokenFileNames : public wxMBConv
^~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:251:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF7 : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:251:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:251:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF7’
class WXDLLIMPEXP_BASE wxMBConvUTF7 : public wxMBConv
^~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:341:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvStrictUTF8 : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:341:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:341:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvStrictUTF8’
class WXDLLIMPEXP_BASE wxMBConvStrictUTF8 : public wxMBConv
^~~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:360:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF8 : public wxMBConvStrictUTF8
^~~~~
/usr/include/wx-3.0/wx/strconv.h:360:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:360:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF8’
class WXDLLIMPEXP_BASE wxMBConvUTF8 : public wxMBConvStrictUTF8
^~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:393:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF16Base : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:393:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:393:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF16Base’
class WXDLLIMPEXP_BASE wxMBConvUTF16Base : public wxMBConv
^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:412:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF16LE : public wxMBConvUTF16Base
^~~~~
/usr/include/wx-3.0/wx/strconv.h:412:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:412:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF16LE’
class WXDLLIMPEXP_BASE wxMBConvUTF16LE : public wxMBConvUTF16Base
^~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:426:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF16BE : public wxMBConvUTF16Base
^~~~~
/usr/include/wx-3.0/wx/strconv.h:426:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:426:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF16BE’
class WXDLLIMPEXP_BASE wxMBConvUTF16BE : public wxMBConvUTF16Base
^~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:440:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF32Base : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:440:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:440:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF32Base’
class WXDLLIMPEXP_BASE wxMBConvUTF32Base : public wxMBConv
^~~~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:458:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF32LE : public wxMBConvUTF32Base
^~~~~
/usr/include/wx-3.0/wx/strconv.h:458:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:458:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF32LE’
class WXDLLIMPEXP_BASE wxMBConvUTF32LE : public wxMBConvUTF32Base
^~~~~~~~~~~~~~~
/usr/include/wx-3.0/wx/strconv.h:472:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxMBConvUTF32BE : public wxMBConvUTF32Base
^~~~~
/usr/include/wx-3.0/wx/strconv.h:472:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:472:24: error: expected ‘,’ or ‘;’ before ‘wxMBConvUTF32BE’
class WXDLLIMPEXP_BASE wxMBConvUTF32BE : public wxMBConvUTF32Base
^~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:488:1: warning: data definition has no type or storage class
class WXDLLIMPEXP_BASE wxCSConv : public wxMBConv
^~~~~
/usr/include/wx-3.0/wx/strconv.h:488:1: warning: type defaults to ‘int’ in declaration of ‘class’ [-Wimplicit-int]
/usr/include/wx-3.0/wx/strconv.h:488:24: error: expected ‘,’ or ‘;’ before ‘wxCSConv’
class WXDLLIMPEXP_BASE wxCSConv : public wxMBConv
^~~~~~~~
In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:576:24: error: unknown type name ‘wxMBConv’
WX_DECLARE_GLOBAL_CONV(wxMBConv, wxConvLibc)
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:576:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConv, wxConvLibc)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:576:24: error: unknown type name ‘wxMBConv’
WX_DECLARE_GLOBAL_CONV(wxMBConv, wxConvLibc)
^
/usr/include/wx-3.0/wx/strconv.h:565:29: note: in definition of macro ‘WX_DECLARE_GLOBAL_CONV’
extern WXDLLIMPEXP_BASE klass* wxGet_##name##Ptr(); \
^~~~~
/usr/include/wx-3.0/wx/strconv.h:566:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
inline klass& wxGet_##name() \
^
/usr/include/wx-3.0/wx/strconv.h:576:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConv, wxConvLibc)
^~~~~~~~~~~~~~~~~~~~~~
--- End code ---
Continue below.
ivan braga:
--- Code: ---In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:580:24: error: unknown type name ‘wxCSConv’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvISO8859_1)
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:580:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvISO8859_1)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:580:24: error: unknown type name ‘wxCSConv’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvISO8859_1)
^
/usr/include/wx-3.0/wx/strconv.h:565:29: note: in definition of macro ‘WX_DECLARE_GLOBAL_CONV’
extern WXDLLIMPEXP_BASE klass* wxGet_##name##Ptr(); \
^~~~~
/usr/include/wx-3.0/wx/strconv.h:566:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
inline klass& wxGet_##name() \
^
/usr/include/wx-3.0/wx/strconv.h:580:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvISO8859_1)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:583:24: error: unknown type name ‘wxMBConvStrictUTF8’
WX_DECLARE_GLOBAL_CONV(wxMBConvStrictUTF8, wxConvUTF8)
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:583:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConvStrictUTF8, wxConvUTF8)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:583:24: error: unknown type name ‘wxMBConvStrictUTF8’
WX_DECLARE_GLOBAL_CONV(wxMBConvStrictUTF8, wxConvUTF8)
^
/usr/include/wx-3.0/wx/strconv.h:565:29: note: in definition of macro ‘WX_DECLARE_GLOBAL_CONV’
extern WXDLLIMPEXP_BASE klass* wxGet_##name##Ptr(); \
^~~~~
/usr/include/wx-3.0/wx/strconv.h:566:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
inline klass& wxGet_##name() \
^
/usr/include/wx-3.0/wx/strconv.h:583:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConvStrictUTF8, wxConvUTF8)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:586:24: error: unknown type name ‘wxMBConvUTF7’
WX_DECLARE_GLOBAL_CONV(wxMBConvUTF7, wxConvUTF7)
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:586:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConvUTF7, wxConvUTF7)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:586:24: error: unknown type name ‘wxMBConvUTF7’
WX_DECLARE_GLOBAL_CONV(wxMBConvUTF7, wxConvUTF7)
^
/usr/include/wx-3.0/wx/strconv.h:565:29: note: in definition of macro ‘WX_DECLARE_GLOBAL_CONV’
extern WXDLLIMPEXP_BASE klass* wxGet_##name##Ptr(); \
^~~~~
/usr/include/wx-3.0/wx/strconv.h:566:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
inline klass& wxGet_##name() \
^
/usr/include/wx-3.0/wx/strconv.h:586:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxMBConvUTF7, wxConvUTF7)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:596:30: error: unknown type name ‘wxMBConv’
extern WXDLLIMPEXP_DATA_BASE(wxMBConv *) wxConvFileName;
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:603:30: error: unknown type name ‘wxMBConv’
extern WXDLLIMPEXP_DATA_BASE(wxMBConv *) wxConvCurrent;
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:606:24: error: unknown type name ‘wxCSConv’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvLocal)
^
/usr/include/wx-3.0/wx/dlimpexp.h:116:50: note: in definition of macro ‘WXDLLIMPEXP_DATA_BASE’
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
^~~~
/usr/include/wx-3.0/wx/strconv.h:606:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvLocal)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:606:24: error: unknown type name ‘wxCSConv’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvLocal)
^
/usr/include/wx-3.0/wx/strconv.h:565:29: note: in definition of macro ‘WX_DECLARE_GLOBAL_CONV’
extern WXDLLIMPEXP_BASE klass* wxGet_##name##Ptr(); \
^~~~~
/usr/include/wx-3.0/wx/strconv.h:566:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
inline klass& wxGet_##name() \
^
/usr/include/wx-3.0/wx/strconv.h:606:1: note: in expansion of macro ‘WX_DECLARE_GLOBAL_CONV’
WX_DECLARE_GLOBAL_CONV(wxCSConv, wxConvLocal)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.0/wx/defs.h:570:0,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:14,
from <command-line>:0:
/usr/include/wx-3.0/wx/strconv.h:613:30: error: unknown type name ‘wxMBConv’
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 0 second(s))
50 error(s), 26 warning(s) (0 minute(s), 0 second(s))
Process terminated with status 1 (0 minute(s), 1 second(s))
50 error(s), 26 warning(s) (0 minute(s), 1 second(s))
--- End code ---
BlueHazzard:
[Edit:]
You probably use a wrong wxWidgets installation...
Did you compiled it by yourself, or did you downloaded it from somewhere?
There is something strange... Why is there wxWidgets source code if you compile the libvgl target? There should nothing related to wx be in this target... There is probably something different in the wxWidgets wizard for linux and windows. Can you please check if there is something written in Project->Build options->select the project on the left->Compiler->Other compiler options?
If there is something like "wx--config" ecc, please move this to the Debug target, by cutting the text, select "Debug" on the left and paste it again...
or post only the project file here
stahta01:
Because they added "wx_pch.h" to the library target. Likely in the other compiler options.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version