i am new to programming as well as graphics development......can any one help me out in writing make files and building the training course examples............i dont know how to work with them.........thank in advance..........
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
i am new to programming as well as graphics development......can any one help me out in writing make files and building the training course examples............i dont know how to work with them.........thank in advance..........
Did you refer to the TrainingCourse examples in the SGX Graphics SDK ? Can you be specific as to what issues you faced ?
You can refer to below page, if you referred to SGX Graphics SDK, adjusting for your path.
i am trying to build the training examples. there was no problem in building the Initialization and the hellotriangle with the simple make file i had written. but with the introducingpvrshell example i am unable to build. this is the make file i using
all:main
LIBS:=-lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lX11 -lPVRScopeServices -lpvrPVR2D_X11WSEGL -lpvrPVR2D_LINUXFBWSEGL -lpvrPVR2D_FRONTWSEGL -lpvrPVR2D_FLIPWSEGL -lpvrPVR2D_BLITWSEGL -lpvr2d
INCLUDE_DIR:=-I/home/XXX/OMAP/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include -I/home/ XXX/OMAP/Toolchain/arm-2007q1/arm-none-linux-gnueabi/libc/usr/include -I/home/ XXX/OMAP/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_SDK/OGLES2/SDKPackage/Shell
LIB_DIR:=-L/home/ XXX/OMAP/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/lib -L/home/ XXX/OMAP/Toolchain/arm-2007q1/arm-none-linux-gnueabi/libc/usr/lib
CPP=arm-none-linux-gnueabi-g++
main: main.o
$(CPP) $(INCLUDE_DIR) $(LIB_DIR) $(LIBS) main.o -o main
main.o: main.cpp /home/XXX/OMAP/OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_SDK/OGLES2/SDKPackage/Shell/PVRShell.cpp
$(CPP) -c $(INCLUDE_DIR) $(LIB_DIR) $(LIBS) main.cpp -o main.o
clean:
rm -rf *.o main
(a) The makefile is not proper and (b) does not build and link the required files.
Please refer to make_demo.mak in the GFX_Linux_SDK for the files required to be built, and refer to below for building and linking the required files the correct way in a makefile
http://forum.codecall.net/linux-tutorials-guides-tips/17681-linux-makefile-tutorial.html