CopperSpice Overview  1.5.1

The following is a collection of questions and answers from our CopperSpice users.

Question 1:  I am using CopperSpice 1.5 and there seems to be an issue with the Translation files.

Answer:  If you build a project with CopperSpice 1.4 and have upgraded to CopperSpice 1.5, you will need to force the .QM files in your project to be recreated. The easiest way to do this is by deleting the .QM files. This only needs to be done one time.

The cause of the problem is related to the move from UTF-16 to UTF-8 in QString.

Question 2:  While testing on Windows I would like to have a stdout window. Is there a way to add this?

Answer:  In the Windows Makefile there a flag for -mwindow. To start your application with a console window. Remove the -mwindow from the Makefile to see the stdout text.

Question 3:  When I tried to build KitchenSink UIC reported an error: "error while loading shared libraries: cannot open shared object file: No such file or directory"

Answer:  UIC needs to know where the libCsCore library was installed. Adding the following environment variable solves the library path issues.

export LD_LIBRARY_PATH=~/copperspice-1.5/lib

Question 4:  When I tried to run rcc.exe -help from a command prompt, nothing happened.

Answer:  On Windows, if you run rcc.exe from a bash shell, MSYS is unable to locate the necessary MinGW libraries. If you want to run this from a command prompt you will need to either copy the MinGW libraries into the /c/cs_lib/bin folder, or add them to your path.

Question 5:  Why do I need Autoconf version 1.12.1 or later?

Answer:  Autoconf added built in support for Objective C++ in version 1.12.1. This allowed us to simplify the makefiles for building CopperSpice on Mac OS X.

Version 1.12.2 was released on July 9, 2012 and corrects a security issue.

Question 6:  My Mac OS X system is in 'Pacific Daylight Time' zone. I would like to turn this off and use Pacific Standard Time.

Answer:  Set your location to 'Adamstown, Pitcairn Islands' which will automatically select the 'Pitcairn Time' zone. Then adjust the clock on your Mac to local time.

Question 7:  In the sample Makefile files there is a dependency for install-data-hook. Why did you not use 'install-exec-hook' like in the other Makefiles?

Answer:  A hook is guaranteed to run after its parent or main rule is done. The actions for install-data-hook are guaranteed to run after Automake has completed install-data. Since the variable deploydir does not contain the text 'exec', Automake is treating the action of installing the program as a data rule.