Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

CT 5, RasspberryPi, Bass library and Linux Mint 9 years 5 months ago #6307

  • Panagiotis Freris
  • Panagiotis Freris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 1
I write this article to help other developers, who have the same problem as me.

I tried to compile a program for the Raspberry PI on Linux Mint 16 KDE 32 bit.

This program uses the Bass library (libbass.so).

When I had the version CT 4.7, I had no problem.
When I upgraded to CT 5.10, was not to compile.
However, I can compile other programs (without to use Bass libraries), without problems (for ARM) under the instructions of Mr. Sternas.

I tried about 3 days, and there was nothing. Finally, i found the solution, and I did the following settings:

1. Full uninstall CT 5.10
2. Install CT 5.10 again (option 0, setup)
3. Updating system libraries (option 0, setup)
4. Build IDE Remove & build All - Option 8

******************CT setup********************
5. CT Center -> CrossBuild -> Download Toolchains -> lin32-arm-linux-RaspberryPi
6. CT Center -> CroosBuild -> FreePascal 32bits -> FPC32 build lin32-arm-linux-RaspberryPi
7. CT Center -> Download libraries -> arm-linux-Raspbian.7z

***************Mount toolchain*****************
8. CT Center -> Toolchain builder -> arm-linux | arm | Linux, and build.

***************Libraries etc setup*************
9. For bass library, add libbass.so to /usr/lib folder (libbass.so for Linux I386 Version - Warning!)
10.Also add to program folder (libbass.so for Linux ARM Version - Warning!)

***************Paths, etc**********************
11.Add to library path -> /usr/lib/codetyphon/binLibraries/arm-linux-Raspbian/
12.Select from -> Target -> Linux> Arm> All versions except ARMV7 (Not works)
13.Add custom option - nogui, for no GUI apps or gtk2 for GUI apps.

I hope, that is useful for someone. Again many many thanks to Stefanos.

Greetings from Athens - Greece....

Please Log in or Create an account to join the conversation.

Last edit: by Panagiotis Freris.

CT 5, RasspberryPi, Bass library and Linux Mint 9 years 5 months ago #6308

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
My Suggestion
after lin32-arm-linux-RaspberryPi building

simple add the ARM bass library (libbass.so) to /usr/lib/codetyphon/binLibraries/arm-linux-Raspbian/
and build your arm application

Get ARM-Linux bass from here
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Panagiotis Freris

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

CT 5, RasspberryPi, Bass library and Linux Mint 9 years 5 months ago #6314

  • Panagiotis Freris
  • Panagiotis Freris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 1
Yes Mr Sternas, already all is ok now. Thanks for your suggestion.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1