Author Topic: [invalid] Missing dependencies on the docs/readme_linux.txt file  (Read 1149 times)

Gallaecio

  • Guest
There are two missing dependencies in the list: LUA and xwGTK.

I though the last one was only needed for the editor, and that the game could be compiled without it by setting the WX_AVAILABLE to "no", but it didn't work, so I guess it's a needed dependency (during the build process at least).

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #1 on: 17 October 2010, 21:32:11 »
wx is not required for the game and is not a dependency for the core game itself. Only the tools use it (map editor, g3d viewer and configurator).

Thanks

Gallaecio

  • Guest
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #2 on: 17 October 2010, 22:31:35 »
So I should be able to compile the game without wxgtk package installed in my system just setting WX_AVAILABLE to "no"? Because I think I can't. ;D

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #3 on: 17 October 2010, 23:38:18 »
You're probably trying to build an entire project containing not just the MG binary, but the tools as well. You'll have to compile just the binary if you want to get off without WxWidgets.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #4 on: 18 October 2010, 02:18:39 »
Assuming you built using jam, at the end of the build process you should see glest.bin which is the actual game (regardless of any errors you see during compile time)

Thanks

Gallaecio

  • Guest
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #5 on: 18 October 2010, 05:07:54 »
Is there a way to avoid compiling those tools but yet get no error? Maybe an environment variable or a parameter to the jam command?

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #6 on: 18 October 2010, 05:34:48 »
Not that I know of. This does not stop you from compiling the game and using it. If you want to get rid of the errors install all the dependencies.

Thanks

Gallaecio

  • Guest
Re: Missing dependencies on the docs/readme_linux.txt file
« Reply #7 on: 18 October 2010, 05:47:11 »
I did compile it with wxgtk, just wanted to know the alternatives, thanks :)