sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.52k stars 208 forks source link

Compilation Help #149

Closed AM7999 closed 2 years ago

AM7999 commented 2 years ago

When trying to compile pcem i get the following cmake error image

Any help would be nice

michael-manley commented 2 years ago

You are missing a ton of information to even remotely get help. Should have least used the template.

I need to at LEAST know what OS this is on. But from what it seems, you are missing wxWidgets.

AM7999 commented 2 years ago

I Am using Arch Linux ARM on a Nintendo Switch

andreyfedoseev commented 2 years ago

@AM7999

You need to install wxWidgets library with development headers. I'm not sure how to do it in Arch, but in Ubuntu 22.04 the required packages are:

libsdl2-dev
libopenal-dev
libwxgtk3.0-gtk3-dev
libpcap-dev (optional, to enable networking)
AM7999 commented 2 years ago

Alright then

AM7999 commented 2 years ago

i know that this issue is already decently old now but it seems as if the package wxgtk3 (though it may not contain the libs) is already pre-installed on my machine

AM7999 commented 2 years ago

After fully installing wxWidgets and starting to compile pcem i get the following error

[1/321] Generating wx-ui/wx-resources.cpp FAILED: src/wx-ui/wx-resources.cpp /home/alarm/pcem/src/wx-ui/wx-resources.cpp cd /home/alarm/pcem/src && wxrc -c /home/alarm/pcem/src/wx-ui/pc.xrc -o /home/alarm/pcem/src/wx-ui/wx-resources.cpp wxrc: error while loading shared libraries: libwx_baseu_xml-3.1.so.6: cannot open shared object file: No such file or directory ninja: build stopped: subcommand failed.

michael-manley commented 2 years ago

If you want any more help on this, please take it to the forum @ https://pcem-emulator.co.uk/phpBB3/viewforum.php?f=3

GitHub is for bug reports, and development tasks, not how to build PCem questions.