Solved

Visual studio external symbol error

Posted on 2011-02-17
1
684 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
1 Comment
 
LVL 9

Accepted Solution

by:
AriMc earned 500 total points
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bigHeights  challenge 13 55
ClickOnce Install - Shortcut Question 3 57
bunnyEars challenge 6 62
mapShare challenge 13 67
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now