Changeset 637 for trunk/zoo-project


Ignore:
Timestamp:
Apr 24, 2015, 11:47:50 PM (9 years ago)
Author:
djay
Message:

Fixes in zcfg generator and fixes to build correctly on GNU/Linux.

Location:
trunk/zoo-project/zoo-kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/configure.ac

    r634 r637  
    373373        OTB_ENABLED=""
    374374else
    375     if test -z "$ITKVERS"
    376     then
    377         ITKVERS="4.5"
    378     fi
     375        if test -z "$ITKVERS"
     376        then
     377                ITKVERS="4.5"
     378        fi
    379379        OTB_ENABLED="-DUSE_OTB"
    380380        OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -L$ITKPATH/lib -lITKBiasCorrection-$ITKVERS -lITKCommon-$ITKVERS -lITKIOImageBase-$ITKVERS -lITKKLMRegionGrowing-$ITKVERS -lITKLabelMap-$ITKVERS -lITKMesh-$ITKVERS -lITKMetaIO-$ITKVERS -lITKOptimizers-$ITKVERS -lITKPath-$ITKVERS -lITKPolynomials-$ITKVERS -lITKQuadEdgeMesh-$ITKVERS -lITKSpatialObjects-$ITKVERS -lITKStatistics-$ITKVERS -lITKVNLInstantiation-$ITKVERS -lITKWatersheds-$ITKVERS -litkNetlibSlatec-$ITKVERS -litksys-$ITKVERS -litkdouble-conversion-$ITKVERS -litkv3p_lsqr-$ITKVERS -litkv3p_netlib-$ITKVERS -litkvcl-$ITKVERS -litkvnl-$ITKVERS -litkvnl_algo-$ITKVERS -litkzlib-$ITKVERS"
     
    439439                        [], [AC_MSG_ERROR([could not find header file $i related to SAGA-GIS])])
    440440        LIBS_SAVE="$LIBS"
     441        AC_CHECK_LIB([saga_api], [SG_Set_UI_Callback,SG_Get_Module_Library_Manager])
    441442        AC_LANG_POP([C++])
    442         AC_CHECK_LIB([saga_api], [SG_Set_UI_Callback,SG_Get_Module_Library_Manager])
    443443fi
    444444AC_SUBST([SAGA_CPPFLAGS])
  • trunk/zoo-project/zoo-kernel/service_internal_saga.c

    r636 r637  
    2525#include <stdlib.h>
    2626#include <limits.h>
     27#include <locale.h>
     28#include <wx/string.h>
     29#include <wx/app.h>
     30#include <api_core.h>
     31#include <data_manager.h>
     32#include <module_library.h>
     33#define _ZOO_SAGA
    2734#include "service_internal_saga.h"
    2835#include "mimetypes.h"
     36
     37/**
     38 * Global SAGA-GIS output counter
     39 */
     40int sagaOutputCounter=0;
    2941
    3042/**
  • trunk/zoo-project/zoo-kernel/service_internal_saga.h

    r634 r637  
    2828#pragma once
    2929
    30 #include <locale.h>
    31 #define _WX_WXCRTVARARG_H_
    32 #include <wx/string.h>
    33 #include <wx/app.h>
    34 #include <api_core.h>
    35 #include <data_manager.h>
    36 #include <module_library.h>
    37 
    3830#include "service.h"
    3931#include "service_internal.h"
    4032
    41 /**
    42  * Global SAGA-GIS output counter
    43  */
    44 int sagaOutputCounter=0;
    4533int zoo_saga_support(maps**,map*,service*,maps**,maps**);
    4634
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png