Message 1 of 4
"unresolved external symbol _acedGetString"
Not applicable
12-19-2001
12:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello,
I have created two objectARX-projects in VC++.
One of the two projects can be built (0 errors, 0 warnings), the other
can't (2 errors, 0 warnings).
However, they are EXACTLY the same (not a copy, but all files and
settings are the same)
The first project was an example included in the objectarx download file
(lab01), where I added some things to make it do what I needed, the
second project was created by me.
(I added my files to the example program to check if it would work
there, since I couldn't find an error)
this is the VC++ output:
--------------------Configuration: photogr - Win32 Debug--------------------
Linking...
Creating library Debug/photogr.lib and object Debug/photogr.exp
CreateFiles.obj : error LNK2001: unresolved external symbol _acedGetString
Debug/photogr.arx : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
photogr.arx - 2 error(s), 0 warning(s)
I thought that "unresolved external" would mean that the header file
needed for the function acedGetString (acedads.h) is not present, but
the file appears in the list of 'external dependencies'. Besides, it
would be very strange that the same program would sometimes need an
extra header file, and sometimes not...
And what does the warning mean?
Does anyone know what the problem might be?
thanx a lot in advance!!
geronimo
I have created two objectARX-projects in VC++.
One of the two projects can be built (0 errors, 0 warnings), the other
can't (2 errors, 0 warnings).
However, they are EXACTLY the same (not a copy, but all files and
settings are the same)
The first project was an example included in the objectarx download file
(lab01), where I added some things to make it do what I needed, the
second project was created by me.
(I added my files to the example program to check if it would work
there, since I couldn't find an error)
this is the VC++ output:
--------------------Configuration: photogr - Win32 Debug--------------------
Linking...
Creating library Debug/photogr.lib and object Debug/photogr.exp
CreateFiles.obj : error LNK2001: unresolved external symbol _acedGetString
Debug/photogr.arx : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
photogr.arx - 2 error(s), 0 warning(s)
I thought that "unresolved external" would mean that the header file
needed for the function acedGetString (acedads.h) is not present, but
the file appears in the list of 'external dependencies'. Besides, it
would be very strange that the same program would sometimes need an
extra header file, and sometimes not...
And what does the warning mean?
Does anyone know what the problem might be?
thanx a lot in advance!!
geronimo