Replies: 2 comments 2 replies
-
Item 4, $(WXWIN) as noted in BUILDENV.txt. I have provided a wxWidgets build here. the issue could be that when linking, the .LIB and .DLL names must match the target. The download is “wxmsw32u_core_vc14x_x64.dll” you can't jut rename the files, however, you can compile wxWidgets yourself, but you have to go through every project and change the .LIB and .DLL names to exactly match what’s in wxPython. Another thing is, I see is you should be loading RxLoaderV25.0.brx in _APPLOAD and not PyRxV25.0.brx, unless you already have a path to wxPython There’s a cool app here. https://github.com/lucasg/Dependencies, You can target PyRxV25.0 and see your actual dependencies |
Beta Was this translation helpful? Give feedback.
-
Just to add. From a development perspective, it may be best to uninstall the user package, and work from the solution directory. just load from PyRxGit\Bin |
Beta Was this translation helpful? Give feedback.
-
Thanks for PyRx.
In order to be able to test potential contributions (e.g. stubs), one must manually test before creating a pull request. Below is a walkthrough in order to document for others to use.
Requirements: MS W11, BCAD 25.0.3, x64 hardware
Install Python 3.12 (https://www.python.org/ftp/python/3.12.7/python-3.12.7-amd64.exe)
Install Visual Studio 2019 community edition including BuildingTools (v142)
Install Boost 1.8.5 for VC v142 (https://sourceforge.net/projects/boost/files/boost-binaries/1.85.0/boost_1_85_0-msvc-14.2-64.exe/download)
Install WxWidgets as per download provided and extract into
C:\Program Files\wxWidgets-3.2.0
Install WxPython on the PowerShell using
pip install wxpython
Install the BCAD SDK BRX25.1.05.0 (https://www.bricsys.com/en-eu/developer-resources)
Set environment variables as follows
RxLoaderV25.0.vcxproj
andPyRxV25.0.vcxproj
and change stringsto
PyRx.sln
in Visual Studio 2019 Community EditionOne should receive a message similar to below
The stub file should thus be generated in
PyBrxCv.pyi
,PyRxV25.0.brx
,RxLoaderV25.0.brx
into the installation directory wherever required.Best
Sebastian
05.11.2024: Changed VS to 2019
11.11.2024: Changed WXWIN-instructions; changed load order
Beta Was this translation helpful? Give feedback.
All reactions