Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing build step for linux #8

Open
bedeho opened this issue Aug 29, 2015 · 1 comment
Open

Missing build step for linux #8

bedeho opened this issue Aug 29, 2015 · 1 comment

Comments

@bedeho
Copy link

bedeho commented Aug 29, 2015

In explanation of how to setup build environment on linux (master/docs/linux-build-environment),
before 7) "Build qrencode QR Code C library (libqrencode) for linux", one must install libpng, e.g. using sudo apt-get install libpng-dev

@fansari
Copy link

fansari commented Dec 25, 2015

I had to do the following steps to build for Linux:

Downgrade gcc to 5.1.1 in order to install odb.

The DB was not recognized unless I do something like this:
ln -s /usr/lib64/libodb-sqlite.so /usr/local/lib/libodb-sqlite.so

In order to link the application I had to add the -fPIC option to the C_FLAGS and CXX_FLAGS in c_flags.mk and cxx_flags.mk in the deps/mk directory.

Version: afc6cf2
System: Fedora 23 (x86_64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants