Try this:
   cd addon/doxmlparser/src
   make
   cd ../examples/metrics
   make.

- Damon


|------------>
| From:      |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
  |Qiuping Yi <yiqiup...@gmail.com>                                             
                                                                 |
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
  |<doxygen-users@lists.sourceforge.net>                                        
                                                                 |
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
  |03/12/2013 08:16 AM                                                          
                                                                 |
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>----------------------------------------------------------------------------------------------------------------------------------------------|
  |[Doxygen-users] how to use doxmlparser?                                      
                                                                 |
  
>----------------------------------------------------------------------------------------------------------------------------------------------|





Hi, everyone!

I am a newcomer. I want to use doxygen to extract some metrics for C
programs.

I firstly generated XML files for each C file, and then wanted to use its
'doxmlparser' under 'addon/doxmlparser'
to compute my metrics, such as the number of if-statements contained in a
function. But when I run 'make'
under 'addon/doxmlparser/examples/metrics', I got an error
'../../lib/libdoxmlparser.a cannot be found'. The Makefile under this
directory is bellow.
So did I miss something, and how can I compile file 'main.cpp' in directory
'addon/doxmlparser/examples/metrics' to an executable file? Thank you all
in advance.

DOXYGEN   = /home/qiu/installed/doxygen-1.8.2
TMAKEPATH = /home/qiu/installed/doxygen-1.8.2/tmake/lib/linux-g++
ENV       = env TMAKEPATH=$(TMAKEPATH)
TMAKE     = /home/qiu/installed/doxygen-1.8.2/tmake/bin/tmake
MAKE      = /usr/bin/make
PERL      = /usr/bin/perl
RM        = rm -f
CP        = cp
VERSION   = 1.8.2
INSTALL   = /usr/local
INSTTOOL  = /usr/bin/install
DOXYDOCS  = ..
DOCDIR    = $(INSTALL)/share/doc/packages/doxygen
QTDIR     =
HAVE_DOT  = /usr/bin/dot
all clean depend: Makefile.metrics
$(MAKE) -f Makefile.metrics $@

distclean: clean
$(RM) -rf Makefile.metrics metrics.pro Makefile obj

tmake:
$(ENV) $(PERL) $(TMAKE) metrics.pro >Makefile.metrics.

Makefile.metrics: metrics.pro
$(ENV) $(PERL) $(TMAKE) metrics.pro >Makefile.metrics.

install:


--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
------------------------------------------------------------------------------

Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to