Duck Posted Tuesday at 22:11 Report Share Posted Tuesday at 22:11 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: 7. I did the cmake --version command and this was the output: All my update were done before all this. @Seleucids 1 Quote Link to comment Share on other sites More sharing options...
Seleucids Posted Tuesday at 22:16 Report Share Posted Tuesday at 22:16 This happens to him when he tried to run ./update-workspaces.sh I used to have this error. My solution was to create another user on my OS and do everything fresh there. That worked. Quote Link to comment Share on other sites More sharing options...
Seleucids Posted 8 hours ago Report Share Posted 8 hours ago 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted 4 hours ago Report Share Posted 4 hours ago --without-atlas IIRC. You can see all the options in build/premake/premake5.lua. What's the package name for wxwidgets on your system? 1 Quote Link to comment Share on other sites More sharing options...
hyperion Posted 2 hours ago Report Share Posted 2 hours ago 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. 1 Quote Link to comment Share on other sites More sharing options...
Seleucids Posted 48 minutes ago Report Share Posted 48 minutes ago 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.