Skip to content

cannot open file 'lib\Debub\axmol.lib' and Cannot open include file : 'WevView2.h' #1044

Closed Answered by rh101
rudiHammad asked this question in Q&A
Discussion options

You must be logged in to vote

Add this line to your CMakeLists.txt file after the project(${APP_NAME}) line:

set(AX_ENABLE_MSEDGE_WEBVIEW2 OFF CACHE BOOL "Enable msedge webview2" FORCE)

It should look something like this:

project(${APP_NAME})

set(AX_ENABLE_MSEDGE_WEBVIEW2 OFF CACHE BOOL "Enable msedge webview2" FORCE)

if(NOT DEFINED BUILD_ENGINE_DONE) # to test demogame into root project
    if(XCODE)
...
etc etc
...

Make sure you either delete the build folder you created with cmake, or go into the build folder and delete the CMakeCache.txt, then re-run the same cmake command again that you used to create the build folder, otherwise the AX_ENABLE_MSEDGE_WEBVIEW2 setting may not work.

Also, copy the console output…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@rudiHammad
Comment options

@aismann
Comment options

aismann Feb 5, 2023
Collaborator

@rudiHammad
Comment options

Answer selected by rudiHammad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants