ivan Posted October 5, 2010 Share Posted October 5, 2010 I just got a windows machine, I've never used windows before. I want to compile HDK code on this machine. What compiler do I need? Microsoft has a free download available called "microsoft visual studio 2010 express" that I downloaded. I remember there used to be a "cygwin" linux emulator thing under windoze, and you could just run a makefile there to compile HDK. nice and easy. not anymore. How is it done now? do I need to buy a pricy version of msvc++? do I already have everything I need? I'm lost at this point... Quote Link to comment Share on other sites More sharing options...
Ratman Posted October 5, 2010 Share Posted October 5, 2010 I *think* you can use the full version of VS2010 as it has an emulator of 2005, otherwise, you can only use Visual Studio 2005, the full version to compile HDK code. Other than that, you need to setup your proper variables, you can use: http://www.sidefx.com/docs/hdk10.0/hdk_intro_compiling.html#HDK_Intro_Compiling_Windows As for using makefiles, I use cygwin with the usual automake tools and stuff to compile my dlls. Hope this helps! Quote Link to comment Share on other sites More sharing options...
ivan Posted October 5, 2010 Author Share Posted October 5, 2010 where did you find the info about "you can only use Visual Studio 2005"? on the SESI website (the link you posted) they do this: set MSVCDir=C:\Program Files\Microsoft Visual Studio 8\VC which implies msvc 2008, yeah? but you say only 2005? would the 2005 "standard edition" work for me? that's like $80 on ebay. the cheapest edition of msvc2010 is $1069.00 (CHOKE!!) <begin rant> why on earth do people use this clunky mass market OS? it's SOOO expensive!! <end rant> I *think* you can use the full version of VS2010 as it has an emulator of 2005, otherwise, you can only use Visual Studio 2005, the full version to compile HDK code. Other than that, you need to setup your proper variables, you can use: http://www.sidefx.com/docs/hdk10.0/hdk_intro_compiling.html#HDK_Intro_Compiling_Windows As for using makefiles, I use cygwin with the usual automake tools and stuff to compile my dlls. Hope this helps! Quote Link to comment Share on other sites More sharing options...
eyevex Posted October 6, 2010 Share Posted October 6, 2010 where did you find the info about "you can only use Visual Studio 2005"? on the SESI website (the link you posted) they do this: set MSVCDir=C:\Program Files\Microsoft Visual Studio 8\VC which implies msvc 2008, yeah? but you say only 2005? would the 2005 "standard edition" work for me? that's like $80 on ebay. the cheapest edition of msvc2010 is $1069.00 (CHOKE!!) <begin rant> why on earth do people use this clunky mass market OS? it's SOOO expensive!! <end rant> I have only done win compiles with 2005. And yup the dev setup is a little bit easier and obviously way cheaper with *nix. Visual Studio 2005 internal version IS version 8 and the included C++ is also 8.0, 2008 is version 9.0 --why the confusing numbering --no idea, but consider Win7 isnt version 7 but actually 6.1 and I guess it consistently doesnt make sense. (|;-D> Quote Link to comment Share on other sites More sharing options...
edward Posted October 6, 2010 Share Posted October 6, 2010 where did you find the info about "you can only use Visual Studio 2005"? Second paragraph in the link Ratman posted under the section "Before You Begin". Quote Link to comment Share on other sites More sharing options...
ivan Posted October 6, 2010 Author Share Posted October 6, 2010 ok. I'm an idiot that cannot read. Getting the 2010 version I downloaded to emulate 2005 has so far proven to be beyond me too. I think I'm just flailing and panicking in windows. calm down. breathe. it'll be ok.... Second paragraph in the link Ratman posted under the section "Before You Begin". Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted October 6, 2010 Share Posted October 6, 2010 While you are at it, as a bonus, try to find how to setup solution properties to compile dll directly without using makefiles. Anyone know how to do it ? Quote Link to comment Share on other sites More sharing options...
Alanw Posted October 6, 2010 Share Posted October 6, 2010 (edited) ok. I'm an idiot that cannot read. Getting the 2010 version I downloaded to emulate 2005 has so far proven to be beyond me too. I think I'm just flailing and panicking in windows. calm down. breathe. it'll be ok.... This guy is nice enough to host VS 2005 express ISO's. (the free version, which is all you need) http://apdubey.blogspot.com/2009/04/microsoft-visual-studio-2005-express.html I've no idea about 2010 emulation mode or whatever. When I used VS 2005, all I did was setup the compiler on my path (along with lots of vars). That way I could use GVIM and compile HDK code with a hotkey. If you need my vimrc or env vars lemme know. I don't use windows anymore, but I'm pretty sure that box is still around here somewhere. Edited October 6, 2010 by Alanw Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.