Hi,

> PKG_CONFIG_PATH=/home/cdfrey/rootdir/lib/pkgconfig cmake ..

You have installed Barry into :

/home/cdfrey/rootdir/

So, you have to find into 

/home/cdfrey/rootdir/usr/include/barry 
or
/home/cdfrey/rootdir/usr/local/include/barry 

all headers files about Barry.



I have patched Barry to export endian.h and config.h.

Look : da7461c9d7b6d8549a23a873c33a9ac473371b82 (endian.h and config.h
added)
And : e0f02d80bc5b57d83e7f51b0fe3b9f1ad27782ac (endian.h and config.h
removed)

So, I have the same building issue :)

I haven't still time to fix this. Sorry.


bjdwp is linked to 3 libraries :
- libbarry : so I need to know barry configuration. libbarry contains JVM
USB protocol.
- libbarry-jdwp : contains JDWP TCP/IP protocol
- libbarry-debug : this lib is the ".debug" parser.

bjdwp contains only a "main" function.
I have all written in libbarry-jdwp ; because I'm intend to write a gbjdwp
application (GUI frontend for bjdwp)
I have also written all into library, so as to you can easily integrate
some parts into libbarry.


At this time, I work only about ".debug" parser.


Regards,

Nicolas



On Wed, 9 Sep 2009 15:50:26 -0400, Chris Frey <cdf...@foursquare.net>
wrote:
> Hi Nicolas,
> 
> Do you have any new patches for the build for bjdwp?  I'm still having
some
> issues building from a clean tree.
> 
> I'm not looking for autoconf yet, I understand that's more work.  I just
> want the cmake stuff to compile before releasing 0.16, if possible.
> 
> The missing endian.h and config.h headers are making things break, I
think.
> 
> Using the usual cmake style of building, I do:
> 
> (build and install barry into /home/cdfrey/rootdir)
> 
> Then:
> 
> [cdfrey barry-git1]$ git status
> # On branch master
> nothing to commit (working directory clean)
> [cdfrey barry-git1]$ cd bjdwp/
> [cdfrey bjdwp]$ ls
> CMakeLists.txt  include  src  tools  utils
> [cdfrey bjdwp]$ mkdir build
> [cdfrey bjdwp]$ cd build/
> [cdfrey build]$ PKG_CONFIG_PATH=/home/cdfrey/rootdir/lib/pkgconfig cmake
..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- checking for module 'libbarry-0'
> --   found libbarry-0, version 0.16
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/cdfrey/barry-git1/bjdwp/build
> [cdfrey build]$ make
> Scanning dependencies of target barry-jdwp
> [ 10%] Building CXX object src/CMakeFiles/barry-jdwp.dir/jdwp.cc.o
> [ 20%] Building CXX object src/CMakeFiles/barry-jdwp.dir/data.cc.o
> /home/cdfrey/barry-git1/bjdwp/src/data.cc:4:26: error: barry/endian.h: No
> such file or directory
> /home/cdfrey/barry-git1/bjdwp/src/data.cc: In function 'void
> JDWP::AddDataChar(Barry::Data&, size_t&, const void*, size_t)':
> /home/cdfrey/barry-git1/bjdwp/src/data.cc:60: error: 'be_htobl' was not
> declared in this scope
> make[2]: *** [src/CMakeFiles/barry-jdwp.dir/data.cc.o] Error 1
> make[1]: *** [src/CMakeFiles/barry-jdwp.dir/all] Error 2
> make: *** [all] Error 2
> [cdfrey build]$
> 
> 
> How do you normally build?
> 
> Thanks,
> - Chris
> 
> 
>
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> 
> trial. Simplify your report design, integration and deployment - and
focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to