VCVRack / VCV-Recorder

Other
24 stars 5 forks source link

make issues: windows 7 #11

Closed Coirt closed 5 years ago

Coirt commented 5 years ago

Couple of issues.

git submodule update --init --recursive hangs a bit takes about 3-4 minutes to complete the task.

make dep also fails, full log: https://pastebin.com/5R3ESm67

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: Cannot export lame_init_old: symbol not defined
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:550: libmp3lame.la] Error 1
make[3]: Leaving directory '/home/Phil/rack-1.0.2/rack/plugins/vcv-recorder/dep/lame-3.100/libmp3lame'
make[2]: *** [Makefile:613: install-recursive] Error 1
make[2]: Leaving directory '/home/Phil/rack-1.0.2/rack/plugins/vcv-recorder/dep/lame-3.100/libmp3lame'
make[1]: *** [Makefile:452: install-recursive] Error 1
make[1]: Leaving directory '/home/Phil/rack-1.0.2/rack/plugins/vcv-recorder/dep/lame-3.100'
make: *** [Makefile:46: dep/lib/libmp3lame.a] Error 2

Rack version: 357952c

AndrewBelt commented 5 years ago

ffmpeg is pretty large, around 300MB.

MarcBoule commented 5 years ago

I noticed the submodule update takes a few minutes, but if we just let it complete by itself it will work. The other error is covered in issue #10

Coirt commented 5 years ago

Will try again only have 80mb, there about in that folder!

Coirt commented 5 years ago

Is the same with letting it complete. Still have about 80mb in the ffmpeg folder.

Coirt commented 5 years ago

Trying latest!

Coirt commented 5 years ago

Latest commit I get:

# Use -nc because Sourceforce mirrors don't understand -c if the file already exists
mkdir -p dep
cd dep && wget -c -nc "https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz"
File ‘lame-3.100.tar.gz’ already there; not retrieving.

cd dep && sha256check() { echo "$2  $1" | sha256sum -c; }; sha256check lame-3.100.tar.gz ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e
lame-3.100.tar.gz: OK
cd dep && tar xf "lame-3.100.tar.gz"
# Remove nonexistent symbol from symbols list
cd dep &&  "s/lame_init_old\n//g" lame-3.100/include/libmp3lame.sym
/bin/sh: s/lame_init_old\n//g: No such file or directory
make: *** [Makefile:50: dep/lib/libmp3lame.a] Error 127
AndrewBelt commented 5 years ago

Pull the latest Rack source.

Closing because the original post is not a build issue.