Hi, all:

I downloaded the most current stable plplot 5.9.5 and would like to
use it in Windows XP + Visual Studio 2008 .
I strictly follow
http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX

But, I obtained the following error messages always:


-- WARNING: validate target will not be available to check for syntax errors in
the PLplot DocBook documentation because onsgmls was not found.
CMake Error at bindings/CMakeLists.txt:67 (message):
  program to concatenate files not found


In bindings/CMakeList.txt, the final lines are just like:




if(index)
  if(UNIX)
      add_custom_target(pkgIndex.tcl ALL
      COMMAND cat ${index} > pkgIndex.tcl
      DEPENDS ${index}
      )
  else(UNIX)
    find_program(CAT NAMES cat)
    if(NOT CAT)
      find_program(COPY NAMES cmd)
      if(NOT COPY)
        find_program(COPY NAMES command)
      endif(NOT COPY)
      if(COPY)
        set(CAT  ${COPY} CACHE INTERNAL "program to concatenate files" FORCE)
        set(COPY "copy"  CACHE INTERNAL "program to concatenate files" FORCE)
      else(COPY)
        message(FATAL_ERROR "program to concatenate files not found")
      endif(COPY)
      message(STATUS "Copy: ${COPY} - ${CAT}")
    endif(NOT CAT)
    if(NOT COPY)
      set(indexn)
      foreach(file ${index})
        file(TO_NATIVE_PATH ${file} filen)
        set(indexn ${indexn} ${filen})
      endforeach(file ${index})
      add_custom_target(pkgIndex.tcl ALL
      COMMAND ${CAT} ${indexn} > pkgIndex.tcl
      DEPENDS ${index}
      )
    else(NOT COPY)
      set(indexn)
      set(prefix)
      foreach(file ${index})
        file(TO_NATIVE_PATH ${file} filen)
        set(indexn ${indexn} ${prefix}${filen})
        set(prefix +)
      endforeach(file ${index})
      add_custom_target(pkgIndex.tcl ALL
      COMMAND ${COPY} ${indexn} pkgIndex.tcl
      DEPENDS ${index}
      )
    endif(NOT COPY)
  endif(UNIX)
  install(
  FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl
  DESTINATION ${DATA_DIR}
  )
endif(index)



>From these 4 lines,
"
  if(UNIX)
      add_custom_target(pkgIndex.tcl ALL
      COMMAND cat ${index} > pkgIndex.tcl
      DEPENDS ${index}
      )
  else(UNIX)
"

it seems, there is no condition for Windows, but both for UNIX ...


So, is there anybody who successfully build plplot in Visual Studio
under Windows, and without using mingw?

Best Regards
JIA



-- 
Welcome to Vision Open
http://www.visionopen.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to