mercredi 21 juillet 2021

Fatal error C1083 when compiling wxWidgets on windows

https://github.com/kyledavis124/guide/tree/refactor

I am trying to add wxWidgets to my project as a subdirectory. I keep getting the errors,

"C:\Program Files (x86)\JetBrains\CLion 2021.1.3\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - NMake Makefiles" C:\Project\guide
-- cotire 1.8.0 loaded.
-- Which libraries should wxWidgets use?
    wxUSE_STL:      OFF      (use C++ STL classes)
    wxUSE_REGEX:    builtin  (enable support for wxRegEx class)
    wxUSE_ZLIB:     builtin  (use zlib for LZW compression)
    wxUSE_EXPAT:    builtin  (use expat for XML parsing)
    wxUSE_LIBJPEG:  builtin  (use libjpeg (JPEG file format))
    wxUSE_LIBPNG:   builtin  (use libpng (PNG image format))
    wxUSE_LIBTIFF:  builtin  (use libtiff (TIFF file format))
    wxUSE_LIBLZMA:  OFF      (use liblzma for LZMA compression)

-- Configured wxWidgets 3.1.5 for Windows-10.0.19043
    Min OS Version required at runtime:                Windows Vista / Windows Server 2008
    Which GUI toolkit should wxWidgets use?            msw 
    Should wxWidgets be compiled into single library?  OFF
    Should wxWidgets be linked as a shared library?    ON
    Should wxWidgets support Unicode?                  ON
    What wxWidgets compatibility level should be used? 3.0
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Project/guide/build
Problems were encountered while collecting compiler information:
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\adv\cotire\wxadv_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\aui\cotire\wxaui_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\base\cotire\wxbase_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\core\cotire\wxcore_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\gl\cotire\wxgl_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\html\cotire\wxhtml_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\media\cotire\wxmedia_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\net\cotire\wxnet_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\propgrid\cotire\wxpropgrid_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\qa\cotire\wxqa_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\ribbon\cotire\wxribbon_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\richtext\cotire\wxrichtext_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\stc\cotire\wxscintilla_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\stc\cotire\wxstc_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\webview\cotire\wxwebview_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\xml\cotire\wxxml_CXX_prefix.hxx': No such file or directory
    C:\Users\kyled\AppData\Local\Temp\compiler-file3714472391677385802: fatal error C1083: Cannot open include file: 'C:\Project\guide\build\vendor\wxwidgets\libs\xrc\cotire\wxxrc_CXX_prefix.hxx': No such file or directory

[Finished]

How would I get this to work?

Aucun commentaire:

Enregistrer un commentaire