Hi Pete,

I am using the M2 src release. Here's what happens if I try to build
SCA at the command line - the ant part goes fine, but then I get what
you see below. SCA C++ itself builds in VC++ express, but the
calculator sample doesn't. See my post from about an hour ago called
"building C++ under windows" for the detailed build output from those
anbd what blows up.

any ideas?

thanks!
Judah

cmd line output:

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

Warning: cannot find "Build.dep"
       cd "..\tuscany_sca_ruby"
       "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /
         /F .\tuscany_sca_ruby.mak CFG="tuscany_sca_ruby - Win32 Release"

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

Warning: cannot find "tuscany_sca_ruby.dep"
       cd "..\tuscany_sca"
       "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /
         /F .\tuscany_sca.mak CFG="tuscany_sca - Win32 Release"

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

Warning: cannot find "tuscany_sca.dep"
       cl.exe /nologo /MD /W3 /GX /O2 /I "../../../runtime/core/src" /I "C:\jud
ah\work\tools\tuscany_sdo_cpp-1.0-incubator-M2-bin/include" /I "C:\judah\work\to
ols\axis2c-bin-0.94-win32/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBC
S" /D "_USRDLL" /D "SCA_EXPORTS" /Fo".\Release\\" /Fd".\Release\\" /FD /c ..\..\
..\runtime\core\src\tuscany\sca\core\Operation.cpp
cl : Command line warning D9035 : option 'GX' has been deprecated and will be re
moved in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
Operation.cpp
../../../runtime/core/src\tuscany/sca/util/Library.h(27) : fatal error C1083: Ca
nnot open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.


On 11/8/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
Hi Judah.

Are you using the latest Head version from  svn or M2 source release? Please
let us know what problem you are hitting when building the samples.

On 08/11/06, Judah Diament <[EMAIL PROTECTED]> wrote:
>
> I am also trying to build under VC++ Express - here's what I have so
> far. I can build SCA C++, but can't get the samples to build. Please
> let me know if you get the samples built and how you did it!
>
> -Judah
>
>   1.  Go to http://incubator.apache.org/tuscany/cpp_sca_overview.html,
> and follow the link to "Getting Started - SCA C++"
>   2. Follow the links/instructions there under "System Requirements"
> to install the binaries of Axis2C and Tuscany SDO for C++
>   3. Go to http://msdn.microsoft.com/vstudio/express/ and download a&
> install Visual C++ 2005 Express Edition
>   4. Go to
> 
http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
> and install Microsoft (r) Windows Server(r) 2003 R2 Platform SDK Web
> Install
>   5. Follow the instructions at
> http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx
> - "Using Visual C++ 2005 Express Edition with the Microsoft Platform
> SDK"
>   6. Return to
> http://incubator.apache.org/tuscany/cpp_sca_overview.html and proceed
> to follow the instructions under "Getting Tuscany SCA for C++ working
> with the source release on Windows". Until step #5.
>   7. When you get to step 5, DO NOT try to build it at the command
> line. Open Visual C++, go to File -> Open -> Project/Solution and open
> tuscany_sca_cpp-
> 1.0-incubator-M2-src\projectsvc7\tuscany_sca\tuscany_sca.sln
> . Use the visual studio conversion wizard to convert this project to
> the newer visual studio format.


Did you try building using the command line? I think it should work.

  8. build the solution in Visual Studio
>
>
> On 11/8/06, ant elder <[EMAIL PROTECTED]> wrote:
> > On 11/8/06, Andrew Borley <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi everyone,
> > >
> > > Now M2 is finally available, we should start thinking about what we'd
> > > like to do next in Tuscany C++. There were quite a few items that were
> > > suggested for M2 that we ended up leaving out for time reasons and it
> > > would be good to progress the function we have in M2.
> > >
> > > Things I would like to do/see:
> > > - Add initial support for SDO handling in the Python extension (as an
> > > XML serialization)
> > > - Remove requirement for componentType side-files for Python
> components
> > > - Get the PHP extension up to the level of the Ruby/Python extensions
> > > - perhaps by using the SCA for PHP stuff
> > > (http://www.osoa.org/display/PHP/SCA+with+PHP)
> > > - Improve the samples for the scripting languages (nebulous! does
> > > anyone have any good ideas?)
> > > - A sample showing the different languages working together.
> > > - A standalone REST binding - we can do a limited REST via the
> > > support in Axis2C, but I think it would be cool to have a real
> > > binding.rest that we can host in HTTPD.
> > >
> > > Please join in with your own thoughts/plans!
> > >
> > > Cheers
> > >
> > > Andy
> >
> >
> > I'd like to give you a JavaScript extension supporting E4X. In fact I
> just
> > downloaded MS Visual Studio express this morning with that in mind (can
> i
> > used this to build everything on Windows?). No idea if it will happen as
> its
> > been years since I did anything with C++. Expect to see a few newbie how
> to
> > build type questions ...
> >
> >     ...ant
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Pete



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to