Why are you trying to build STAF yourself on Windows? Why don't you just
download the already available installer file for Windows (e.g.
STAFV330-setup-win32.exe) via http://staf.sourceforge.net/getcurrent.php
and use it to install STAF?
If you really do need to build STAF yourself on Windows for some reason
then you need to follow the instructions in the STAF Developer's Guide at
http://staf.sourceforge.net/current/stafdg.html. For example, it says to
set CC_TYPE to MVC6 if using Microsoft Visual C++ 6 or to MVC7 if using
Microsoft Visual C++7, or to MVC-SDK-IA64. However, you haven't set this
variable. Also, this document says that if the directory where you
installed your compiler contains spaces, you must use the short name
instead (e.g. C:/PROGRA~1/MICROS~1 instead of C:/Program Files/Microsoft
Visual Studio) in the values you set for MSVCDIR, VSCOMMONDIR, and
MSSDKDIR. So, you didn't follow those instructions either correctly.
Also, see the makefile for the Windows compilers at
src/staf/build/makefile.mvc. It provides more detailed information about
the variables you need to set. It appears that you're using Microsoft
Visual 8 which is not a compiler that these makefiles have been tested
with. File makefile.mvc says:
# WARNING: These makefiles have only been tested with MS VC++ 98 (also
# known as MS Studio 6.0), MS VC++ V7 (also known as
# MS Visual Studio.NET 2003), and the IA64 compiler which is part
of
# the February 2003 MS Platform SDK). Other versions may require
# significant changes.
# WARNING: STAF will not build on Win9x/Me.
# To define the compiler that you are using, set the CC_TYPE variable.
Valid
# values are MVC6, MVC7, MVC8-X64, and MVC-SDK-IA64. The default
specified in
# the win32 platform makefile is MVC6.
# These variables define the locations where MS VC++ files are installed.
# Typically you only need to define one variable
#
# MSVCDIR = where MS VC++ is installed
#
# For example,
#
# export VSCOMMONDIR=d:/MVStudio/Common
# export MSVCDIR=d:/MVStudio
#
# Note: If the directory names have spaces in them, you should use the ~
# format. For example, use d:/MICROS~1 not "d:/Microsoft Visual
Studio".
#
# If you have a non-typcial installation you might also need to specify
one
# other variable
#
# VSCOMMONDIR = where the common visual studio components are installed
#
# For example,
#
# export VSCOMMONDIR=d:/MVStudio/Common
#
# Alternatively you can specify VSCOMMONDIR_cyg in place of VSCOMMONDIR
and/or
# MSVCDIR_cyg in place of MSVCDIR. The _cyg versions of these variables
# should be defined in cygwin style syntax. For example
#
# export MSVCDIR_cyg=/cygdrive/d/MVStudio
# export VSCOMMONDIR_cyg=/cygdrive/d/MVStudio/Common
#
# If you are using the IA-64 compiler, then you don't need to set the
MSVCDIR.
# Instead, you should set the MSSDKDIR, which points to the location in
which
# you installed the MS Platform SDK
#
# For example,
#
# export MSSDKDIR=d:/MicrosoftSDK
--------------------------------------------------------------
Sharon Lucas
IBM Austin, [EMAIL PROTECTED]
(512) 838-8347 or Tieline 678-8347
"adheer chandravanshi" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08/14/2008 06:28 AM
To
[email protected]
cc
Subject
[staf-users] Building STAF on Cygwin -- Please discard previous post
Hi All,
I am a newbie to STAF and also to Cygwin.
I want to build STAF over Cygwin.
I have gone through STAF documentation but there are no clear
instructions to install STAF on cygwin.
I tried building it from source
I have set following environment variables :
export PROJECTS="staf connprov*"
export OS_NAME=win32
export BUILD_TYPE=retail
export MSVCDIR=/cygdrive/c/Program Files/Microsoft Visual 8/VC
export VSCOMMONDIR=/cygdrive/c/Program Files/Microsoft Visual
8/Common7
export MSSDKDIR=/cygdrive/c/Program Files/Microsoft Visual 8/SDK
export STAF_USE_IPV6=
export STAF_USE_SSL=
but when i do make i get following error.
$ make
*** Compiling ucm2bin.obj ***
/bin/sh: cl: command not found
make: ***
[/home/adheer/FSAF/STAF/obj/win32/staf/retail/codepage/ucm2bin.obj]
Error 127
Kindly help me in this regard.
Thanks,
adheer
--
Adheer
"There's no way to happiness;happiness is the way"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users