Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error for wxSQLite3 4.4.6 (VS2019) #78

Closed
Kvaz1r opened this issue Sep 7, 2019 · 2 comments

Comments

@Kvaz1r
Copy link

@Kvaz1r Kvaz1r commented Sep 7, 2019

I get build error for release 4.4.6(for master branch too):

...\wxWidgets-3.1.2\include\msvc\wx\setup.h(125,10): error C1083: Не удается открыть файл включение: ../../../lib/vc141_lib/mswu/wx/setup.h: No such file or directory,

release 4.4.5 build as expected. Was there introduced some more steps which required for building?

@Kvaz1r Kvaz1r changed the title Build error for wxSQLite3 4.4.6 release Build error for wxSQLite3 4.4.6 (VS2019) Sep 7, 2019
@utelle

This comment has been minimized.

Copy link
Owner

@utelle utelle commented Sep 7, 2019

Probably I should have made a note somewhere that I modified the property file wx_setup.props in the build subdirectory. This was necessary to allow running AppVeyor CI without any modifications.

This modification triggers the use of specific library directories for different compiler versions (as it is used by the pre-built wxWidgets libraries). This adds the toolkit version (141 for VS 2015, 142 for VS 2019) to the library path name.

Additionally, there is a problem with the wxWidgets 3.1.2 release, because it doesn't support VS 2019 in this mode yet. The file include/msvc/wx/setup.h has been updated (lines 68 to 71) in the GitHub repository, but the released version selects the wrong toolkit version (the one belonging to VS 2015).

To get the previous behaviour (library path names without toolkit version) please adjust the 2 parameters wxCompilerPrefix and wxMsvcVersionAuto in file wx_setup.props as follows:

<wxCompilerPrefix>vc</wxCompilerPrefix>
<wxMsvcVersionAuto></wxMsvcVersionAuto>

Sorry for the inconvenience.

@Kvaz1r

This comment has been minimized.

Copy link
Author

@Kvaz1r Kvaz1r commented Sep 7, 2019

Yes, thank you, it works if also set wxMsvcVersionAuto to empty:

<wxMsvcVersionAuto></wxMsvcVersionAuto>

@Kvaz1r Kvaz1r closed this Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.