HydrogenAudio

CD-R and Audio Hardware => CUETools => Topic started by: Adil on 2021-09-27 23:43:25

Title: 'Failed to load ripper module'
Post by: Adil on 2021-09-27 23:43:25
Hi there.

I am trying to compile CUETools for my own use with the latest changes made to the source code, however I have had a persistent problem regarding CUERipper.

According to the photo below, there is an error loading a CUERipper module. Why does it happen? According to the instructions, I use all the resources required to compile the program... In Visual Studio 2017, selecting 'Any CPU' under 'Solution Platforms', I compile CUETools, CUERipper and BluTools.

Thanks in advance.
Title: Re: 'Failed to load ripper module'
Post by: korth on 2021-09-28 04:55:11
Some reading:
This link explains the error is due to CUERipper not finding a file in the plugins folder.
https://github.com/gchudov/cuetools.net/issues/32

This link is another user having issues trying to build CUERipper
https://github.com/gchudov/cuetools.net/issues/117
Title: Re: 'Failed to load ripper module'
Post by: c72578 on 2021-09-28 08:45:11
For Release builds, you can use the following batch file, which collects the required built files and copies them into the appropriate directory structure:
https://github.com/gchudov/cuetools.net/blob/master/CUETools/collect_files.bat
Title: Re: 'Failed to load ripper module'
Post by: Adil on 2021-09-28 13:45:01
@korth
Thanks for those info, very usefull ideed. This thread is bookmarked.

@c72578
Thank you very much! I'm going to try this out and at a suitable time I will leave the information of my experience here, for future consultation.

I'm a big fan of your work, CUERipper is incredibly simple and effective. CUETools is a must. Thank you so much for sharing such a high quality program.
Title: Re: 'Failed to load ripper module'
Post by: Adil on 2021-09-29 00:30:31
I must be making a mistake at some point.

Using TortoiseGit, I downloaded the latest source code in a local repository on my computer, opened Visual Studio 2017 with all available updates, and compiled only CUETools, CUERipper and BluTools, although there are other build options, as shown in the image I attached below.

Finished the compilations, I went to the subdirectory "CUETools" and executed the file "collect_files.bat" that exists there.

Inside the "bin" subdirectory, I opened the "Release" directory and there are two directories where the executables are found: "CUETools_2.1.9" and "net47".

In both places, when opening CUERipper, the same problem previously reported occurred. Please what am I doing wrong?
Title: Re: 'Failed to load ripper module'
Post by: c72578 on 2021-09-30 12:57:18
Have you tried: Build - Build Solution (Ctrl+Shift+B)?
Title: Re: 'Failed to load ripper module'
Post by: Adil on 2021-09-30 15:29:59
Have you tried: Build - Build Solution (Ctrl+Shift+B)?
OK, in this way it works!

Apparently everything is in perfect order. If I don't bother again here, it's because the problem is definitely solved.

Thank you very much for the support!
Title: Re: 'Failed to load ripper module'
Post by: Adil on 2021-10-01 02:03:55
Well... unfortunately, I've got this error...

I've tried a lot of things, but I don't know what to do anymore...
Title: Re: 'Failed to load ripper module'
Post by: c72578 on 2021-10-01 12:45:48
MACLib is a plugin dll. In order to build it, you need to switch the platform from "Any CPU" to "x64" and/or "Win32" and build the solution again.