File: README.txt

package info (click to toggle)
pigment 0.3.6-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,060 kB
  • ctags: 7,318
  • sloc: ansic: 34,269; xml: 11,990; sh: 9,155; makefile: 560; perl: 383
file content (27 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Building Pigment on Win32
-------------------------

First you obviously need developer packages for the compile-time
dependencies: GLib, GdkPixbuf, GStreamer, etc. You can get pre-built
Win32 packages of those libraries at
http://www.gimp.org/~tml/gimp/win32/downloads.html.

There are two project files for Microsoft Visual Studio 6 and 9
respectively in the win32/vs6 and win32/vs9 directories. Each
directories contain project files to launch the graphical environment
but also makefiles so that it is possible to batch builds from the
command line.

You should be aware that MSVC6 is using the C runtime called
msvcrt.dll (as well as MinGW) which is installed by default on all
Windows versions, but recent MSVC (> 6) are not using that runtime
anymore. The new runtimes are distributed with MSVC and should be
provided in software distribution packages. The pre-built GLib and its
dependencies on Win32 are using the msvcrt.dll runtime, so you need to
build all the dependencies with MSVC9 yourself.

The problem is that programs must avoid using the different runtimes
at the same time. GLib event-based MainLoop is basically doing polling
on file descriptors, since on Win32 file descriptors are local to the
runtimes, a file descriptor created with a runtime cannot be used by
another one.