几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】linker error again (http://www.dimcax.com/hust/showthread.php?t=17077)

yang686526 2009-05-06 05:02 PM

【转帖】linker error again
 
linker error again

linker error again
hi folks,
i don't get it ... i've tried almost everything, but i can't get my code working.
i link against the following libs:
$(odwg_dir)/lib/vc6md/vc6md_ex.lib \
$(odwg_dir)/lib/vc6md/dd_br_dll.lib \
$(odwg_dir)/lib/vc6md/dd_gi_dll.lib \
$(odwg_dir)/lib/vc6md/dd_alloc_dll.lib \
$(odwg_dir)/lib/vc6md/dd_root_dll.lib \
$(odwg_dir)/lib/vc6md/dd_gs_dll.lib \
$(odwg_dir)/lib/vc6md/dd_ge_dll.lib \
$(odwg_dir)/lib/vc6md/dd_db_dll.lib \
$(odwg_dir)/lib/vc6md/dd_key.lib \
$(odwg_dir)/lib/vc6md/dd_ave_dll.lib \
ole32.lib
but still receive naste linker errors complaining about unresolved external symbol (lnk2001)
class odgepoint2d const odgepoint2d::korigin"
struct odarraybuffer odarraybuffer::g_empty_array_buffer
any help appriciated,
did i miss something?
cheers
psy

psy
# 30th march 2007, 04:47 am

moderator join date: mar 2002
posts: 2,994
for dll projects _toolkit_in_dll_ symbol should be defined.
sergey slezkin

sslezkin
# 30th march 2007, 04:52 am

registered user join date: mar 2007
posts: 12

quote:
originally posted by sergey slezkin
for dll projects _toolkit_in_dll_ symbol should be defined.
i've checked this and it is defined. still no luck so far.
i got around the problem by linking to the static libs.
thanks anyways!

psy

none
? | ?
thread tools



display modes
linear mode


search this thread

rate this thread
excellent
good
average
bad
terrible

posting rules
you may post new threads
you may post replies
you may post attachments
you may edit your posts
is on
are on
code is off
html code is off
forum jump
user control panel private messages subscriptions who's online search forums forums home general topics news questions and remarks business issues industry commentary general software issues documentation issues future directions dwg libraries dwgdirect.net dwgdirect, c++ version dwgdirectx, activex version adtdirect/c3ddirect opendwg toolkit/viewkit dgn libraries dgndirect, c++ version (2.x+) dgndirect libraries (legacy 0.99xx)
all times are gmt -7. the time now is 10:07 pmfff">.
- - -
copyright ?2000 - 2009, jelsoft enterprises ltd.
copyright 1998-2008 open design alliance inc.
for dll projects _toolkit_in_dll_ symbol should be defined.
sergey slezkin

quote:
originally posted by sergey slezkin
for dll projects _toolkit_in_dll_ symbol should be defined.
i've checked this and it is defined. still no luck so far.
i got around the problem by linking to the static libs.
thanks anyways!


所有的时间均为北京时间。 现在的时间是 02:23 AM.