Open GoogleCodeExporter opened 9 years ago
Hi, please can you try again with the attached file instead of the normal
CMakeLists.txt
Let me know if it works!
Thanks, Jack.
Original comment by jack.ocl...@googlemail.com
on 16 Oct 2014 at 7:48
Attachments:
[deleted comment]
Thanks!
The compilation worked. But there are warnings when building:
make
Scanning dependencies of target dsf2flac
[ 6%] Building CXX object CMakeFiles/dsf2flac.dir/src/tagConversion.cpp.o
[ 12%] Building CXX object CMakeFiles/dsf2flac.dir/src/dop_packer.cpp.o
[ 18%] Building CXX object CMakeFiles/dsf2flac.dir/src/dsd_sample_reader.cpp.o
[ 25%] Building CXX object CMakeFiles/dsf2flac.dir/src/dsf_file_reader.cpp.o
/root/dsf2flac-read-only/src/dsf_file_reader.cpp: In member function ‘virtual
bool DsfFileReader::step()’:
/root/dsf2flac-read-only/src/dsf_file_reader.cpp:89:24: warning: comparison
between signed and unsigned integer expressions [-Wsign-compare]
else if (blockMarker>=blockSzPerChan)
^
[ 31%] Building CXX object CMakeFiles/dsf2flac.dir/src/filters.cpp.o
[ 37%] Building CXX object CMakeFiles/dsf2flac.dir/src/fstream_plus.cpp.o
[ 43%] Building CXX object CMakeFiles/dsf2flac.dir/src/dsd_decimator.cpp.o
[ 50%] Building CXX object CMakeFiles/dsf2flac.dir/src/main.cpp.o
[ 56%] Building CXX object CMakeFiles/dsf2flac.dir/src/dsdiff_file_reader.cpp.o
/root/dsf2flac-read-only/src/dsdiff_file_reader.cpp: In member function
‘virtual bool DsdiffFileReader::step()’:
/root/dsf2flac-read-only/src/dsdiff_file_reader.cpp:217:25: warning: comparison
between signed and unsigned integer expressions [-Wsign-compare]
else if (bufferMarker>=sampleBufferLenPerChan)
^
[ 62%] Building C object CMakeFiles/dsf2flac.dir/src/cmdline.c.o
[ 68%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/ccp_calc.c.o
[ 75%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/unpack_dst.c.o
[ 81%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/dst_ac.c.o
[ 87%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/dst_data.c.o
[ 93%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/dst_fram.c.o
[100%] Building C object CMakeFiles/dsf2flac.dir/src/libdstdec/dst_init.c.o
Linking CXX executable dsf2flac
[100%] Built target dsf2flac
Binary is created, but can not convert ...
In dff files:
dsf2flac 0.1Rev51
Error opening DSDFF file!
dsdiffFileReader::readChunk_FRM8:chunk ident error
In dsf files:
dsf2flac 0.1Rev51
Error opening DSDFF file!
Sorry, only one bit data is supported
Files are normal dsd64 (from sacd, extracted sacd_extract). So are 1bit.
Thanks for the help!
Sorry for my english
Original comment by mpd.hw...@gmail.com
on 28 Oct 2014 at 10:28
Sorry for the late reply.
The compile warnings are not too serious, I doubt they are causing the problem.
Basically the program is finding the wrong data in the files and getting
confused. Could be that the program is looking in the wrong place within the
file. I have not tested the program on 32bit Linux so that might be related to
the problems. I'll try and find some time next weekend to install 32bit Mint
and see if I can replicate the issue.
I note that your hardware seems sufficient to run 64bit linux. Was there
another reason why you are using 32bit?
Jack.
Original comment by jack.ocl...@googlemail.com
on 10 Nov 2014 at 9:21
Thanks!
[...] your hardware seems sufficient to run 64bit linux. Was there another
reason why you are using 32bit?
Only limited RAM (2GB). I understand it is better to use 64bit with 4GB or
more...
and I have many programs installed.
Thanks again.
Sorry for my english
Original comment by mpd.hw...@gmail.com
on 11 Nov 2014 at 11:01
I compiled this on 32-bit Debian Wheezy today (Asus Netbook). I also receive
the error:
dsf2flac 0.1Rev51
Error opening DSDFF file!
Sorry, only one bit data is supported
Original comment by carr....@gmail.com
on 31 Jan 2015 at 10:03
Hi,
Sorry for the late reply. I've not had the chance to look into this yet. Most
of my testing is on 64bit Linux, I'll have to install a 32bit OS to give it a
go. The other possibility is that it is related to your hardware, could you let
me know what processor your ASUS netbook has?
Thanks! Jack.
Original comment by jack.ocl...@googlemail.com
on 3 Feb 2015 at 8:22
Thank you for providing the conversion tool. I hope to soon upgrade to a
notebook with more memory and capable of 64-bit processing.
Here is the cpu information:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N280 @ 1.66GHz
stepping : 2
microcode : 0x212
cpu MHz : 1667.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc
arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3
xtpr pdcm movbe lahf_lm dtherm
bogomips : 3325.40
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
Original comment by carr....@gmail.com
on 3 Feb 2015 at 9:07
[deleted comment]
I fixed the issue by replacing all type definitions in dsf2flac_types.h with
portable ones. The header file looks like this after change,
#include <inttypes.h>
typedef char dsf2flac_int8;
typedef int16_t dsf2flac_int16;
typedef int32_t dsf2flac_int32;
typedef int64_t dsf2flac_int64;
typedef unsigned char dsf2flac_uint8;
typedef uint16_t dsf2flac_uint16;
typedef uint32_t dsf2flac_uint32;
typedef uint64_t dsf2flac_uint64;
typedef float dsf2flac_float32;
typedef double dsf2flac_float64;
Original comment by steppedf...@gmail.com
on 29 May 2015 at 10:13
Hi,
I am trying to compile dsf2flac on a dell AMD xp2600+ Linux Mint 17.1.
Everything fine in cmake but I receive an error while running make as follows:
'Linking CXX executable dsf2flac
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libogg.so'
collect2: error: ld returned 1 exit status
make[2]: *** [dsf2flac] Error 1
make[1]: *** [CMakeFiles/dsf2flac.dir/all] Error 2
make: *** [all] Error 2
Any idea how to correct this?
Thanks
Original comment by michael....@gmail.com
on 17 Aug 2015 at 7:55
Original issue reported on code.google.com by
mpd.hw...@gmail.com
on 3 Oct 2014 at 11:55