On 08/11/2019 17:10, Miguel Giménez wrote:
> El 08/11/2019 a las 11:00, Soviet_Mario escribió:
>>
>> when including WXWIDGETS in a stub of program under
>> codeblocks, using wxsmith as rad plugin, the compiler
>> complains about not finding
>>
>> WX/SETUP.H
>>
>> After a scan of the whole machine, no such file was found
>> anywhere
>>
>>
>> also some other headers had to be edited manually as the
>> actual folder of wxinstal was not set
>>
>> for instance, I had to manually write
>> #include </usr/include/wx-3.0/wx/app.h>
>> instead of plain
>> #include <wx/app.h>
>>
>> I can't find the place where to input search path for
>> headers, in general
>>
>> but in particular SETUP.H just is missing
>>
>> has anybody met this same problem ?
>> where should I get this and where should I put ?
>>
>> sorry for the trivial question :\
>>
>>
>>
>
> wx/setup.h is in the same folder of the compiled library, in
> Windows it may look like:
>
> c:\wxWidgets-3.1.3\lib\gcc_dll\mswu\wx\setup.h
no the file is MISSING. I have scanned the whole machine
with "catfish" and it does not find ant setup.h that can be
associated with WX (there are a lot, but are distinct files
not regarding WX)
>
> You must select Project -> Build options in the menu, and
> add the search paths to the Search directories -> Compiler > pane:
TNX, this advice works, at least ! Every other header is
found without having to manually edit the include directive.
But I still lack the damn setup.h :/
>
> /usr/include/wx-3.0
> c:\wxWidgets-3.1.3\lib\gcc_dll\mswu <- change to your folder
>
--