Page 1 of 6 123 ... LastLast
Results 1 to 15 of 77

Thread: VC++ Express?

  1. #1
    How Old? Really? Aww Heck colkai's Avatar
    Join Date
    Feb 2003
    Location
    Staffordshire
    Posts
    7,809

    VC++ Express?

    Hi,
    I've got a copy of VC++ Express 2005 which is (according to MS) free to register and I wondered if it was worth me doing so?
    I'm only really interested in it if I can create plugins with the LW SDK using it.

    So, in a nutshell, is it possible?
    Too old to die young.

  2. #2
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Quote Originally Posted by colkai
    So, in a nutshell, is it possible?
    Yes, it is. In a nutshell.

    Make sure you install the Platform SDK as well (check out the MS on how to do that) and you should be all set.

    I've been using it for 6 months now to develop LW plugins (even 64bit versions with a bit of trickery). Having an optimizing compiler for free is nice!

    Cheers,
    Mike

  3. #3
    How Old? Really? Aww Heck colkai's Avatar
    Join Date
    Feb 2003
    Location
    Staffordshire
    Posts
    7,809
    I've selected just the core SDK and debugger (X86 only as I'm non-64 bit). Is this going to be enough?
    Too old to die young.

  4. #4
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Quote Originally Posted by colkai
    I've selected just the core SDK and debugger (X86 only as I'm non-64 bit). Is this going to be enough?
    That should be enough. You don't need the debugger since MSVC++ Express already includes a 32bit debugger.

    This link should help you install the PSDK: http://msdn.microsoft.com/vstudio/ex...alc/usingpsdk/

    Cheers,
    Mike

  5. #5
    How Old? Really? Aww Heck colkai's Avatar
    Join Date
    Feb 2003
    Location
    Staffordshire
    Posts
    7,809
    thanks! i'll have a read whilst i'm on me lunch break.
    Too old to die young.

  6. #6
    Hey Michael!
    How did you get it to do 64bit compiles?
    CU
    Elmar
    Yes, my Avatar shows a volume rendering...
    VoluMedic Creative Edition only USD 299 !
    www.volumedic.com

  7. #7
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Quote Originally Posted by colkai
    thanks! i'll have a read whilst i'm on me lunch break.
    Well, most of the work is finding the proper files and editing them.

    then again, I've done it on three machines so far, and it actually works

    Cheers,
    Mike

  8. #8
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Quote Originally Posted by Elmar Moelzer
    Hey Michael!
    How did you get it to do 64bit compiles?
    CU
    Elmar
    You need the 64bit PSDK which includes it, and set a couple of environment variables and then start MSVC++ from a batch file.

    Let me just look for the link... can't find it, sorry.
    Basically, You need the free MS Server 2003 SP1 PSDK which includes the 64bit compiler http://www.microsoft.com/downloads/d...DisplayLang=en.

    Then, depending on what target you want to compile to, you open the IDE using either batch file:
    64 bit version:
    Code:
    call "f:\Program Files\Microsoft Platform SDK\SetEnv.Cmd" /XP64 /RETAIL
    start "" "F:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\VCExpress.exe" /useenv
    32 bit version:
    Code:
    call "F:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
    start "" "F:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\VCExpress.exe" /USEENV
    ...adjust the paths to your linking.

    Cheers,
    Mike

  9. #9
    Hey Michael!
    Thanks a lot!
    Gonna try it!
    CU
    Elmar
    Yes, my Avatar shows a volume rendering...
    VoluMedic Creative Edition only USD 299 !
    www.volumedic.com

  10. #10
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Hah, I found the original link:

    http://www.toymaker.info/Games/html/64_bit.html

    Edit: It only talks about MSVC 2003, but it works just as well with 2005 Express.

    Cheers,
    Mike

  11. #11
    Cool! Thanks!
    CU
    Elmar
    Yes, my Avatar shows a volume rendering...
    VoluMedic Creative Edition only USD 299 !
    www.volumedic.com

  12. #12
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Quote Originally Posted by Elmar Moelzer
    Cool! Thanks!
    You're very welcome...

    Oh, and it works as well

    Cheers,
    Mike

  13. #13
    How Old? Really? Aww Heck colkai's Avatar
    Join Date
    Feb 2003
    Location
    Staffordshire
    Posts
    7,809
    Ok,
    I've got VCExpress running ... kinda... sorta.
    I edited the lines in the text files as advised in the setup data.
    I've tried to follow Aurora's tutorial for creating a 'Hello World' plugin but it isn't working. I'm almost 100% sure it's because I've done / not done something.

    I've attached my sad attempt at a project. If someone could look at it, and once they have picked themselves up of the floor and wiped the tears of laughter away, maybe I could get some help please?
    Too old to die young.

  14. #14
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Well, maybe if you post a part of your error log it would be easier to help.
    I can get the code to compile here, but I had to change some paths to make it work (and it wouldn't work on your side).

    Cheers,
    Mike

  15. #15
    obfuscated SDK hacker Lightwolf's Avatar
    Join Date
    Feb 2003
    Location
    Stuttgart, Germany
    Posts
    13,613
    Sorry, I forgot to ask... which version of the LW SDK are you using?

    Cheers,
    Mike

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •