Jump to content

[SOLVED] [Archlinux] Building issue : Building AtlasUI


Clovisnox
 Share

Recommended Posts

Hello there :)

I had trouble using the search option of the forum, sorry if the question was already asked 

(I swear i searched :P)

I'm trying to compile the svn version on archlinux 

Everything's going smoothly until the "make -j8" command 

==== Building AtlasUI (release) ====
precompiled.h
../../../source/tools/atlas/AtlasUI/Misc/precompiled.h:107:11: erreur fatale: wx/wx.h : Aucun fichier ou dossier de ce type
  107 | # include "wx/wx.h"
      |           ^~~~~~~~~
compilation terminée.
make[1]: *** [AtlasUI.make:188 : obj/AtlasUI_Release/precompiled.h.gch] Erreur 1
make: *** [Makefile:173 : AtlasUI] Erreur 2

Do you know what might be the issue here ? And maybe even how to solve it ?

rev is 25444, which is the latest available as i'm writing. Same issue with the few previous revisions 

Edited by Clovisnox
SOLVED Tag
Link to comment
Share on other sites

14 minutes ago, Clovisnox said:

Do you know what might be the issue here ? And maybe even how to solve it ?

Hi. To build the map editor (Atlas) you need wxWidgets header (for example its https://aur.archlinux.org/packages/wxgtk3-dev-light/)

(or set options --disable-atlas if no map editor is required)

 

Edited by nwtour
  • Like 1
Link to comment
Share on other sites

Thank you @nwtour

The package from aur wasn't compiling
According to someone from the #wxwidgets irc channel, the aur isn't necessary (and even shouldn't be used)

In the end I simply réinstalled  wxgtk3  and wxgtk-common packages according to the 0ad build instructions (and wxgtk2 just to be sure :P)

It's now compiling just fine, thanks to you :) 

NB : The  command "./update-workspaces.sh --disable-atlas -j8" worked too as a workaround :thumbsup:


 

Link to comment
Share on other sites

  • Clovisnox changed the title to [SOLVED] [Archlinux] Building issue : Building AtlasUI

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...