27 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for danibootstrap

Hello, I am getting a linked error when I changed file name to cpp. 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl func_name(double * *,int,int,int,double * *,double * *,double * *,double * *)" I am using objects in my new code but this function which was there earlier is …

Member Avatar for rubberman
0
290
Member Avatar for laaus001

I have Clipper Compiler Ver 5.0, also an older version. I used the earlier version along with dBase III+. I still have both but cannot remember the command to compile the PRG files from dBase III+. I look for and OBJ file after typing Clipper <mymainprgfile>. I don't know if …

0
145
Member Avatar for younes.keraressi

![![hi, im wondring why i get this error here my code: #include <iostream> #include "Stuff.cpp" using namespace std; int main() { //... } //Stuff.cpp #include <iostream> #include <string> using namespace std; bool Correct_Parent(string x) { int p_Left_Counter = 0; int p_Right_Counter = 0; for(unsigned int c = 0; c < …

Member Avatar for younes.keraressi
0
187
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 Marcusflint

Hi, Im new to SDL, when i compile this example program i got these linker errors first defined here .drectve `/manifestdependency:"type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized [Linker error] undefined reference to `__security_cookie' [Linker error] undefined reference to `_alloca_probe_16' [Linker error] undefined reference to `@__security_check_cookie@4' [Linker error] undefined …

0
128
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 Guipborges

I am migrating my code from the builder 6 to embarcadeiro xe2 c++. The files.Cpp are constructed separately without problems, however when I build all comes the following error message-> [ILINK32 Error] Fatal: Unable to open file 'TYPINFO.LIB' FAILED! And the process ends! Can anyone help me?

Member Avatar for Banfa
0
93
Member Avatar for xtinab

I keep getting these errors: Validation.obj : error LNK2005: "bool __cdecl dotDashRules(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?dotDashRules@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in main.obj Validation.obj : error LNK2005: "bool __cdecl IsValid(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?IsValid@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in main.obj I can't get rid of them. This program is …

Member Avatar for thines01
0
597
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
508
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
522
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 becool007

Hey Im tryin to make a simple project which is pretty simple, but I cant seem to get it right :P Anyways, it goes like this. I have the main file which creates the window and stuff. And then I have an other file which populates the main file with …

Member Avatar for becool007
0
365
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 jess314

Hi all, So, I'm a real newbie at this, and I don't even know where to start really. I'd appreciate some help. I've downloaded Allegro 4.9 onto my computer (running Windows Vista), and I want to use it with Code::Blocks IDE. I've tried many a google search, but none of …

Member Avatar for jess314
0
292
Member Avatar for alex-VX

hi I'm trying to create a player class for irrlicht the main game file calls it like this [CODE=c++] CPlayer cPlayer; player = cPlayer.Create();[/CODE] the thing is that the function must return the player so the function must be scene::IAnimatedMeshSceneNode*. player header [CODE=c++]#ifndef __C_Player_H_INCLUDED__ #define __C_Player_H_INCLUDED__ #include <irrlicht.h> using namespace …

Member Avatar for mike_2000_17
0
270
Member Avatar for dansnyderECE

I'm trying to compile an executable (ELF file) that does not use a dynamic loader. I built a cross compiler that compiles mips from linux to be used on a simulator I made. I asserted the flag -static-libgcc on compilation of my hello.cpp file (hello world program). Apparently this is …

Member Avatar for vijayan121
0
2K
Member Avatar for dansnyderECE

I'm a bit confused about the executable offset in ELF files. Do you know what the difference between an address and an offset is in this context? It seems obvious but if you look at the 2 sections I bolded, sometimes the offset is something like : 00400164 000164 which …

Member Avatar for dansnyderECE
0
188
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
495
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
193
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 moods125

[[CODE]#include <iostream> #include <string> using namespace std; class digits { }; class numOutofRange { }; int string_to_int(string s) throw(digits, numOutofRange); int main() { int histogram[10]; int total; int currentNumber = 0; string s; for(int i=0; i < 10; i++) { histogram[i] = 0; } cout <<"How many numbers do you …

Member Avatar for moods125
0
155
Member Avatar for blainegeneral

I have been trying to figure out where this is comming from: [CODE]1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall StudentList::getStream(class std::basic_ifstream<char,struct std::char_traits<char> > *)" (?getStream@StudentList@@QAEXPAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@@Z) referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall StudentData::StudentData(void)" (??0StudentData@@QAE@XZ) referenced in function "public: __thiscall StudentList::StudentList(void)" (??0StudentList@@QAE@XZ) …

Member Avatar for Salem
0
202
Member Avatar for fidan

Hello, I have compiled a GCC plugin successfully, but I get error when linking: [CODE]$ make /opt/imo/bin/g++ -g -fplugin=../libimo/libimo.so -o test main.cpp cc1plus: error: Cannot load plugin ../libimo/libimo.so ../libimo/libimo.so: undefined symbol: _ZN11NodeFactory10CreateNodeEN4BEEV4KindERKNS0_7ASTNodeES4_RKSt6vectorIS2_SaIS2_EE make: *** [default] Error 1 [/CODE] I know that the plugin works fine for other Ubuntu users, so …

Member Avatar for fidan
0
608
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 thetechguy

I'm newish to c++ and even newer to ubuntu I tried linking and this is what I got: g++ -o calculator *.o -lcrypt -lm main.o: In function `main': main.cpp: (.text+0x1ea): undefined reference to `SAMSErrorHandling::Initialize()' main.cpp: (.text+0x2fa): undefined reference to `SAMSErrorHandling::HandleNotANumberError()' main.cpp: (.text+0x322): undefined reference to `SAMSPrompt::UserWantsToContinueYOrN(char const*)' collect2: ld returned …

Member Avatar for thetechguy
0
187
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
216

The End.