高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】odamfcapp - unresolved externals - 2.05.02
odamfcapp - unresolved externals - 2.05.02
odamfcapp - unresolved externals - 2.05.02
when compiling odamfcapp in "release" mode for win32 using visual studio 2008 i get 64 warnings and 4 errors -
you used \projectfiles\win32\msvc9\allexamples.sln solution?
vladimir
yes, i did. i have also attached the .sln and .pcproj as a zip file:
the project file is different from what i see in dd_nonlibs.zip of 2.5.2 release.
vladimir
i have compared the .vcproj with the one in the zip file and the differences are based on my local settings and my tool sets - nevertheless, i have removed the odamfcapp folder and copied it back from the zip file, i have cleaned the project and the solution and tried to rebuild it but i get just as many errors.
the errors are caused by _toolkit_in_dll_ symbol defined in your project.
you are building static project as if it was dynamic.
vladimir
i copied everything from the zip, cleaned all files and recompiled and have the same problem.
please see attached zip file for the ".vcproj" file as well as the error list.
in the attached .vcproj file the _toolkit_in_dll_ symbol is not defined.
look at the line 155 of the project file you attached.
what is the modification date of the dd_nonlibs.zip file you use?
vladimir
within the zip file, the .vcproj file has a modified date of march 17, 2008 at 7:27 am. please see the attached screen capture
yes, that is the correct one! and it has length 91250.
you, on the other hand, attached a file modified at 31.05.08 and with size 91053
vladimir
although i appriciate your help, but if i just open the file in visual studio it will change it to match my settings seuch as decimal point vs. comma - just checking the date and length can not be the most effective and accurate method testing for accuracy.
i cannot imagine how visual studio will define _toolkit_in_dll_ symbol if it was not defined.
vladimir
thanks for all your help.
this time i gave up, i removed the complete installation of opendwg from my system, will re-install from scratch and see if i can make it work. do you know of any c/c++ programmers that know opendwg libraries and would be willing to create a customized dll? if so, please e-mail me directly.
fyi:
i removed the complete onedwg installation and re-installed from the zip files and compiled the "allexamples.sln" only - this time they all compiled.
i have no idea what i had done, but obviously it was my error.
again, thanks for all your help, but i still believe that i am going to sub out my work to a contractor.
|