Hi Jim, Are you saying that some source line that calls htons() should be rewritten to call something declared in filter.h instead? That sounds right -- it seems stupid to make a program that does not use network I/ O depend on a sockets library.
But what source file has this silly call in it? If it is a standard package of some kind, then creating a local version could create more problems than it solves. If it is something that is already local to libpano, then by all means rewrite it. -- Tom On Oct 17, 11:00 am, Jim Watters <[email protected]> wrote: > Kornel Benko wrote: > > Am Samstag 17 Oktober 2009 schrieb allard: > > >> OK, I got the lib and found a way to manually tell MSVC to include it > >> in the PTBlender project by setting it in the properties of the > >> project. > >> Build successful! But it would be nice if I knew where to change this > >> properly. > > > This lib should be added to ${_common_libs} > > CMakeLists.txt:68 > > > set(_common_libs ${TIFF_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} > > ${PNG_LIBRARIES}) > > if(WIN32) > > find_library(WXSOCK32 wsock32) > > if(NOT ${WXSOCK32} MATCHES "-NOTFOUND") > > list(APPEND _common_libs ${WXSOCK32}) > > endif() > > endif(WIN32) > > > ... > > > Allard > > > Kornel > > Panotools already has ENDIAN aware file i/o functions in filter.h > These should have been used instead of using another package for this > one function. > > -- > Jim Wattershttp://photocreations.ca --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
