Author: frank

XShm.h: No such file or directory 2

XShm.h: No such file or directory

./src/video/x11/SDL_x11dyn.h:45:33: fatal error: X11/extensions/XShm.h: No such file or directory Solution $> sudo apt-get install libxext-dev The following packages have unmet dependencies: libxext-dev : Depends: libxext6 (= 2:1.3.0-3build1) but 2:1.3.0-3ubuntu0.1 is to be installed E:...

warning: jni.h: No such file or directory 0

warning: jni.h: No such file or directory

Problem: Layer_Connections.h:2:17: warning: jni.h: No such file or directory In file included from Layer_Connections.cpp:4: Layer_Connections.h:15: error: ‘JNIEXPORT’ does not name a type Solution: jni.h is part of standard java distribution. Either you don't have...

Find out what package provides a specific file 0

Find out what package provides a specific file

For example you want to install lsb_killproc but do not want to install the whole 100mb-suite of redhat-lsb. Use this command: $> yum whatprovides */lsb_killproc You then figure out that redhat-lsb-core is the more...

error: bp cannot be used in asm here 0

error: bp cannot be used in asm here

  The odds are that you are trying to compile 32-bit assembly code in 64-bit program. The solution is to compile for 32-bit or re-write your assembly for 64-bit. To compile for 32-bit, use...