Solved

Visual studio external symbol error

Posted on 2011-02-17
1
697 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Insert parts by customer 12 61
Bot application - advice 3 79
convert Systemjs to Webpack 3 121
Looking for reading material 2 38
This is an explanation of a simple data model to help parse a JSON feed
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

738 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