Use MinGW as the compiler. We don't have any reason to support MS C when there
is GCC available. Build using cmake, that builds on 3 platforms.
Lefteris Argyriadis <[email protected]> wrote:
>First of all i would like to congratulate David Rowe and all the
>developers that followed, for their professionalism and their
>dedication in an open-source project that in my opinion has the
>momentum to become a milestone in voice coding and transmission for the
>years to come.
>
>I study Electrical,Electronics and Computer Engineering and found the
>codec2 while working in a project. The problem is, i haven't managed to
>actually compress a .wav file using codec2. First of all, i am still
>trying to figure out whether it is an executable, a .dll or something
>else that i have to run to do the job. I am currently working on a PC
>with Windows 7 Professional
>
>using MS Visual Studio 2008 Professional.
>I followed the next steps:
>1. I downloaded the source code from :
>http://freetel.svn.sourceforge.net/viewvc/freetel/codec2-dev/
>2. I created a new empty project in VS 2008 and put the header and C
>files in Header and Source filters respectively. I also put Codebook
>text files in the Resources filter of the project. I was then puzzled
>about where in my project to put Makefile.am and Makefile.in files but
>i categorize them as source files.
>3. Run the c2enc and c2demo choosing either .dll or .exe in
>Configuration Properties Panel for my project's configuration.
>4. The compiler gave me dozens of error and warning messages. Tried to
>fix first things first.
>5. First error ->error C2471: cannot update program database - Fixed it
>6. Second error -> fatal error C1083: Cannot open include file:
>'getopt.h': No such file or directory
> Fixed it- i found the relevant getopt files for Windows . After
>that fix, the code compiled successfully, but there were new error
>messages while linking.
>
>7. Third error -> In linking -> error LNK2005: _main already defined in
>c2dec.obj (in c2demo.obj , c2enc and c2sim files).
> I don't know how to fix it.
>
>8.I then changed the project's configuration type from .dll to
>Makefile. In this way, i had zero errors or warnings in compiling and
>linking. BUT...
>9. There is a warning window mentioning: "Debugging information for
>regsvr32.exe cannot be found or does not match. Symbols not loaded. Do
>you want to continue?"
> After choosing "Yes", a Windows error appears telling: "regsvr32 to
>register a module you must provide a binary name".
>
>Here i stuck. I also wander if the codec2.dll in Win32 folder is the
>final result, but even then, how to encode using it? From README file,
>i read:
>"2/ Compress and Decompress a file:
> $ ./c2enc 2400 ../raw/hts1a.raw hts1a_c2.bit
> $ ./c2dec 2400 hts1a_c2.bit hts1a_c2.raw "
>But i don't know how to do this in Windows.
>
>I would REALLY APPRECIATE, if someone could give me instructions on
>how to make the codec2 source work in WINDOWS, to use it in compressing
>a wave file.
>
>Thank you in advance!
>
>------------------------------------------------------------------------
>
>------------------------------------------------------------------------------
>AlienVault Unified Security Management (USM) platform delivers complete
>security visibility with the essential security capabilities. Easily
>and
>efficiently configure, manage, and operate all of your security
>controls
>from a single console and one unified framework. Download a free trial.
>http://p.sf.net/sfu/alienvault_d2d
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Freetel-codec2 mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/freetel-codec2
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2