hank / sacd-ripper

SACD ripping software using a PS3
GNU General Public License v2.0
5 stars 0 forks source link

Compiled pkg file by use hank's fork #1

Open mike2718 opened 11 years ago

mike2718 commented 11 years ago

Success compiling sacd-ripper in Ubuntu. But when compile iconv with Visual Studio, it falid...

SHA1s:

hank commented 11 years ago

Ah I don't have windows or visual studio on hand - what is the error you're getting? I removed your link to the binary above since distributing it violates DMCA. The source code simply reads the RedBook layer of the disc, so no real circumvention is happening in the source code AFAIK, but distributing binaries is a chance the main developers aren't taking, probably because of this - see the part about Aibo.

mike2718 commented 11 years ago

First, I need to compile iconv.lib, then sacd-extract.exe. In my visual studio 2005 command prompt, type

x:\blabla\sacd-ripper\libs\libiconv>nmake -f Makefile.msvc NO_NLS=1

It says

NMAKE : fatal error U1073: don't know how to make “config.h.msvc”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"”: return code “0x2”
Stop.

and stop to compile. (I get this code d2c2441e7aa8be6d7f47f045da770c267b59a547)

And I get the iconv.lib if I compile r392 with the same command.

hank commented 11 years ago

Oh interesting. Looks like a .in file is missing perhaps. I'll look into this when I get home.

On Mon, Aug 26, 2013 at 11:14 AM, Mike notifications@github.com wrote:

First, I need to compile iconv.lib, then sacd-extract.exe. In my visual studio 2005 command prompt, type

x:\blabla\sacd-ripper\libs\libiconv>nmake -f Makefile.msvc NO_NLS=1

It says

NMAKE : fatal error U1073: don't know how to make “config.h.msvc” Stop. NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"”: return code “0x2” Stop.

and stop to compile. (I get this code d2c2441https://github.com/hank/sacd-ripper/commit/d2c2441e7aa8be6d7f47f045da770c267b59a547 )

And I get the iconv.lib if I compile r392https://code.google.com/p/sacd-ripper/source/detail?r=392by use the same command.

— Reply to this email directly or view it on GitHubhttps://github.com/hank/sacd-ripper/issues/1#issuecomment-23269664 .

mike2718 commented 11 years ago

Well, I compiled r392's iconv.lib and use it to compile d2c2441e7aa8be6d7f47f045da770c267b59a547's sacd_extract...

First compile pthreads

cd pthreads-w32-2-9-1-release\pthreads.2
nmake clean VC-static
copy pthreads-w32-2-9-1-release\pthreads.2\pthreadVC2.lib C:\Program Files\Microsoft Visual Studio 8\VC\lib\pthreadVC2_static.lib
copy pthreads-w32-2-9-1-release\Pre-built.2\include\*.h C:\Program Files\Microsoft Visual Studio 8\VC\include

compile r392's iconv.lib then copy files to d2c2441e7aa8be6d7f47f045da770c267b59a547

copy sacd-ripper\libs\libiconv\include\iconv.h x:\hank\sacd-ripper\libs\libiconv\include\iconv.h 
copy sacd-ripper\libs\libiconv\lib\icon.lib x:\hank\sacd-ripper\libs\libiconv\lib\icon.lib

then run cmake

cd x:\hank\sacd-ripper\tools\sacd_extract
del sacd_extract.sln
del sacd_extract.vcproj
cmake .

finally open sacd_extract.sln and compile with VS2005, get the sacd_extract.exe.

hank commented 11 years ago

Oh I just realized what you did - I'll fix it using r392.

On Mon, Aug 26, 2013 at 1:18 PM, Mike notifications@github.com wrote:

Well, I compiled r392https://code.google.com/p/sacd-ripper/source/detail?r=392's iconv.lib and use it to compile d2c2441https://github.com/hank/sacd-ripper/commit/d2c2441e7aa8be6d7f47f045da770c267b59a547's sacd_extract...

First compile pthreads

cd pthreads-w32-2-9-1-release\pthreads.2 nmake clean VC-static copy pthreads-w32-2-9-1-release\pthreads.2\pthreadVC2.lib C:\Program Files\Microsoft Visual Studio 8\VC\lib\pthreadVC2_static.lib copy pthreads-w32-2-9-1-release\Pre-built.2\include*.h C:\Program Files\Microsoft Visual Studio 8\VC\include

compile r392 https://code.google.com/p/sacd-ripper/source/detail?r=392's iconv.lib then copy files to d2c2441https://github.com/hank/sacd-ripper/commit/d2c2441e7aa8be6d7f47f045da770c267b59a547

copy sacd-ripper\libs\libiconv\include\iconv.h x:\hank\sacd-ripper\libs\libiconv\include\iconv.h copy sacd-ripper\libs\libiconv\lib\icon.lib x:\hank\sacd-ripper\libs\libiconv\lib\icon.lib

then run cmake

cd x:\hank\sacd-ripper\tools\sacd_extractdel sacd_extract.slndel sacd_extract.vcproj cmake .

finally open sacd_extract.sln and compile with VS2005, get the sacd_extract.exe.

— Reply to this email directly or view it on GitHubhttps://github.com/hank/sacd-ripper/issues/1#issuecomment-23279119 .