12 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Member Avatar for Dazza2
0
1K
Member Avatar for LieAfterLie

I was following [this tutorial](http://www.swiftless.com/tutorials/opengl4/1-opengl-window.html) for my first attempt at OpenGL. All I'm doing is initializing an empty window. His VS 2010 code is [here](http://www.swiftless.com/?download=1%20-%20OpenGL3%20-%20Window). Using Dev-C++ as my IDE on Windows 7, and MS SDK 7.1, I get this error: [Linker error] undefined reference to `_imp____wglewCreateContextAttribsARB' ld returned 1 …

Member Avatar for DeanMSands3
0
1K
Member Avatar for Geowil

Hey everyone, I need some major help. I was going to get some development time in on one of my projects when I found that my installation of VS2008 Pro no longer wanted to compile any projects. I have tried making empty problems with just the int main(), nothing else …

Member Avatar for Geowil
0
509
Member Avatar for mangopearapples

Hey guys, I just started to try and use OpenGL and I wanted to run an example but I get linker errors. The code is just fine but it has linker errors says the console. Linker Errors/Console: [CODE] [Linker error] undefined reference to `glFinish@0' [Linker error] undefined reference to `wglSwapBuffers@4' …

Member Avatar for Stefano Mtangoo
0
524
Member Avatar for iamthesgt

In my program that uses separate compilation, the only problem I have left is a linker error. To see if it was just a syntax error somewhere obscure, I made a simple "hello world" program that uses separate compilation. I get the same error. The code is below. If someone …

Member Avatar for iamthesgt
0
615
Member Avatar for epicasian

Well, I've been Googling for at least 30 minutes, and looking through past posts about this, but just can't seem to find an answer that works. Basically, I've got a component class that has a single method I'm trying to test out. The entity class has a private array of …

Member Avatar for epicasian
0
214
Member Avatar for rowanmck

Hi, I'm a newbie to C++ so please be patient. I have to create program that outputs a simple moire pattern or a graph of y-values from a .csv file depending on which one is called. The code below is what I have before main and is where I am …

Member Avatar for uridvir
0
2K
Member Avatar for fussballer

Hello, I was compiling some code and get the following compiler errors: error C3861: '_stprintf_s': identifier not found error C3861: '_tcscat_s': identifier not found I got the code from the MSDN Library: [URL="http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx[/URL] I tried to find some info about the _stprintf_s and added the header <tchar.h> This got rid …

Member Avatar for fussballer
0
498
Member Avatar for dohpaz42

In a nutshell I am trying to write a program that will connect to a database, query several tables for various sets of data that will then be transformed into XML that is stored into a file on the local hard disk. My first thought process to solve this problem …

Member Avatar for dohpaz42
0
194
Member Avatar for aleX_X

Keeping getting into errors in my code...this looks to be the wierdest so far... [CODE]class bug: public living{ protected: bool ate; int energy; public: virtual void moveToFood(point hunter, point food); bool eatIt(point hunter, point food){ int hx, hy, fx, fy; hx=hunter.getx(); hy=hunter.gety(); fx=food.getx(); fy=food.gety(); if((hy==fy)&&(hx==fx)) ate=true; else ate=false; return ate; …

Member Avatar for daviddoria
0
415
Member Avatar for GDICommander

Hi, everyone! I'm having trouble with a linker error (I'm using Visual Studio 2008) and I would like to have some tips on solving this problem: This is my code: Bill.cpp [CODE] #include "Bill.h" #include "../Exceptions/InvalidArgumentException.h" Bill::Bill() { } Bill::Bill(string shopName) { if (shopName == "") { throw(InvalidArgumentException("The shop name …

Member Avatar for GDICommander
0
166
Member Avatar for vileoxidation

Thanks to the help I recieved earlier, I figured out how to make my other header file and my other .cpp file!! So thank you for that. I am now trying to compile all of my files together, and am getting quite a few linker errors, even though the functions …

Member Avatar for vileoxidation
0
217

The End.