Help - Search - Members - Calendar
Full Version: Creating executable of LAME 3.96
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
morpheus1982
Hi there,

Yesterday I had a post asking how to compile and build the LAME source successfully. Now that I have done this, I now have a problem running the build.

VC++ asks me for the name of the executable to run, but after building, nothing in the LAME directory is of any use.............

What do I do please?
sPeziFisH
...in my opinion you should use your old thread dry.gif
morpheus1982
I am not a C programmin expert, so I have no clue what you talking about................
sPeziFisH
smile.gif seems to me that you're not an expert at all (just kiddin')
Still want to suggest to use this thread/post if at all.

QUOTE (morpheus1982 @ Today @ 02:09 AM)
What do I do please?

read a manual, some basic stuff, idunno, I'm still another kind of expert smile.gif
morpheus1982
thanks for you help.......................not............like i havent tried reading the manual....not as if LAME is well documented, you have to be a professor to understand it.not someone doing their final year Dissertation!

The guys yesterday were much more helpful, bring them back! smile.gif

Anyway sPeziFisH, no hard feelings...... lalala.gif
Gabriel
Are you sure you need to compile Lame yourself?
If you just want to use it, you should be able to find precompiled versions.

Usually needing to compile it yourself means that you plan to have a look at its source code. However, it seems that you are not familiar with source code neither usual compilation tasks.

Your life could perhaps be easier if you just used any precompiled version.
morpheus1982
i need to compile it so that i know how to compile it with a normal C compiler. I have never compiled something as big as this.

The reason i need to do this is because i will eventually need to link parts of the LAME algorithm with MATLAB to produce a learning tool. Functions such as psychoacoustic evaluation could be plotted in MATLAB, and aid in the understand for students.

Doing this requires knowledge of the LAME architecture and knowledge of converting C code to MEX-files (Matlab EXecutables)............
sPeziFisH
a - seems to me like you have to read some basic stuff about VC++, don't investigate too much time, but I guesss a bit more is still acceptable.
Compiling is not a 5-min-fun, using own compiles is still fine and after such a procedure you learned a lot, but this still needs some time and of coarse some drops of sweat.

b - disfigure users names is frowned upon, not that it ails me but it is reasonably part of any forum's etiquette, written or not

c - you've got a wrong impression, I'm not that needless (even if my ma tells me every time smile.gif )

PostScriptum: about b - thx, seems like you have fixed this

PostScriptum 2: I admire your MATLAB-project and your students-work. I guess
compiling with VC++ is not that neccessary, just try it with MATLAB from the start
morpheus1982
i never intended on getting your username wrong, i thought i copied it correctly....then i had to correct it.

It is true what you say about working in MATLAB from the start, at least I know it actually compiles (obviously), just thought it would be nice to get it working as a stand-alone application.
p0l1m0rph1c
I'd really recommend you opening the main project file (lame_vc6.dsw).

Then, build first libmp3lame, in Release or Release_NASM mode (choose that going to Build menu -> Set active configuration).

After compiling libmp3lame, move to lame project, and build it (also in Release or Release_NASM). After that, you should have lame.exe in the "output" folder smile.gif

EDIT: typos. Oh, and if you don't have nasm, get it here: http://sourceforge.net/projects/nasm. Put nasm.exe in the same folder as the compiler, for example.
morpheus1982
thanks, i will try that asap and get back to you
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.