Hi
I'm trying to compile the Graphics SDK for my BeagleBone Black (OMAP335x). It is a prerequisite to installing this GPU Compositing (http://processors.wiki.ti.com/index.php/GPU_Compositing).
I am trying to install these as I am hoping these together will allow me to have my application use OPENGL to resize it's window to 720p from 800x600, as currently it doesn't resize when I select OPENGL scaling within the app; and when I do select it, my Beaglebone black grinds to a halt and is unusable.
I've checked out Robert Nelsons Kernel source and u-boot source to the following directories (using GIT), respectively. I assume I recompile Roberts kernel once I get through all the below steps for installing the GPU Compositing.
/home/arm/dev/linux-dev
/home/arm/dev/u-boot
I've also downloaded the Graphics SDK to the following directory
/home/arm/dev/Graphics_SDK_4_06_00_03
I've run the following command from /home/arm/dev/Graphics_SDK_4_06_00_03
make BUILD=debug OMAPES=8.x all SUPPORT_XORG=1
and I am getting the following error;
make[2]: Entering directory `/home/arm/dev/linux-dev/KERNEL'
LD /home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
CC [M] /home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c: In function ‘bc_cat_init’:
/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:680:6: error: implicit declaration of function ‘cpu_is_omap3530’ [-Werror=implicit-function-declaration]
/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:680:6: error: implicit declaration of function ‘omap_rev’ [-Werror=implicit-function-declaration]
/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:680:56: error: ‘OMAP3430_REV_ES3_0’ undeclared (first use in this function)
/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:680:56: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[4]: *** [/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 1
make[3]: *** [/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM/services4/3rdparty/bufferclass_ti] Error 2
make[2]: *** [_module_/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM] Error 2
make[2]: Leaving directory `/home/arm/dev/linux-dev/KERNEL'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/arm/dev/Graphics_SDK_4_06_00_03/GFX_Linux_KM'
make: *** [buildkernel] Error 2
I am running this in an ubuntu VM and have edited the Rules file like so;
#Rules.make
################# FIELDS MODIFIABLE BY THE USER ###############################
############### All the fields below are mandatory ############################
# Set home area (ex /home/user/)
HOME=/home/arm
# Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
CSTOOL_DIR=/usr/bin
# Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
CSTOOL_PREFIX=arm-linux-gnueabi-
# Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
KERNEL_INSTALL_DIR=/home/arm/dev/linux-dev/KERNEL
# Set Target filesystem path ( ex /home/user/targetfs )
TARGETFS_INSTALL_DIR=/home/arm/dev/filesys
######################### PRE-DEFINED VARIABLES ###############################
######################## NOT MODIFIABLE BY USER ###############################
# Set installation folder
GRAPHICS_INSTALL_DIR=$(HOME)/dev/Graphics_SDK_4_06_00_03