User forums > General (but related to Code::Blocks)
configure libraries of wxwidget
sebarubiolo:
Hi.
I cant configure the libraries of wxwidgets.
when build i have an error: 'fatal error: wx/wxprec.h: No existe el fichero o el directorio'
the files are in /usr/include/wx-3.0/wx/ , but I do not know how to modify the directory.
Please help me.... that i have to do?
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
sebarubiolo:
hi stahta01! Thank for answered.
My codeblocks version is 16.01 installed from Synaptic of Debian Strech.
after i installed the program, i install wxwidgets also from Synaptic.
I try run a empty project wx3.0 but the build log throw an error:
--- Code: ---
-------------- Build: Debug in prueba4 (compiler: GNU GCC Compiler)---------------
g++ -Wall -g -c /home/sebarubiolo/Documentos/programacion/pruebas/wx/prueba4/GUIFrame.cpp -o obj/Debug/GUIFrame.o
/home/sebarubiolo/Documentos/programacion/pruebas/wx/prueba4/GUIFrame.cpp:8:23: fatal error: wx/wxprec.h: No existe el fichero o el directorio
#include "wx/wxprec.h"
^
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
i searched the library and exist in 'usr/include/wx-3.0/wx', but the codeblock not recognize.
Which one is my error?
edit: the compiler is:
--- Code: ---
g++ (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 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.
--- End code ---
stahta01:
What is the output of the below command on the command line?
--- Code: ---wx-config --list
--- End code ---
Tim S.
oBFusCATed:
sebarubiolo: You need to install the dev or devel package for wxgtk.
Navigation
[0] Message Index
[#] Next page
Go to full version