![]() |
【转帖】minimun set of core libraries
minimun set of core libraries
minimun set of core libraries hi, the documentation says the core libraries include dd_root, dd_ge, dd_gi, and dd_db. however, when i tried to link these four static libraries together with dd_alloc into my app, i got link errors such as error lnk2019: unresolved external symbol "class odrxmodule * __stdcall odrxcreatemoduleobject_for_odgsmoduleobject(class odstring const &)" (?odrxcreatemoduleobject_for_odgsmoduleobject@@ygp avodrxmodule@@abvodstring@@@z) referenced in function "class odrxmodule * __stdcall odrxloadgsmoduleinternal(void)" (?odrxloadgsmoduleinternal@@ygpavodrxmodule@@xz) in dd_db, so i had to link in dd_gs and which in turns requires dd_spatialindex. if you take a look at database\ddsset.cpp (which builds into dd_db), you'll see code referring to gs module such as m_pgsmodule = :drxloadgsmoduleinternal(); so what's the minimun set of core libraries? my app wants to be able to read dwg/dxf files. if you were using dynamic libraries, then you would not need gs and spatial index to read/write dwg. for static build, there is no way to avoid this dependency. you may also need modeler library if you are intending to do anything with 3dsolids (like converting them to other versions) vladimir |
所有的时间均为北京时间。 现在的时间是 06:30 PM. |