Thanks!  I moved by build up to the top level directory (and the overall
project to the root dir of my machine) and while I'm getting much closer I
still get one error.  Here is the relevant error from the build output:

4>  Building Java objects for proton-api.jar
3>  Generating protocol.h
4>  javac: file not found:
C:\qpid-proton-0.4\proton-j\proton-api\src\main\java\org\apache\qpi\proton\driver\Connector.java
4>  Usage: javac <options> <source files>
4>  use -help for a list of possible options
4>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5):
error MSB6006: "cmd.exe" exited with code 2.

I noticed that the directory mentioned on the 3rd line is "qpi" not
"qpid"...

Thanks,
Paul

On Fri, Feb 22, 2013 at 1:55 AM, Cliff Jansen <[email protected]> wrote:

> Hi Paul,
>
> Thanks for that.  I get similar errors building as you do.  Note that
> the directory structure changed in 0.4 for the JNI work.  Your build
> directory should be under qpid-proton-0.4 (not under proton-c).  The
> result is that you picked up the wrong CMakeLists.txt file to start
> from.  I opened proton-248 to give you a decent error for this in
> future.
>
> Hopefully, if you build pointing to the correct top level cmake config
> file, you will have a working build.
>
> If you have swig installed, cmake isn't finding it.  See the swig
> related comments in the top level README file.
>
> Thank you for the feedback.
>
> Cliff
>
> On Thu, Feb 21, 2013 at 7:18 PM, Paul O'Fallon <[email protected]>
> wrote:
> > Sure -- here you go!  This is what I get when building 0.4 RC2 on
> Windows 8
> > 64-bit with Visual Studio 2012:
> >
> > https://gist.github.com/pofallon/6666fd31e05971442bc5
> >
> > (This has both the CMAKE output as well as the Visual Studio build
> output)
> >
> > Thanks,
> > Paul
> >
> > On Thu, Feb 21, 2013 at 1:12 PM, Rafael Schloming <[email protected]>
> wrote:
> >
> >> Please follow up. It should work on at least some versions of windows
> and
> >> if even if we don't hit them all for 0.4 it will be good input for 0.5.
> ;-)
> >>
> >> --Rafael
> >>
> >> On Thu, Feb 21, 2013 at 9:55 AM, Paul O'Fallon <[email protected]
> >> >wrote:
> >>
> >> > Hello.  Should the RC2 build work on Windows w/o any changes?  I
> tried it
> >> > on Win8 / VS 2011 and got a warning from cmake and VS errors in the
> build
> >> > process.  I wasn't going to bother reporting them until I saw the
> below
> >> > note about win7 and vs2008.  If it *should* work on Windows, I'll
> >> follow-up
> >> > with more details about my issues (but didn't want to get in the way
> if
> >> > that's not a part of 0.4).
> >> >
> >> > Thanks,
> >> > Paul
> >> >
> >> > On Wed, Feb 20, 2013 at 4:57 PM, Cliff Jansen <[email protected]>
> >> > wrote:
> >> >
> >> > > Looks good.  Build and ctest success on rhel6 64 bit.
> >> > >
> >> > > Successful build and expected ctest results on Windows 7 and VS2008.
> >> > >
> >> > > Cliff
> >> > >
> >> > > On Wed, Feb 20, 2013 at 3:31 PM, Rafael Schloming <[email protected]
> >
> >> > > wrote:
> >> > > > Source posted here:
> >> > > >   - http://people.apache.org/~rhs/qpid-proton-0.4rc2/
> >> > > >
> >> > > > Java binaries here:
> >> > > >   -
> >> > >
> https://repository.apache.org/content/repositories/orgapacheqpid-280/
> >> > > >
> >> > > > I'd like to call an official vote soon, e.g. tomorrow, so please
> >> have a
> >> > > > look and share your results here.
> >> > > >
> >> > > > Changes from RC1:
> >> > > >
> >> > > > PROTON-199: support python 2.4
> >> > > > PROTON-236 freegetopt compat for proton-c windows builds.
> >> > > > PROTON-243: fixed LIB_SUFFIX magic
> >> > > > PROTON-200: maintain a minimum credit level for each receive link
> >> > > > PROTON-200: make similar changes to Java MessengerImpl
> >> > > > PROTON-200: allow recv(-1) to grant unlimited credit
> >> > > > PROTON-232: described arrays seem to force the descriptor to be of
> >> the
> >> > > same
> >> > > > type as the array Fixed bug in code.c pn_data_encode_node: was
> always
> >> > > using
> >> > > > the parent->type for everything inside an array, including the
> >> > > descriptor.
> >> > > > PROTON-242: Shared library used JNI code has poor name
> >> > > "libproton-swig.so"
> >> > > > Shared library now has name libproton-jni.so i.e. follows the
> naming
> >> > > > conventions of its companion jar.
> >> > > > PROTON-217: cmake build system should include install target for
> Java
> >> > > > binaries
> >> > > >
> >> > > > --Rafael
> >> > >
> >> >
> >>
>

Reply via email to