SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

aPcStudio-Cygwin-HOWTO

To compile aPcStudio under Windows using the cygwin environment and compiler tools, follow these steps:

A - Cygwin:

A.1 get and install cygwin from www.cygwin.com A.2 Install gcc, bash, zlib, jpeg, png2

B - FLTK

B.1 get and install the latest fltk-1.1.0

from http://www.fltk.org
B.2 unzip fltk (e.g. to c:/fltk-1.1.0b11) B.3 configure fltk from within a cygwin bash

'sh ./configure --enable-cygwin --enable-threads' B.4 compile fltk by doing a 'make'

C - SndObj

(not included, yet)

D - aPcStudio

D.1 adjust the Makefile (OS=cygwin,SND_DRIVER=SNDOBJ) D.2 adjust the makeinclude.cygwin to the path of your

fltk (see B) and sndobj (see C)
D.3 compile aPcStudio within a cygwin bash using 'make'

This produces the executable 'apcstudio.exe'. D.4 If you want to start aPcStudio outside a cygwin

      bash, copy cygwin2.dll/cygpng2.dll/cygz.dll and the
      cygjpegXX.dll to the directory, where the executable 
      is. These files can be found in '/bin', when you
      are in a bash.
  D.5 To get rid of the console window when starting
      aPcStudio, add '-mwindows' to the link line in
      makeinclude.cygwin and re-link it.
  D.6 To get debug-info, remove '-mwindows' from the
      linkline mentioned above. Then start aPcStudio with
      commandline option '-d 65535' .
NOTE
  • I had a problem when compiling fltk with option --enable-cygwin, because a win32api - includefile had an ambigious definition of INT32. I solved this by changing 'typedef int INT32' to 'typedef long \ int INT32' in that file. This seems to be a cygwin bug, but it does no harm. If you get the error, too, just read the error message to see, what file it is (I forgot it) and do the same thing.
  • All versions <= 0.6.1 cannot play or record sound on windows. They are actually just for linux, even if they are compilable on windows. The working windows version is the one that comes after 0.6.1 and has SndObj support.

Questions about aPcStudio on Linux and on Cygwin:

Martin.Henne@web.de

Questions about aPcStudio using VisualC++:

Olivier.Meunier@inria.fr


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.