[yoshimi-user] ccmake instruction -- WAS: Re: yoshimi git 20120216 has pitch problem

  • From: jimmy <wg2002a@xxxxxxxxx>
  • To: yoshimi-user@xxxxxxxxxxxxxxxxxxxxx
  • Date: Fri, 17 Feb 2012 07:31:08 -0800 (PST)

On Thu, 16 Feb 2012 23:21 Will J Godfrey <WillGodfrey@mu...> wrote:

When running ccmake . in the src directory you should be able to select
the build option you desire, there should be no need to edit
CMakeLists.txt directly.

What confuses some people is that with ccmake . the very first thing you have
to do is press 'c' to create the default settings. To the uninitiated it looks
as it is giving an error message otherwise!

Both cmake and the configure/make allow for outside-source-tree build.

Follow up on it. How is the following text for appending to the INSTALL file
for buiding/compiling yoshimi:




---- Sample instructions to compile/build using ccmake on Linux ,
outside-source-tree -----

This uses "yoshimi-0.060.12" as an example, should work fine with other
versions. If these instructions fail to work, perhaps new build instructions
should be provided.

Here is to build/compile using ccmake, in separate build directory. This way,
changes to source code can be readily compared without combing through the
build-related files.

Extract source code archive:

mkdir /path/to/workDir/
cd /path/to/workDir/
tar -jxvf /path/to/yoshimi-0.060.12.tar.bz2

now there should be a directory for

/path/to/workDir/yoshimi-0.060.12/

create a separate directory for build, spaces in fileName and directoryName can
be problematic, try to avoid it.

mkdir /path/to/workDir/build.yoshimi-0.060.12/
cd /path/to/workDir/build.yoshimi-0.060.12/
ccmake /path/to/workDir/yoshimi-0.060.12/

"/path/to/workDir/yoshimi-0.060.12/" is the source code directory.
"/path/to/workDir/build.yoshimi-0.060.12/" is now the current working
directory, will have make-related files (when ccmake is done with configuring
and generate the files).

Within ccmake, type 'c' (without the quotes) to generate a default
configuration. Type 'c' again to actually apply the current configuration data
(repeat multiple times if needed), when configuration is complete, there should
be a new option displayed: 'g' to generate (the make-related files) and exit.

So that's 'c', then 'c' again, when by 'g' appears as a choice, type 'g'. The
make-related files are created in the current directory, and ccmake is done.
You are now back at the command line.

Next is to compile (build) the application:

make

When compilation is completed successfully, install it with:

make install

----- /Done/ -----





Other related posts:

  • » [yoshimi-user] ccmake instruction -- WAS: Re: yoshimi git 20120216 has pitch problem - jimmy