Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual studio external symbol error

Posted on 2011-02-17
1
Medium Priority
?
700 Views
Last Modified: 2012-05-11
I am creating a game in gamebryo and I have an error that I am having a problem with. This error below.

SoundManager.obj : error LNK2019: unresolved external symbol "bool __cdecl SoundSystemSpecificInitialization(void)" (?SoundSystemSpecificInitialization@@YA_NXZ) referenced in function "public: bool __thiscall SoundManager::Initialize(void)" (?Initialize@SoundManager@@QAE_NXZ)

Does this error mean that he correct library is missing from the linker?
0
Comment
Question by:tango2009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
AriMc earned 2000 total points
ID: 34920083
It can be a missing library or a plain C prototype include file not prepared properly for C++.
Plain C functions used in C++ code should be introduced like this:

#ifdef __cplusplus
extern "C" {
#endif

int myPlainCFunction(int param1);

#ifdef __cplusplus
}    
#endif



0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Six Sigma Control Plans
Screencast - Getting to Know the Pipeline
Suggested Courses

597 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