?
Solved

MultiVMR9 compile problems

Posted on 2006-04-28
7
Medium Priority
?
500 Views
Last Modified: 2010-07-27
Hello,

I'm stuck trying to compile the Directshow MultiVMR9 sample in VS 2005.
I get the following linker errors:

Linking...
RenderEngine.obj : error LNK2019: unresolved external symbol __imp__timeBeginPeriod@4 referenced in function "public: __thiscall CMultiVMR9RenderEngine::CMultiVMR9RenderEngine(struct IUnknown *,long *)" (??0CMultiVMR9RenderEngine@@QAE@PAUIUnknown@@PAJ@Z)
RenderEngine.obj : error LNK2019: unresolved external symbol __imp__timeEndPeriod@4 referenced in function "public: virtual __thiscall CMultiVMR9RenderEngine::~CMultiVMR9RenderEngine(void)" (??1CMultiVMR9RenderEngine@@UAE@XZ)
RenderEngine.obj : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: virtual long __stdcall CMultiVMR9RenderEngine::Render(void)" (?Render@CMultiVMR9RenderEngine@@UAGJXZ)
strmbasd.lib(wxutil.obj) : error LNK2001: unresolved external symbol __imp__timeGetTime@0

ETC....

Any ideas on what I'm missing?
Or perhaps could someone supply me with project code that will compile?
I'm really at a loss here! Please help.
0
Comment
Question by:ryanbe
  • 4
  • 3
7 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 total points
ID: 16561566
Add Winmm.lib to the list if libraries for linker.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 16561585
You can find this list in Project - Properties - Configuration Properties - Linker - Input - Additional Dependencies.
0
 

Author Comment

by:ryanbe
ID: 16562183
Thanks Alex that seems to have made some progress. Only one error left now I hope!
How did you know that file was needed?
BTW I should have mentioned it's the dll project of MultiVMR9 that I'm trying to compile.

The error:

Linking...
RenderEngine.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "private: long __thiscall CMultiVMR9RenderEngine::CreateDevice_(void)" (?CreateDevice_@CMultiVMR9RenderEngine@@AAEJXZ)
Debug\MultiVMR9.dll : fatal error LNK1120: 1 unresolved externals

Can you help with this please?
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 

Author Comment

by:ryanbe
ID: 16562507
Nevermind it builds now!

Alex I owe you some points - but one last question - how did you know this file was missing? I'm new to C++ so could use a pointer please.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 16562526
Add d3d9.lib to linker list.
Description of every function in MSDN containd library name which required for this function.
0
 

Author Comment

by:ryanbe
ID: 16562597
Thanks Alex.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 16562608
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question