Jump to content

wxwidgets error while building


Recommended Posts

1. I installed both .gz file and got them in the same folder 

2. I did the ./build-source-libs.sh -j8 command 

3. I did the ./update-workspace.sh command

I got this error: WX_CONFIG must be set and valid or wx-config must be present when atlas is enabled
current value: wx-config-gtk2
ERROR: Premake failed

4. I installed wxwidgets-common, wxwidgets-gtk2 and wxwidgets-gtk3 and tryed again the ./update-workspace.sh command but it gave the same error

5. I did the export WX_CONFIG=wx-config-gtk3 command and tryed the ./update-workspace.sh command but it gave the same error. Same for the WX_CONFIG=wx-config-gtk2 command

6. I installed wxwidgets-gtk2 with yay -S wxwidgets-gtk2 command but got this error: 

rn_image_picker_lib_temp_2fda3760-b39d-433b-a87d-cb2b177dcb4a.jpg?ex=682e49a1&is=682cf821&hm=bbaded1ec17d54b8d7a8f1366ed2d323966e23ba3640853a58cb6637e03659ff&=

7. I did the cmake --version command and this was the output: rn_image_picker_lib_temp_13f6aa16-0923-4781-b9d3-4ffab6aae321.jpg?ex=682e4a44&is=682cf8c4&hm=ddc15365eda30a6717561d65bd2e5ac6d1dcca4f75cdd1255ae1f1bb60099d16&=

All my update were done before all this.

 

 

@Seleucids

  • Like 1
Link to comment
Share on other sites

I have also encountered this problem now. It occured after an Arch Linux update. I try to run ./update-workspaces, and now I get this error:
 

[user1@LAPTOP workspaces]$ export WX_CONFIG=wx-config-gtk3
[user1@LAPTOP workspaces]$ ./update-workspaces.sh

Premake args: 
WX_CONFIG must be set and valid or wx-config must be present when atlas is enabled
current value: wx-config-gtk3
ERROR: Premake failed

I used the export environment variable as described by the build instruction: export WX_CONFIG=wx-config-gtk3

But seems like wx-config-gtk3 is no longer accepted. I changed it to gtk2 but still the same error. 

 

I also tried to disable atlas, but magically, the --disable-atlas flag has been removed from update-workspaces.sh ! What's the equivalent command for it now? I don't want the Atlas right now. 

Link to comment
Share on other sites

5 hours ago, Seleucids said:

But seems like wx-config-gtk3 is no longer accepted. I changed it to gtk2 but still the same error. 

it means wx-config-gtk3 no longer exists on your system or is no longer in PATH. You can use an absolute path for WX_CONFIG, but it must point to the wx-config corresponding to your desired wx install.

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Stan` said:

--without-atlas

This flag worked. I could build the game without atlas. 

3 hours ago, Stan` said:

What's the package name for wxwidgets on your system?

[user1@LAPTOP ~]$ sudo pacman -Q | grep "wx"
wxwidgets-common 3.2.8-3
wxwidgets-gtk2 3.2.4-1
wxwidgets-gtk3 3.2.8-3


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...