IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Coding with vorbis under Visual Studio
teal
post Apr 10 2010, 03:44
Post #1





Group: Members
Posts: 1
Joined: 10-April 10
Member No.: 79739



Hello,

I'm a student trying to write an app to produce a spectrogram from vorbis files. In effect, I'm trying to intercept the MDCT coefficients from the stream before they are transformed into PCM and output the result as an image much like how spectrograms are produced with the short-time FT. My end goal is then to feed the image (which might go undergo editing) back into the encoder/decoder and return with a vorbis/PCM file.

I'm having trouble starting off. I have created a new project (vorbisfile) and added vorbisfile_example.c. I compiled the dynamic libraries for libvorbis.dll and libvorbisfile.dll. I set the paths for additional libraries and include paths to where the these libraries and include headers are located.

However, when I try to compile I receive (VB2005)

Error 1 error LNK2019: unresolved external symbol _ov_clear referenced in function _main vorbisfile.obj
Error 2 error LNK2019: unresolved external symbol _ov_read referenced in function _main vorbisfile.obj
Error 3 error LNK2019: unresolved external symbol _ov_pcm_total referenced in function _main vorbisfile.obj
Error 4 error LNK2019: unresolved external symbol _ov_info referenced in function _main vorbisfile.obj
Error 5 error LNK2019: unresolved external symbol _ov_comment referenced in function _main vorbisfile.obj
Error 6 error LNK2019: unresolved external symbol _ov_open_callbacks referenced in function _main vorbisfile.obj
Error 7 fatal error LNK1120: 6 unresolved externals C:\Projects\vorbis\libvorbis-1.3.1\win32\VS2005\vorbisfile\Release\Debug\vorbisfile.exe

I was wondering if someone could suggest me a solution. I am able to compile the projects included with the source code fine, but not when I create my own project.
Go to the top of the page
+Quote Post
benski
post Apr 10 2010, 04:58
Post #2


Winamp Developer


Group: Developer
Posts: 670
Joined: 17-July 05
From: Brooklyn, NY
Member No.: 23375



did you add vorbisfile.c to the project?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd October 2014 - 00:26