Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compile ARX

1 view
Skip to first unread message

Sergey

unread,
Jul 6, 1998, 3:00:00 AM7/6/98
to

When I compile source files from ObjectARX in Visual C++ 5.0
appear errors:
Linking...
Asesmp.def : error LNK2001: unresolved external symbol _SetacrxPtp
Asesmp.def : error LNK2001: unresolved external symbol acrxGetApiVersion

Debug/arx.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
Error executing link.exe.

arx.dll - 4 error(s), 0 warning(s)

Help. What can i do? Please answer me.

sere...@usa.net


Tom Stoeckel

unread,
Jul 6, 1998, 3:00:00 AM7/6/98
to

It looks like you're missing the inclusion of the rxapi.lib library module.
Select Project menu->Settings. Pick the Link tab and the General category.
In the "Object/library modules" edit field add the missing library. I don't
know what sample you're compiling but if the arx lib directory is on MSVC++
path you can just add the name otherwise you can include an absolute path or
the relative path, i.e., ..\..\lib\rxapi.lib. As a rule you should probably
always include acad.lib, acedapi.lib, and rxapi.lib in this field. Other
libs will be needed depending on what functions you're using.

--
Tom Stoeckel
AutoCAD Express Tools Developer
tom.st...@autodesk.com
http://www.autodesk.com/expresstools

0 new messages