Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Compiling project vc9_lame 3.98 - 2 (Read 4770 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Compiling project vc9_lame 3.98 - 2

I have problem to compile project. Im on vista home premium with full Visual Studio 2008 (MS SDKs). I downloaded GTK+ toolkit to prroject directory
(glib-dev-VERSION.zip, gtk+-dev-VERSION.zip and additional libraries from http://www.gtk.org/download-windows.html).
I created new folder D:\CVS\lame\WinGtk and extracted all zip GTK files into this folder
I didnt know witch extralibs they means, so I downloaded all libraries?
LAME analyzer folder doesnt exist in lame project! So I created new folder "analyzer" in LAME project directory.
Then I copy WinGtk folder into "analyzer" folder.
I complile whole solution and there are fatal errors: cannot include gtk\gtk.h,
althrough the these header files are in lame project directories.
probably I have wrong folder tree.
Path to project is correct I think.

onother question: What will happen if a will compling in C++ in windows XP and then in Visual basic in Vista? both with VisualStudio2008

Whitch program is the best for compiling LAME 3.98-2 project.
Is there a difference beetwen lame_vc6, lame_vc8, lame_vc9 soltions *.sln?

And I didnt found GTK *.dll files


**************************************************
this is README for this project:
===========================================================================
How to compile the MP3 frame analyzer (MP3x):
===========================================================================
You first need to get hold of the latest GTK and GLIB include files and lib
files. You can download them freely from the WINGTK project WEB site.
(see http://www.gtk.org, and click on the WINGTK link.)

Download:  glib-dev-VERSION.zip, gtk+-dev-VERSION.zip and extralibs-dev-VERSION.zip
where VERSION indicates the release data, so it will look something like 20000805

unzip all three zip files in a WinGTK subdirectory, which is created from the lame
analyzer directory (for example, D:\CVS\lame\WinGtk)
You will end up with the following directory tree
  D:\CVS\lame\analyzer\WinGtk\src\glib
  D:\CVS\lame\analyzer\WinGtk\src\gtk+\glib
  D:\CVS\lame\analyzer\WinGtk\src\gtk+

Set Mp3x as your current active project, recompile everything, and you're done.
===========================================================================
How to run and use the MP3 Frame analyzer
===========================================================================

To run MP3x.exe, you need
the GTK DLL files:  Either instal them on your system,
or put them in the same directory as mp3x.exe resides.



Compiling project vc9_lame 3.98 - 2

Reply #1
Do you have any real interest in doing so?

Because if you ask
Quote
What will happen if a will compling in C++ in windows XP and then in Visual basic in Vista?

then you really have no idea of what a source code is.

Compiling project vc9_lame 3.98 - 2

Reply #2
Witch program ist the BEST for simpy editing Source file of LAME codec? DEV- or Visual Basic or something else?
I just need to implement simply Pseudorandom generator.  I know how, but I dont know to compile LAME project from:
http://sourceforge.net/projects/lame/files/
So I cannot continue in Diploma work. It must by simply to compile Lame project, but every time is something wrong.

Please help with it.

Compiling project vc9_lame 3.98 - 2

Reply #3
I insist:

If you don't know the difference between Visual C++ and Visual Basic, i will not try to explain anything else. (Some clues)

You should ask your tutor what to do. You may be doing something you don't need to.

Compiling project vc9_lame 3.98 - 2

Reply #4
I still think of RNG in mp3 encoder. What's its purpose, I wonder?

Added: and why OP needs mp3 frame analyser (it's not a part of the codec)?

Compiling project vc9_lame 3.98 - 2

Reply #5
"file://e:\My Documents\Visual Studio 2008\Projects\lame-398-2\frontend\Debug GTK\BuildLog.htm":
-----------------------------------------------------------------------------------------------------------------
e:\my documents\visual studio 2008\projects\lame-398-2\frontend\gtkanal.c(1146) : error C2065:
'GTK_WINDOW_DIALOG' : undeclared identifier

e:\my documents\visual studio 2008\projects\lame-398-2\frontend\gtkanal.c(1160) : error C2223:
left of '->vadj' must point to struct/union

e:\my documents\visual studio 2008\projects\lame-398-2\frontend\gtkanal.c(1160) : error C2198:
'gtk_vscrollbar_new' : too few arguments for call
-----------------------------------------------------------------------------------------------------------------


All header files are fine on right places. There are just 3 errors with
1. declaration:
...
          textwindow = gtk_window_new(GTK_WINDOW_DIALOG);

2. "vadj" dont point to struct or union:
...
          vscrollbar = gtk_vscrollbar_new(GTK_TEXT(box)->vadj);    ...

3. too few arguments forr call: 
...
          box = gtk_text_new(NULL, NULL);
          gtk_text_set_editable(GTK_TEXT(box), FALSE);
          vscrollbar = gtk_vscrollbar_new(GTK_TEXT(box)->vadj);        ...

It must be missing any file, where is declarated "GTK_WINDOW_DIALOG". How it find?

Compiling project vc9_lame 3.98 - 2

Reply #6
I don't use GTK, but...
http://gcc.gnu.org/ml/java-patches/2003-q3/msg00458.html

Quote
I'm checking this in as obvious.  GTK_WINDOW_DIALOG is no longer present
in GTK-2.0.  This fixes a crash in the GTK dialog peer.


So, try to download older version of GTK or adapt gtkanal.c to current version.

Compiling project vc9_lame 3.98 - 2

Reply #7
I don't use GTK, but...
http://gcc.gnu.org/ml/java-patches/2003-q3/msg00458.html

Quote
I'm checking this in as obvious.  GTK_WINDOW_DIALOG is no longer present
in GTK-2.0.  This fixes a crash in the GTK dialog peer.


So, try to download older version of GTK or adapt gtkanal.c to current version.


I cannot find Older versions GTK+. Everything is 2.0 or higher or v1.2 for Ubuntu

 

Compiling project vc9_lame 3.98 - 2

Reply #8
I don't use GTK, but...
http://gcc.gnu.org/ml/java-patches/2003-q3/msg00458.html

Quote
I'm checking this in as obvious.  GTK_WINDOW_DIALOG is no longer present
in GTK-2.0.  This fixes a crash in the GTK dialog peer.


So, try to download older version of GTK or adapt gtkanal.c to current version.


I cannot find Older versions GTK+. Everything is 2.0 or higher or v1.2 for Ubuntu


A good thing is I successfuly compiled Lame
http://www.hydrogenaudio.org/forums/lofive...php/t23490.html
, only Mp3x code is not to easy compile