473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

What is Error 1 error LNK2019: unresolved external symbol ????

Here is the error while using Visual Studio 2005

Error 1 error LNK2019: unresolved external symbol "void __cdecl
print(int,int,int,int,int,int,int,int)" (?print@@YAXHHHHHHHH@Z) referenced
in function _main assign2.obj

Thanks a lot !
Here is the code:

#include <iostream>
#include <fstream>
#include<iomanip>

using namespace std;

void bubbleSort(int *array, const int, int &); //function prototypes

void selectionSort(int *, const int, int &);

void insertionSort(int *, const int, int &);

void swap(int *, int *);

void print(int array, int size, int bubbleSort, int selectionSort, int
insertionSort, int bcount, int scount, int icount);

// print(&numArray, arraySize, &bsort, &ssort, &isort,
bsortCounter,sSortCounter, iSortCounter);

ifstream inFile;

ofstream outFile;

int main()

{

const int arraySize = 10;

int numArray[arraySize];

int bsort[arraySize];

int bsortCounter =0;

int isort[arraySize];

int iSortCounter =0;

int ssort[arraySize];

int sSortCounter =0;

// each sort needs array and counter

inFile.open("input.txt"); //opening input file

if (!inFile)

{

cerr << "Error Opening File" << endl;

system("pause");

return -1;

}
for (int i =0;i < 5;i++)

{

for (int j=0; j< arraySize;j++)

{

inFile >numArray[j];

bsort[j]=numArray[j];

isort[j]=numArray[j];

ssort[j]=numArray[j];

}

cout << endl;

bubbleSort(bsort, arraySize, bsortCounter);// call the sort functions

selectionSort(ssort, arraySize,sSortCounter);

insertionSort(isort, arraySize,iSortCounter);
}

print(*numArray, arraySize, *bsort, *ssort, *isort,
bsortCounter,sSortCounter, iSortCounter);

cout << endl;
system("pause");

inFile.close();// close files

outFile.close();

return 0;

}



// Funtions below



void bubbleSort(int *array, const int size, int &count)

{

int i, pass;

for (pass =0; pass < size - 1; pass++) //# of passes

count= count+1;

for (i= 0; i < size - 1; i++) // one pass

if (array[i] array[i+1]) //one comparison

{

swap(&array[i], &array[i+1]);
}

}// end of bubble Sort function

void selectionSort(int *array, const int size, int &count)

{

int i, j, tmp;

for (i = 0; i < size - 1; i++)

{

tmp = i;

count = count + 1;

for (j = i+1; j < size; j++)

if (array[j] < array[tmp])

tmp = j;

swap(&array[i], &array[tmp]); //call swap funtion

}

}

void swap(int *element1, int *element2)

{

int tmp = *element1;

*element1 = *element2;

*element2 = tmp;

}

void insertionSort(int *array,const int size, int &count)

{

int tmp,i;

for(int j=1;j<size;j++)

{

tmp=array[j];

i=j-1;

while(array[i]>tmp && i>=0)

{

count = count +1;

array[i+1]=array[i];

i--;

}

array[i+1]=tmp;

}

}
void print(int *array, int size, int *bubbleSort, int *selectionSort, int
*insertionSort, int bcount, int scount, int icount)

{

cout << " Unsorted List Bubble Sorted Selection Sorted Insertion Sorted" <<
endl;

for (int k =0;k < size;k++)

cout << setw(15) <<array[k] << setw(16) << bubbleSort[k] << setw(20) <<
selectionSort[k] << setw(19) << insertionSort[k] << endl;

cout << endl << "Number: "<<setw(23) <<bcount << setw(20)<<scount
<<setw(19)<< icount << endl;

}// end of print function
Jun 29 '07 #1
9 9532
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
Here is the error while using Visual Studio 2005

Error 1 error LNK2019: unresolved external symbol "void __cdecl
print(int,int,int,int,int,int,int,int)" (?print@@YAXHHHHHHHH@Z) referenced
in function _main assign2.obj

Thanks a lot !
Maybe you should change your print function declaration and print
function call
like this?
void print(int array, int size, int bubbleSort, int selectionSort, int
insertionSort, int bcount, int scount, int icount);
void print(int *array, int size, int *bubbleSort, int *selectionSort,
int
*insertionSort, int bcount, int scount, int icount)

and
print(*numArray, arraySize, *bsort, *ssort, *isort,
bsortCounter,sSortCounter, iSortCounter);
print(numArray, arraySize, sort, ssort, isort,
bsortCounter,sSortCounter, iSortCounter);

misunderstand pointer's use?

BestRegards
Kmoving
Jun 29 '07 #2

<km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegro ups.com...
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
>Here is the error while using Visual Studio 2005

Error 1 error LNK2019: unresolved external symbol "void __cdecl
print(int,int,int,int,int,int,int,int)" (?print@@YAXHHHHHHHH@Z)
referenced
in function _main assign2.obj

Thanks a lot !

Maybe you should change your print function declaration and print
function call
like this?
>void print(int array, int size, int bubbleSort, int selectionSort, int
insertionSort, int bcount, int scount, int icount);

void print(int *array, int size, int *bubbleSort, int *selectionSort,
int
*insertionSort, int bcount, int scount, int icount)

and
>print(*numArray, arraySize, *bsort, *ssort, *isort,
bsortCounter,sSortCounter, iSortCounter);

print(numArray, arraySize, sort, ssort, isort,
bsortCounter,sSortCounter, iSortCounter);

misunderstand pointer's use?
Doh!

My bad..I see the problem..thanks for the great help.
It compiles now.
BestRegards
Kmoving


Jun 29 '07 #3

<km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegro ups.com...
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
>Here is the error while using Visual Studio 2005


While it compiles, it no longer is sorting properly.
I had the code for printing out the results in main();

I now put the print out in the function and now the arrays are not being
sorted.

>Error 1 error LNK2019: unresolved external symbol "void __cdecl
print(int,int,int,int,int,int,int,int)" (?print@@YAXHHHHHHHH@Z)
referenced
in function _main assign2.obj

Thanks a lot !

Maybe you should change your print function declaration and print
function call
like this?
>void print(int array, int size, int bubbleSort, int selectionSort, int
insertionSort, int bcount, int scount, int icount);

void print(int *array, int size, int *bubbleSort, int *selectionSort,
int
*insertionSort, int bcount, int scount, int icount)

and
>print(*numArray, arraySize, *bsort, *ssort, *isort,
bsortCounter,sSortCounter, iSortCounter);

print(numArray, arraySize, sort, ssort, isort,
bsortCounter,sSortCounter, iSortCounter);

misunderstand pointer's use?

BestRegards
Kmoving


Jun 29 '07 #4

<km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegro ups.com...
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
>Here is the error while using Visual Studio 2005

And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type conversion
before âvoidâ

Seems like maybe I better switch to int xxxx[]

>Error 1 error LNK2019: unresolved external symbol "void __cdecl
print(int,int,int,int,int,int,int,int)" (?print@@YAXHHHHHHHH@Z)
referenced
in function _main assign2.obj

Thanks a lot !

Maybe you should change your print function declaration and print
function call
like this?
>void print(int array, int size, int bubbleSort, int selectionSort, int
insertionSort, int bcount, int scount, int icount);

void print(int *array, int size, int *bubbleSort, int *selectionSort,
int
*insertionSort, int bcount, int scount, int icount)

and
>print(*numArray, arraySize, *bsort, *ssort, *isort,
bsortCounter,sSortCounter, iSortCounter);

print(numArray, arraySize, sort, ssort, isort,
bsortCounter,sSortCounter, iSortCounter);

misunderstand pointer's use?

BestRegards
Kmoving


Jun 29 '07 #5
Trent wrote:
<km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegro ups.com...
>On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
>>Here is the error while using Visual Studio 2005


And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type conversion
before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*, int,
int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type conversion
before âvoidâ
Show us the code. I'm not psychic.
>

Seems like maybe I better switch to int xxxx[]
In a function there is no difference

int f(int* x)

int f(int x[])

mean EXACTLY the same, x is a pointer to int. Confusing and stupid but true.

john
Jun 29 '07 #6

"John Harrison" <jo*************@hotmail.comwrote in message
news:Zt******************@newsfe6-win.ntli.net...
Trent wrote:
><km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegr oups.com...
>>On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
Here is the error while using Visual Studio 2005


And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type
conversion before âvoidâ

Show us the code. I'm not psychic.


Look in OP.
>
>>

Seems like maybe I better switch to int xxxx[]

In a function there is no difference

int f(int* x)

int f(int x[])

mean EXACTLY the same, x is a pointer to int. Confusing and stupid but
true.

john

Jun 29 '07 #7

"John Harrison" <jo*************@hotmail.comwrote in message
news:Zt******************@newsfe6-win.ntli.net...
Trent wrote:
><km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googlegr oups.com...
>>On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
Here is the error while using Visual Studio 2005


And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type
conversion before âvoidâ

Show us the code. I'm not psychic.
But here it is anyway:
I changed it a tad bit to see if the changes would work.
-----------------------------
#include <iostream>
#include <fstream>
#include<iomanip>

using namespace std;
void bubbleSort(int array[], const int, int &); //function prototypes
void selectionSort(int [], const int, int &);
void insertionSort(int [], const int, int &);
void swap(int *, int *);
void print(int array[], int size, int bubbleSort[], int selectionSort[], int
insertionSort[], int bcount, int scount, int icount);
// print(&numArray, arraySize, &bsort, &ssort, &isort,
bsortCounter,sSortCounter, iSortCounter);

ifstream inFile;
ofstream outFile;

int main()
{

const int arraySize = 10;
int numArray[arraySize];
int bsort[arraySize];
int bsortCounter =0;
int isort[arraySize];
int iSortCounter =0;
int ssort[arraySize];
int sSortCounter =0;
// each sort needs array and counter (parallel arrays)
inFile.open("input.txt"); //opening input file
if (!inFile)
{
cerr << "Error Opening File" << endl;
system("pause");
return -1;
}
for (int i =0;i < 5;i++)
{
for (int j=0; j< arraySize;j++)
{
inFile >numArray[j];
bsort[j]=numArray[j];
isort[j]=numArray[j];
ssort[j]=numArray[j];
}

cout << endl;
bubbleSort(bsort, arraySize, bsortCounter);// call the sort functions
selectionSort(ssort, arraySize,sSortCounter);
insertionSort(isort, arraySize,iSortCounter);

print(numArray, arraySize, bsort, ssort, isort, bsortCounter,sSortCounter,
iSortCounter);\

}

cout << endl;
system("pause");

inFile.close();// close files
outFile.close();
return 0;
}

// Funtions below


void bubbleSort(int array[], const int size, int &count)
{
int i, pass;
for (pass =0; pass < size - 1; pass++) //# of passes
count= count+1;

for (i= 0; i < size - 1; i++) // one pass
if (array[i] array[i+1]) //one comparison
{
swap(&array[i], &array[i+1]);

}

}// end of bubble Sort function
void selectionSort(int array[], const int size, int &count)
{
int i, j, tmp;
for (i = 0; i < size - 1; i++)
{
tmp = i;
count = count + 1;
for (j = i+1; j < size; j++)
if (array[j] < array[tmp])
tmp = j;

swap(&array[i], &array[tmp]); //call swap funtion
}
}
void swap(int *element1, int *element2)
{
int tmp = *element1;
*element1 = *element2;
*element2 = tmp;
}
void insertionSort(int array[],const int size, int &count)
{
int tmp,i;
for(int j=1;j<size;j++)
{
tmp=array[j];
i=j-1;
while(array[i]>tmp && i>=0)
{
count = count +1;
array[i+1]=array[i];
i--;
}
array[i+1]=tmp;
}
}

void print(int array[], int size, int bubbleSort[], int selectionSort[], int
insertionSort[], int bcount, int scount, int icount)
{
cout << " Unsorted List Bubble Sorted Selection Sorted Insertion
Sorted" << endl;

for (int k =0;k < size;k++)
cout << setw(15) <<array[k] << setw(16) << bubbleSort[k] << setw(20) <<
selectionSort[k] << setw(19) << insertionSort[k] << endl;
cout << endl << "Number: " << setw(23) <<bcount << setw(20)<<scount
<<setw(19)<< icount << endl;

}// end of print function
>>

Seems like maybe I better switch to int xxxx[]

In a function there is no difference

int f(int* x)

int f(int x[])

mean EXACTLY the same, x is a pointer to int. Confusing and stupid but
true.

john

Jun 29 '07 #8
Trent wrote:
"John Harrison" <jo*************@hotmail.comwrote in message
news:Zt******************@newsfe6-win.ntli.net...
>Trent wrote:
>><km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.googleg roups.com...
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
Here is the error while using Visual Studio 2005
>

And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type
conversion before âvoidâ
Show us the code. I'm not psychic.

But here it is anyway:
I changed it a tad bit to see if the changes would work.
Well that's the problem. I'm not prepared to try and diagnose problems
with your code based on some old code and the changes you say you've
made to it. Total waste of time. I'm sure all the regulars would agree
with this.

Anyway the code you've posted compiles fine for me under g++, so I'm not
sure what the issue there is. Mostly likely when you got the compile
errors under g++ with code was different from what you've just posted.

Secondly the bubble sort code is bugged. You have missed a pair of
braces. You have

int i, pass;
for (pass =0; pass < size - 1; pass++) //# of passes
count= count+1;

for (i= 0; i < size - 1; i++) // one pass
if (array[i] array[i+1]) //one comparison
{
swap(&array[i], &array[i+1]);

}

it should be

int i, pass;
for (pass =0; pass < size - 1; pass++) //# of passes
{
count= count+1;

for (i= 0; i < size - 1; i++) // one pass
if (array[i] array[i+1]) //one comparison
{
swap(&array[i], &array[i+1]);

}
}

Without those braces the only statement in the for loop is the 'count =
count + 1;' statement, so you only ever do one pass.

You should get into the habit of always indenting your code correctly.
This isn't to make it look pretty, it precisely to catch errors like this.

john
Jun 29 '07 #9

"John Harrison" <jo*************@hotmail.comwrote in message
news:Ov******************@newsfe6-win.ntli.net...
Trent wrote:
>"John Harrison" <jo*************@hotmail.comwrote in message
news:Zt******************@newsfe6-win.ntli.net...
>>Trent wrote:
<km*****@gmail.comwrote in message
news:11*********************@z28g2000prd.google groups.com...
On 6 29 , 11 11 , "Trent" <t...@nunya.comwrote:
>Here is the error while using Visual Studio 2005
>>

And finally,,

Does not compile under g++ or gcc

assign2.cpp:146: error: missing terminating " character
assign2.cpp:147: error: missing terminating " character
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â,â token
assign2.cpp:20: error: expected constructor, destructor, or type
conversion before â)â token
assign2.cpp: In function âint main()â:
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 1 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 3 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 4 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp:66: error: invalid conversion from âintâ to âint*â
assign2.cpp:66: error: initializing argument 5 of âvoid print(int*,
int, int*, int*, int*, int, int, int)â
assign2.cpp: At global scope:
assign2.cpp:143: error: expected constructor, destructor, or type
conversion before âvoidâ

Show us the code. I'm not psychic.

But here it is anyway:
I changed it a tad bit to see if the changes would work.

Well that's the problem. I'm not prepared to try and diagnose problems
with your code based on some old code and the changes you say you've made
to it. Total waste of time. I'm sure all the regulars would agree with
this.

Anyway the code you've posted compiles fine for me under g++, so I'm not
sure what the issue there is. Mostly likely when you got the compile
errors under g++ with code was different from what you've just posted.

Secondly the bubble sort code is bugged. You have missed a pair of braces.
You have

int i, pass;
for (pass =0; pass < size - 1; pass++) //# of passes
count= count+1;

for (i= 0; i < size - 1; i++) // one pass
if (array[i] array[i+1]) //one comparison
{
swap(&array[i], &array[i+1]);

}

it should be

int i, pass;
for (pass =0; pass < size - 1; pass++) //# of passes
{
count= count+1;

for (i= 0; i < size - 1; i++) // one pass
if (array[i] array[i+1]) //one comparison
{
swap(&array[i], &array[i+1]);

}
}

Without those braces the only statement in the for loop is the 'count =
count + 1;' statement, so you only ever do one pass.

You should get into the habit of always indenting your code correctly.
This isn't to make it look pretty, it precisely to catch errors like this.

okays a lor or the input. I guess I missed those after lack of sleep.

Now on to try to get the swap function to work in the insertion sort.

Trent
john

Jun 29 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jim | last post by:
All, I'm trying to debug a Python GPF while running a script that we've written. After fixing up some of the paths for the Python build and successfully building Python from ActiveState source,...
4
by: Jun | last post by:
anyone know how this error shows? how can i solve this? LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral LINK :...
0
by: Usman | last post by:
Hi I've a COM compiled in visual studio 6 that is internally using zlib library (an opensource library for compression). I've no problem compiling that code. But when I moved to visual...
5
by: eberesche | last post by:
Hello, as a novice in ASN.1 I have me to a project in C ++ under use of ASN.1 - structures risquély. One of my colleagues means, this would deal something with masochism ;-). Result should be a DLL...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
1
by: girays | last post by:
I have a template class which name is EntityRepository and when I compile this class I get no error. But when I use this class in a main method I get LNK2019 linking error. std::map object is used...
4
by: jk2l | last post by:
Error 10 error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ) GLTexture.obj Error 11 error...
0
by: Ling | last post by:
I am using boost.python to wrap C++ function which includes directmusic libraries to simply play the midi, but lots of linkage errors "error LNK2001: unresolved external symbol". I wonder if it is...
1
by: eraserwars | last post by:
I have been googeling every possible solution, but I cannot seem to fix LNK2019. My code is below, but I just cannot understand how anything related to LNK2019 from Microsoft's help center applies...
2
by: hjazz | last post by:
Hi all, I'm new to VS, and I'm using Visual Studio .NET 2003. I'm trying to write a program which uses pcap libraries. However, I keep getting the following errors: error LNK2019: unresolved...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.