You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bernd Zeimetz 19fbc08405 Updating changelog 5 yıl önce
debian Updating changelog 5 yıl önce
docs Imported Upstream version 0.4.2 6 yıl önce
examples Imported Upstream version 0.4.2 6 yıl önce
lqr Imported Upstream version 0.4.2 6 yıl önce
man Imported Upstream version 0.4.2 6 yıl önce
AUTHORS Initial release 11 yıl önce
BUGS Initial release 11 yıl önce
COPYING Initial release 11 yıl önce
COPYING.LESSER Initial release 11 yıl önce
ChangeLog Imported Upstream version 0.4.1 10 yıl önce
INSTALL Initial release 11 yıl önce
Makefile.am Imported Upstream version 0.4.0 10 yıl önce
Makefile.in Imported Upstream version 0.4.2 6 yıl önce
NEWS Imported Upstream version 0.4.0 10 yıl önce
README Imported Upstream version 0.4.1 10 yıl önce
README.Windows Imported Upstream version 0.4.2 6 yıl önce
TODO Imported Upstream version 0.2.0 11 yıl önce
aclocal.m4 Imported Upstream version 0.4.2 6 yıl önce
autogen.sh Imported Upstream version 0.4.0 10 yıl önce
config.guess Imported Upstream version 0.4.2 6 yıl önce
config.h.in Imported Upstream version 0.4.2 6 yıl önce
config.sub Imported Upstream version 0.4.2 6 yıl önce
configure Imported Upstream version 0.4.2 6 yıl önce
configure.ac Imported Upstream version 0.4.2 6 yıl önce
depcomp Initial release 11 yıl önce
install-sh Imported Upstream version 0.4.2 6 yıl önce
lqr-1.pc.in Initial release 11 yıl önce
ltmain.sh Imported Upstream version 0.4.2 6 yıl önce
missing Initial release 11 yıl önce
mkinstalldirs Initial release 11 yıl önce

README.Windows

Compiling the library in Windows
================================

DISCLAIMER: these notes are not very reliable, as they're
based on some very simple tests, without much knowledge of
the Windows operating system.

1) Using MinGW/MSYS

Everything goes as in standard *nix systems (you should
probably change the default installation location with the
--prefix option in `configure').
With the default options, the `configure' sctipt produces a
DLL. If you want to build a static library, you should pass the
options --disable-shared and --disable-declspec to
`configure', and make sure you define the preprocessor
LQR_DISABLE_DECLSPEC whenever you want to compile/link
against the static library.

2) Using MS Visual C++

The library compiles with `Microsoft Visual C++ 2008 Express
edition' and `Microsoft Visual C++ 2010 Express Edition'.
Follow these steps:

a) Create a new project (suggested name: `liblqr-1-0')

*) In the 2008 edition, create an empty DLL project with
the default setup (choose Console Application then
Advanced Settings -> DLL + Empty Project). The
suggested name is liblr-1-0

*) In the 2010 edition, choose Empty project

b) Copy the `lqr' directory in the project directory you
have created

c) Add all the source files within the `lqr' directory to
the project (right-click -> Add -> Existing item...)

d) Go to Project -> Properties in the menu. This opens a
dialog. At the top, set "Configuration:" to "All
Configurations". Then, go to "Configuration Properties"
and set the options as follows:

*) [2010 edition only] General -> Configuration Type:
Dynamic Library

*) C/C++ -> General -> Additional Include Directories:
add the directory `lqr' and its parent, and also the
directory where all the necessary glib-2.0 headers are
found (usually, there are 2 of those, one ends with
`include\glib-2.0', another with
`lib\glib-2.0\include')

*) C/C++ -> Preprocessor -> Preprocessor Definitions: add
LQR_EXPORTS to the list

*) C/C++ -> Advanced -> Compile As: Compile as C Code (it
also works otherwise, but this option seems to make
sense given that the library is ANSI C)

*) Linker -> General -> Version: set version number

*) Linker -> General -> Additional Library Directories:
add the directory where glib-2.0.lib is found

*) Linker -> Input -> Additional Dependencies: add
glib-2.0.lib

When you build the project, it should produce the library
liblqr-1-0.lib and liblqr-1-0.dll files (assuming your
project is called `liblqr-1-0').