Raspberry PI cross building native (C/C++) graphical applications from Windows

Developing and testing C and C++ applications for the Raspberry can be inconvenient because of slow builds, so it is usually far more interesting to be able to develop in your own box, then just do the final checks in the target platform, in this case the Raspberry PI.

raspberry pi ++

This article shows how to develop an OpenGL based application (using the GLFW library), that will be first built and run in the desktop, then cross-built to the RaspberryPI, using biicode hooks and toolchains features to easily automate the process.

Continue reading

OpenSSL is now available in biicode!

The OpenSSL Project is an implementation of the SSL and TLS protocols written in C. It has multiple cipher algorithms (AES, Blowfish, Camellia…), cryptographic hash functions (MD5, SHA-1, SHA-2…) and public-key cryptography support.
It was born in 1998 and today about 66% of internet servers are using OpenSSL.

Secure connections can now be used from C/C++ source code with biicode and OpenSSL

 

UPDATE! [10-Feb-2015] OpenSSL last version 1.0.2 is ready on biicode!  We created a block track lasote/openssl(v1.0.2).
Remeber, you can switch between v1.0.1 and v1.0.2 just changing the requirements line in biicode.conf file.

Continue reading

Unleash your Arduino projects

For months, we’ve been posting tutorials to unleash your Arduino projects and provide all C++ power to Arduino projects with multiple classes and files. But not until we were on a workshop for newbies, we realized we have been missing the basics on how to use biicode to program your arduino.

So let’s get started, Biicode is a client interface aplication (CLI)  and to use it open the Terminal of your computer.

Arduino projects easily setup in biicode

biicode technology gives you several advantages to richen your Arduino experience:

  • Save your project in different folders for a better organization.
  • Reuse yours and other user´s code. Reuse made easy: just #include the file you need and you get it. No more copy and paste files from project to project or dowloading zip files from tutorials.
  • This is a simple and fast way to compile and upload your code to your Arduino.
  • Use your favorite IDE or text editor, we also provide Eclipse integration.
  • We are hosting adafruit, sparkfun and many other libraries, you won’t need to download and install libraries in your SDK anymore.

Continue reading

CMake Tutorial to build better biicode projects

Biicode is a C and C++ dependency manager. And uses CMake to configure and build your projects. Hope there are no surprises here!

This post is a CMake Tutorial to understand the basics of generating biicode projects for your usual tools and some tips to make projects multi-os compatible via CMakeLists.txt.

Custom CMake toolchain is now a feature in biicode

Continue reading

How to upload to biicode. Example 4: Oscpack by Ross Bencina

Updated for biicode 2.0!

As the headline states, this is the fourth example about how to upload libraries to biicode.  If you’ve done this kind of thing before, keep reading, we’ll explain how to upload Oscpack lib. Otherwise, you may be interested on reading first any previous articles of the series:

Continue reading

Multiplatform Arcade Game in 6 steps with SDL and OpenGL

Biicode already has the first adaptations of libraries like SDL, glui or freeglut, which standardize the access to the windows system. With a little bit of design, and aiming to simplify the life of the programmer, I designed some classes that can be very useful for simple 2D games. The following images are screenshots of two examples included in examples/game_utils. The second one corresponds to the shooting game application we’ll develop in this mini-tutorial:

game_test_SDL

Continue reading