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.

meet a problem when build training cources for am335x-evm

Hi,

I have successfully installed Graphics_SDK_4_06_00_01 from the SD card and builded Graphics SDK demos. The executable files run well on the board.

Then I build training course examples following the guide http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide.

set as follows:

 cd /home/user/Graphics_SDK_4_06_00_01/GFX_Linux_SDK/OGLES2/SDKPackage/TrainingCourse/AlphaBlend/OGLES2/Build/LinuxGeneric/

export LIBDIR=/home/user/Graphics_SDK_4_06_00_01/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Lib/ (or  ../OGLES2/LinuxARMV7/Lib)

make PLATFORM=LinuxARMV7

problem:

/usr/bin/ld: skipping incompatible /home/user/Graphics_SDK_4_06_00_01/GFX_Linux_SDK/OGLES2/SDKPackage/Tools/OGLES2/Build/LinuxGeneric/../LinuxARMV7/ReleaseRaw/libogles2tools.a when searching for -logles2tools

 /usr/bin/ld: cannot find -logles2tools collect2: ld returned 1 exit status make: *** [../LinuxARMV7/ReleaseRaw/OGLES2AlphaBlend] Error 1

So the key point is -logles2tools? I have found libogles2tools.a in /home/user/Graphics_SDK_4_06_00_01/GFX_Linux_SDK/OGLES2/SDKPackage/Tools/OGLES2/Build/LinuxARMV7/ReleaseRaw. How should I configure for this tool to make ?  Add this to lib path?

Need your help.

 

 

 

 

 

 

  • When I only build one demo, it gets the same problem. But if I use "make BUILD=release OMAPES=8.x all", it runs well.

    Why? Anyone here?

  • Does anyone meet the problem when building training courses?

    I have got one way to solve it. But it seems to be stupid. That is: copy training courses to demos, then add path to top-level Makefile for support, finally use "make BUILD=release OMAPES=8.x" to make.

    I'm not sure whether it makes the right executable files. There must be another better way to solve " /usr/bin/ld: cannot find -logles2tools " problem.

    Best Regards,

    Abel.