ok, after digging deeper into the problem I found the error: The
VER_INTERNALNAME_STR define expands to nothing and mingw windres seems
to expect an string.

Therefore applying the attached patch to each version.rc file helped.

Regards,
Stefan

Am 24.06.2014 16:29, schrieb Stefan Ruppert:
> Hi all,
> 
> I'm currently trying to compile and install Wt under Windows with
> mingw64. By default cmake decide to compile Wt as static libraries, but
> this is not an option for me.
> 
> After setting SHARED_LIBS=yes I get the following error:
> 
> c:/opt/tmp/wt-3.3.2/build/src/wt-version.rc:3:0: fatal error: when
> writing output to : No such file or directory
> [ 60%] Building RC object src/CMakeFiles/wt.dir/wt-version.obj
> c:\MinGW\mingw64\bin\windres.exe:
> c:/opt/tmp/wt-3.3.2/build/src/wt-version.rc:42: syntax error
> make[2]: *** [src/CMakeFiles/wt.dir/wt-version.obj] Error 1
> 
> Any ideas how to fix this?
> 
> Regards,
> Stefan
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
> 

*** wt-version.rc.in.orig	2014-06-24 16:53:42.681250584 +0200
--- wt-version.rc.in	2014-06-24 16:53:49.737250287 +0200
***************
*** 8,14 ****
  #define VER_FILEVERSION_STR   "@VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@"
  #define VER_COMPANYNAME_STR   "Emweb bvba, Belgium"
  #define VER_FILEDESCRIPTION_STR "Wt C++ library DLL"
! #define VER_INTERNALNAME_STR
  #define VER_LEGALCOPYRIGHT_STR "(c) 2014 emweb bvba, Belgium. See LICENSE file for details"
  #define VER_PRODUCTNAME_STR "Wt C++ library"
  #define VER_ORIGINALFILENAME_STR "wt.dll"
--- 8,14 ----
  #define VER_FILEVERSION_STR   "@VERSION_SERIES@.@VERSION_MAJOR@.@VERSION_MINOR@"
  #define VER_COMPANYNAME_STR   "Emweb bvba, Belgium"
  #define VER_FILEDESCRIPTION_STR "Wt C++ library DLL"
! #define VER_INTERNALNAME_STR ""
  #define VER_LEGALCOPYRIGHT_STR "(c) 2014 emweb bvba, Belgium. See LICENSE file for details"
  #define VER_PRODUCTNAME_STR "Wt C++ library"
  #define VER_ORIGINALFILENAME_STR "wt.dll"
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to