Old 1st May 2016, 14:00   #1
Junior Member
Join Date: Jan 2011
Posts: 17
Milkdrop 2.25c compile issues

Hi all - not sure how many people still use this forum; seems like lots of new options are out there for music and graphics. Winamp and milkdrop are still my favorite combo for music-ing.

the short version - does anyone have some detailed advice they can offer for compiling the 2.25c source code in Visual Studio (Community 2015) for windows 7 64 bit. I don't really need it to be a 64 bit compile; that's just where I am OS-wise. Or the DirectX11 code would be even better.

I wanted to update my event dispatcher mod of milkdrop. Before, I had it compiling under XP 32 bit. Since then, I am using Windows 7 64bit. Out-of-the box, I couldn't get the source code to compile in Visual Studio (Community 2015). There were tons of deprecation warnings and a few fatal errors - they seemed to be mostly about the older ways of handling "large integers" and bring them to 64 bit - or insure they stayed 32 as needed, and one bad parameter count. Anyway, I made what seemed to be necessary fixes and it compiles - however when I launch the plugin in winamp it crashes before doing anything noticeable. Would love to 'borrow' anyone's vcproj files if they have them for Studio 2015. Also, I downloaded the DirectX11 milkdrop and it runs great in Winamp; it compiles to .lib from the source code but when I compile to .dll something bad happens.

Thanks ahead of time... hello... is there anybody out there?
dickchuck is offline   Reply With Quote
Old 30th August 2016, 03:46   #2
Junior Member
Join Date: Aug 2016
Posts: 1
Smile Hellooo

After much fiddling around, I finally got MilkDrop to compile in newer versions of Visual Studio. However, Winamp would crash when attempting to start the plugin. After attaching a debugger I saw the exception was in msvcr110.dll. Rather than reverse engineer that whole deal, I just took the advice on http://www.geisswerks.com/milkdrop/ and compiled it in Visual Studio Express 2008. I can confirm the resulting dll works with Winamp.

I did have to change a couple of things after opening the solution in Visual Studio Express 2008.
  • Right click the project -> Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories. I changed this to be
    C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include

  • After a build attempt, it will complain about afxres.h in plugin.rc. Change this to be WinResrc.h.
  • It then complained about IDC_STATIC. So I added
    #ifndef IDC_STATIC
    #define IDC_STATIC -1

    in there, right below // Dialog.

Hope this helps!
lightbulblight is offline   Reply With Quote
Old 17th December 2017, 04:29   #3
Junior Member
Join Date: Dec 2017
Posts: 5
Hello there I was wondering if you made any progress in your fiddling. I tried to get this working in VS 2017 but also with only about 5100 errors. Admittedly I'm not sharp with c++ anyway but I was hoping to find a way to load a preset in similar fashion to the way custom messages are loaded. For example, you would have a milk2_preset.ini file which has this:


name=Aderrasi - Airhandler (Principle of Sharing)

name=fiShbRaiN - crystal glasses

name=Flexi - braggadocio

then you would need a way to refresh/re-read this file and the keyboard events to launch the preset i.e. "P01", "P02" etc.

This way you could have 99 different presets accessible via keyboard. I could probably hack this together if I can get VS to build although it wouldn't be pretty.
skalamondre is offline   Reply With Quote
Old 17th December 2017, 04:30   #4
Junior Member
Join Date: Dec 2017
Posts: 5
I should clarify that I'm on Windows 10 and I get errors installing the DirectX SDK. When I compile I seem to be missing files such as stdlib.h so I may just not be fully setup yet.
skalamondre is offline   Reply With Quote
Old 20th December 2017, 02:36   #5
Junior Member
Join Date: Dec 2017
Posts: 5
Dickchuck I caught up to you. I'm at the same place now where I can compile without errors however Winamp crashes instantly when it's launched.

Were you able to solve that problem?
skalamondre is offline   Reply With Quote
Old 28th May 2018, 20:47   #6
Junior Member
Join Date: Jul 2009
Posts: 6
I can compile with VS2017 but not every preset work.. some of them just gets a blinking color on all screen..
Heiler is offline   Reply With Quote
Old 28th May 2018, 20:55   #7
Junior Member
Join Date: Jul 2009
Posts: 6
are your crashes related to ucrtbase.dll ? I had to replace a lot of functions which relied on C_LOCALE or something
Heiler is offline   Reply With Quote
Old 7th July 2019, 14:35   #8
Junior Member
Join Date: Dec 2015
Posts: 5
Hello, I will take a look at the milkdrop code and see what is required for appveyor continuous integration. However, I would recommend that you investigate projectM, because that is where the active developers, including myself, are collaborating to add new features to the Milkdrop evolution (I am currently trying to get the projectM Windows store app to support 3DTVs with stereoscopic rendering, but this feature requires more collaborators and testers. If you want to join in the effort, you can download it for Xbox or PC from Microsoft for free: https://www.microsoft.com/en-us/p/projectm/9ndcvh0vcwjn and the open-source development community of projectM is available on Github : https://github.com/projectM-visualizer/projectm

I will gladly walk anyone through the process to get the development environment setup on their local machine, and I hope to find some collaboration between the projectM community and the Winamp & Shoutcast Forums ecosystem. Any thoughts or questions?
mancoast is offline   Reply With Quote
Old 9th July 2019, 04:51   #9
Senior Member
Dr.Flay's Avatar
Join Date: Mar 2013
Location: Cornwall
Posts: 198
Send a message via ICQ to Dr.Flay Send a message via Skype™ to Dr.Flay
Will it work in Winamp or WACUP ?
Milkdrop still gets updates and new presets for the WACUP project, so would projectM be better than using the real thing that does actually have active development ?
Would it be better for DrO to swap projects, and why ?

My weekly radio show for nerds and wannabe nerds 15% Extra on Source FM every Friday
Dr.Flay is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump