hello, I’m trying to compile wxpython+wxwidgets on a win10 PC. I’ve overcome the attrdict dependency problem, updated wxwidgets submodule but when I run the command below I get the error
impossible creating ‘…\3rdparty\pcre\src\pcre2_auto_possess.c’
It looks a path problem to me because these are the paths to wxpython local repo and 3rdparty dir:
C:\Users\kaneido1\Documents\python\wxPython
C:\Users\kaneido1\Documents\python\wxPython\ext\wxWidgets\3rdparty
Is there some option that can be set to avoid this?
thank you in advance
Marco
(af42311dev) C:\Users\kaneido1\Documents\python\wxPython>python -u build.py build
Will build using: "C:\Users\kaneido1\Envs\af42311dev\Scripts\python.exe"
3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Python's architecture is 64bit
cfg.VERSION: 4.2.2a1
Running command: build
Running command: build_wx
CL.exe: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\cl.exe
wxWidgets build options: ['--wxpython', '--unicode']
Updating wx/msw/setup.h
setting build options...
nmake.exe -f makefile.vc UNICODE=1 OFFICIAL_BUILD=1 COMPILER_VERSION=140 SHARED=1 MONOLITHIC=0 USE_OPENGL=1 USE_GDIPLUS=1 BUILD=release
Microsoft (R) Program Maintenance Utility versione 14.36.32535.0
Copyright (C) Microsoft Corporation. Tutti i diritti riservati.
NMAKE : fatal error U1073: impossibile creare '..\..\3rdparty\pcre\src\pcre2_auto_possess.c'
Stop.
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "C:\Users\kaneido1\Documents\python\wxPython\build.py", line 1568, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "C:\Users\kaneido1\Documents\python\wxPython\buildtools\build_wxwidgets.py", line 503, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")
File "C:\Users\kaneido1\Documents\python\wxPython\buildtools\build_wxwidgets.py", line 72, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error building
Finished command: build_wx (0m1.12s)
Finished command: build (0m1.12s)