3 *** there are some issues with the use of popen+cat and popen+m4 for
4 *** reading files and libraries which still need to be addressed
5 *** before PCB for windows will be usable. These should be simple
6 *** fixes whenever someone has time. The core program seems to
9 Yes, PCB runs on windows too! To build from source, you need cygwin
10 and also the mingw compilers. It builds as a native WIN32 application.
11 The configure script is set up to assume that you are using the native
12 win32 gtk libraries as opposed to the cygwin ones. One method which
13 seems to work for building from source is:
15 - Go to http://www.gtk.org and follow links to gtk for win32.
17 - Download the runtime and developer .zip files for glib, atk, pango,
18 gtk+, gettext, libiconv, and pkg-config.
24 and extract the zip files into that directory.
26 mkdir ~/gtk_win32_runtime
28 and extract only the runtime zip files into that directory.
30 - Make sure the dll's have the correct permissions
32 find ~/gtk_win32 -name \*.dll -exec chmod a+x {} \;
33 find ~/gtk_win32_runtime -name \*.dll -exec chmod a+x {} \;
40 The file win32/build_pcb in the PCB distribution shows how
41 I managed to build the win32 version and the windows installer.
43 If you have the normal cygwin and cygwin for X gtk libraries installed
44 you will have problems. It is related to libtool changing things like
45 -L/path/to/nativewin32gtk -lgtk to /usr/lib/libgtk-2.0.a. Watch when
46 PCB.exe in gtk-PCB/ is actually linked and you'll see it happen.
47 An ugly work around is to just modify the Makefile to not use libtool
48 for linking or to run the link command by hand. But that is ugly.
49 Anyone with a real fix? I worked around this by not installing the
50 X gtk libraries on my cygwin installation.
54 The installer was created using NSIS (http://nsis.sourceforge.net).
55 Many thanks to Bob Paddock for pointing me towards NSIS and answering
56 some naive questions about windows.
58 The pcb.nsi file in the win32 directory was used to build the
59 installer. Note, pcb.nsi is actually created from pcb.nsi.in
60 by build_pcb in the win32 directory. There are still a few
61 things which aren't automatically done since some paths on your
62 system need to go into build_pcb. Once you edit the top part
63 of build_pcb, it should complete everything else.