sebastianbiallas / pearpc

PearPC - PowerPC Architecture Emulator
GNU General Public License v2.0
389 stars 70 forks source link

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

Open djfizz2 opened 7 years ago

djfizz2 commented 7 years ago

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
puellanivis commented 4 years ago

Install libXext.