Compiling for Windows on a Mac?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 02:42, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:      Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Is it possible to use XCode to compile a plugin that will run on Mac OS X and in Windows also?
    If it is, how can it be done? Thank you very much for any reply.

    Rui Batista



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 03:59, xxxxxxxx wrote:

    Not that I knew of.

    If you only own a Mac, you could set up a virtual machine with e.g. VirtualBox (by Oracle, free) and install Windows in it.
    In that Windows, install VisualStudio (maybe you can do it with the Express version, that one's free).



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 04:14, xxxxxxxx wrote:

    I do have Parallels with Windows 7 in it.
    You said that VisualStudio Express is free. Will that version be able to compile the plugins for Windows?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 04:42, xxxxxxxx wrote:

    Yes, but have a look whether it also supports 64 bit code now. When I bought my VisualStudio 2005, that feature was only available in the Professional versions, not in Express. (I would assume this is still the case, since they want to make money... although who's still using a 32 bit Windows...)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 04:43, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    I do have Parallels with Windows 7 in it.
    You said that VisualStudio Express is free. Will that version be able to compile the plugins for Windows?

    Parallels - from my experience - doesn't work reliable when using Visual Studio. I got file system errors when VS was creating the binary (and it didn't matter if I was using an image or the native Win partition - which worked properly when used without Parallels); VMWare did the job.

    Best regards,

    Wilfried



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 04:50, xxxxxxxx wrote:

    Damn! I bought Parallels a long time ago and I really don't want to add another type of "emulator".
    Would anyone be willing to compile my CMYK plugin for Windows now that I updated it to release 12?

    Rui Batista



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/02/2011 at 07:14, xxxxxxxx wrote:

    I use the free VirtualBox on my mac to host a Windows XP installation and VisualStudio 2005 compiles fine. No problems at all.

    Concerning the Expression versions of VisualStudio... yes, I read something about it not having a crosscompiler. But I also read about some tricks, making it possible to compile 64-bit binaries anyway. I can say nothing about any of these things, since I don't use the Express version. You'll have to find out, Rui.


Log in to reply