Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory #2

Open
jumph4x opened this issue Jun 5, 2013 · 2 comments

Comments

@jumph4x
Copy link

jumph4x commented Jun 5, 2013

Hey fellas,

My setup:

  • RPi Model B 512
  • Composite out
  • RetroPie 1.5

My steps

got clone x
cd x
./MAC_ConfigureDISPMANX.sh
make && sudo make install

My problem:

/bin/bash ./libtool --mode=compile gcc -g -O2  -I./include -D_GNU_SOURCE=1 -fvisibility=hidden  -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/dispmanx/SDL_fbevents.c  -o build/SDL_fbevents.lo
libtool: compile:  gcc -g -O2 -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/dispmanx/SDL_fbevents.c  -fPIC -DPIC -o build/.libs/SDL_fbevents.o
In file included from /opt/vc/include/bcm_host.h:50:0,
                 from ./src/video/dispmanx/SDL_fbvideo.h:18,
                 from ./src/video/dispmanx/SDL_fbevents.c:35:
/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory
compilation terminated.
make: *** [build/SDL_fbevents.lo] Error 1
@jumph4x
Copy link
Author

jumph4x commented Jun 5, 2013

The solution is here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=25146&start=25

export CFLAGS="-I/opt/vc/include/interface/vmcs_host/linux"

@AndrewFromMelbourne
Copy link
Contributor

Hi I have created a pull request to update 'configure' with the extra include path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants