Advertisement

About this error???

Started by May 07, 2002 06:24 AM
13 comments, last by Enalis 22 years, 9 months ago
Linking... main.obj : error LNK2001: unresolved external symbol "void __cdecl CheckPlayerCollision(float,float,float,float,struct CVector3)" (?CheckPlayerCollision@@YAXMMMMUCVector3@@@Z) Debug/current projects.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. what does this error usually mean??? Thanks ~ Doug
Douglas Eugene Reisinger II
Projects/Profile Site
It usually meens something wen''t wrong in the linking prcess. Go through your header files and make sure the function is declared properly (did you use the "extern" command??)

- An eye for an eye will make the world go blind -

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

Advertisement
The linker is having trouble finding the function in the lib file perhaps. Here''s a worthwhile link to check out: error LNK2001:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Ok i found that but now i have one error left and it says that im trying to convert a struct to a struct [] what the shit does this mean? ill post more info when i get home cause right now im at a friends house!!!
Douglas Eugene Reisinger II
Projects/Profile Site
you cant convert a const struct to an array. thats basically what it''s saying

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::




-eldee;another space monkey;[ Forced Evolution Studios ]
So basically, let''s just say i need the array to define a triangle so i need to define the struct as an array???
Thanks ~ Doug
Douglas Eugene Reisinger II
Projects/Profile Site
Advertisement
here is the error error
C2664: ''CheckPlayerCollision'' : cannot convert parameter 5 from ''struct CVector3'' to ''struct CVector3 *''
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

Thanks ~ Doug
Ps: sorry if i''m annoying


Douglas Eugene Reisinger II
Projects/Profile Site
Try using the address-of operator, &.
---visit #directxdev on afternet <- not just for directx, despite the name
How would i do that?
Thanks ~ Doug
Douglas Eugene Reisinger II
Projects/Profile Site
Enalis, small suggestion. the problems you are having are not opengl related. they are programming related, and i suggest that you learn (or relearn) some of the basics of c++. mainly pointers, how to use functions, classes, objects, and what all the operators do/should be used. it will help you, since with a solid foundation you will understand instead of having others do it for you.

This topic is closed to new replies.

Advertisement