[CMake] Crosscompile: CPack Macos and NSIS

Alexander Neundorf a.neundorf-work at gmx.net
Sat Oct 3 06:03:43 EDT 2009


On Friday 02 October 2009, Canga Marcelo wrote:
> I am having trouble building a NSIS package running  cpack from my mac
> for windows xp
>
> This is what I have on my cross-compile setup in my mac:
>
>       I have a cross-compile setup working in Macos, mingw-gcc
>       I have cpack - zip  running on my mac  for windows xp
>
> This is what I have in windows xp:
>      I have cpack - nsis for windows xp running from windows xp
>
> This is what is not working,
>       I can't run cpack nsis from my mac for windows xp.
>
> When I try to run cpack from my mac, the process die with the
> following message,
>
> terminate called after throwing an instance of 'std::logic_error'
>    what():  basic_string::_S_construct NULL not valid

Can you run it in gdb to get a backtrace ?
>
> Has anybody been able to builder a NSIS windows xp distribution from a
> mac using cpack?

I don't think anybody ever tried that.

Alex


More information about the CMake mailing list