hugin-bug-hunters team mailing list archive
-
hugin-bug-hunters team
-
Mailing list archive
-
Message #04115
[Bug 945523] Re: Current tip does not compile on windows
Fixed in changeset bb55bfdfa33e.
Needs testing if the change to build system work on all systems.
** Changed in: panotools
Status: New => Fix Committed
--
You received this bug notification because you are a member of Hugin Bug
Hunters, which is subscribed to Panotools.
https://bugs.launchpad.net/bugs/945523
Title:
Current tip does not compile on windows
Status in Panorama Tools:
Fix Committed
Bug description:
Hg revision 0c73d8794377 does not compile on windows.
First: There appear several linker errors in the tools by the use of the not standard conform __progname variable:
error LNK2019: unresolved external symbol __progname referenced in function panoBasenameOfExecutable pano13.lib(sys_ansi.obj)
Second: CMake does call ctag-exuberant without to check for existence.
Wrap it around a find_program
FIND_PROGRAM(_ctags ctags-exuberant)
IF(NOT ${_ctags} MATCHES "-NOTFOUND")
ADD_CUSTOM_COMMAND( OUTPUT ctags POST_BUILD
COMMAND ${_ctags} -e *.c *.h tools/*.c
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/
COMMENT "Build TAGS file"
)
ADD_CUSTOM_TARGET( TAGS DEPENDS ctags)
ENDIF()
To manage notifications about this bug go to:
https://bugs.launchpad.net/panotools/+bug/945523/+subscriptions
References