sebastianbiallas / pearpc

PearPC - PowerPC Architecture Emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error message when configuring: error: Could not find XOpenDisplay in -lX11

djfizz2 opened this issue · comments

the package libxext-dev may be missing in some cases: to add in the example below. Thanks!

Compiling on Linux

On Ubuntu based system

At first you will need GCC and G++ compiler you will need also build-essential and Autoconf Automake
You may need the libxext-dev package as well

sudo apt-get install gcc g++
sudo apt-get install autoconf automake
sudo apt-get install build-essential
sudo apt-get install libxext-dev

Install Lex and Yacc

sudo apt-get install byacc flex

After installing type following commands

./autogen.sh
./configure
make

If no error occurs you will get ppc binary in src directory

Compiling on OS X

On El Capitan 10.11

If you haven't already, install XQuartz.

In Terminal, run the following commands:

./autogen.sh
./configure
make

Install libXext.