Results 1 to 4 of 4

Thread: How To Compile LightWave 3D Plug-In Tutorial Full HD video

  1. #1
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,464

    Talking How To Compile LightWave 3D Plug-In Tutorial Full HD video

    In this video tutorial I showed how to compile LightWave 3D Plug-In in Visual Studio Community 2015.
    Procedure in VS 2017, or VS 2019 should be pretty much the same (or similar).

    Download Visual Studio Community for free from Microsoft website and try compiling plug-ins by yourself:
    https://visualstudio.microsoft.com/vs/community/


    https://www.youtube.com/watch?v=0w_NNJG1D1I

    The one thing that is not mentioned in the video is that you should duplicate (or simply rename) files in lwsdk\source, from *.c to *.cpp.
    Compilation of mixed files with .c and .cpp extensions is troublemaker during linking.

    Best Regards!

    ps. Please subscribe to new TrueArt YouTube Channel.
    According to YouTube there is needed at least 100 subscribers to set some needed details of the channel.

    ps2. I made some mistakes for educational purposes. e.g. added servdesc.cpp to the project. Every beginner will do it. But should not.

    ps3. Professional plug-in programmer would compile linkable library first, and link it in the project (it is in $(LWSDK2020)\Lib and file is named LWSDK64.lib in my case).
    But this is harder for beginner, as you would have to set up two VS projects, instead of one. It would extend video by 3-5 minutes, with repetition of the same process.

    ps4. Start from making environment variable LWSDK2020 (or whatever you want). You will need to restart Visual Studio, if you will add some environment variable, if it is already running.
    Last edited by Sensei; 11-19-2020 at 08:44 PM.

  2. #2

    LW vidz   DPont donate   LW Facebook   IKBooster   My vidz

  3. #3
    Registered User
    Join Date
    Jan 2013
    Location
    NA
    Posts
    98
    Thank you very much for these excellent video and post!
    One question, could other compilers like gcc or IDE like codeblocks be used to compiling LW plugins? VS is huge!

  4. #4
    Registered User
    Join Date
    Feb 2003
    Location
    Cumbria UK
    Posts
    531
    Thank you very much for this.
    I shall tackle this over the weekend.

    Derek

Tags for this Thread

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
  •