Gettling linker error:LNK2001 while porting InDesign CS6 plugin code to InDesign CC plugin

Hello,
I am working on porting our existing InDesign CS6 plugin code to support InDesign CC plugin (client plugin on Windows platform)
The plugin code gets compiled successfully after makeing neccessory code (API) changes but now gettling following linker error
StackListBoxTVWidgetMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall NodeID::GetNodeType(void)const " (__imp_?GetNodeType@NodeID@@QBEJXZ)
IBClientPluginDialogController.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetEH::AddRef(void)const " (?AddRef@DVHostedWidgetEH@@UBEXXZ)
I have checked every configuration setting, all the paths to include headers and static libraries are pointing to InDesign CC SDK.
Note : Getting these linker errors in all the UI component class objects where following interfaces are inherited :
CTreeViewWidgetMgr
CIDEditBoxEventHandler
etc.
Build Environment :  Windows 7 ultimate + Visual Studio 2010 SP1 + InDesign CC Products SDK Build 244

Try including DV_WidgetBin.lib.

Similar Messages

  • Getting Linker errors while porting InDesign CC plugin code to InDesign CC 2014

    Hello,
    I am getting following linker errors during porting of plugin code from InDesign CC to InDesign CC 2014
    > PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)
    > PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)
    I am using following environment :
    OS : Windows 7 SP1 (64bit)
    Visual Studio : VS 2013 with platform tool set = Visual Studio 2010 (v100)
    InDesign SDK : InDesign CC 2014 plugin SDK (070)
    Boost Libraries : 1.55
    I have added external boost library paths in visual studio -> Linker properties -> Additional Library paths, still above linker errors persists, can someone help ?
    Thanks,
    -Harsh.

    Hello Bartek,
    Your answer resolved similar linker errors I faced while porting InDesign plug-ins from CC to CC 2014.
    I added the macro - BOOST_SYSTEM_NO_DEPRECATED to the Preprocessor Definitions in VS 2012 SP4 and the build succeeded.
    The second option of adding the macros - BOOST_ALL_DYN_LINK;BOOST_REGEX_USE_CPP_LOCALE;BOOST_REGEX_RECURSIVE;BOOST_HAS_ICU=1;BOOST_ FILESYSTEM_VERSION=3;BOOST_CHRONO_HEADER_ONLY;BOOST_SIGNALS_NO_DEPRECATION_WARNING; did not work for me.
    Can you explain why this linker error showed up? And how the macro solved it?
    Thanks,
    Vijayasri

  • Linking errors (LNK2001) for NIDAQ functions such as _NIDAQErrorHandler@12

    I am getting linking errors (LNK2001) when I try to build any of the C++ EXAMPLES that came with my NI PCI6052E (for instance AOonePoint.C). I think I've included all the necessary libs in my project but I can't get past the linker (I'm using MS VC++ 6.0) and the actual errors read something like:
    Linking...
    AOonePoint.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
    AOonePoint.obj : error LNK2001: unresolved external symbol _AO_VWrite@16
    AOonePoint.obj : error LNK2001: unresolved external symbol _NIDAQWaitForKey@8
    Debug/AOonePoint.exe : fatal error LNK1120: 3 unresolved externals
    Error executing link.exe.
    thanks for your help!

    You will need to add two library files to your project. To do this, select 'Project' from VC++ menu bar, then 'Add to Project' >> Files. Then follow this path to the files.
    /Program Files/National Instruments/NI-DAQ/Lib
    You will have to change 'Files of Type' to 'All Files.'
    The two files to add are nidaq32.lib and nidex32.lib.
    Brian

  • HT4943 I subscribed for 3 months to a magazine and an error occurred while downloading - purchase validation failed (code:1001)  any ideas?

    I subscribed for 3 months to a magazine and an error occurred while downloading - purchase validation failed (code:1001)  any ideas?

    From an answer on the Web
    1001 (PurchaseValidationError)     
    This means your purchase failed.
    This occurs when attempting to download an Issue where the receipt used by the App and the receipt recorded by Apple are mismatched. Apple's server will report that the user is ineligible for the Issue and the download will fail.
    Contact support for a resolution - from your app press the help button on the bottom right, then feedback - follow the instructions from there.

  • I am getting an linker error LNK2001 : unresolved symbol _main while compiling Microsoft c code

    I am writng a simple application in C language for communicating with GPIB. when I compile the c file I am getting a linker error
    LIBC.lib(ctr0.obj): LNK2001 error: unresolved sysmbol _main
    I compile the application in the dos window using the command
    cl gpibApplication.c gpib-32.obj.
    Could anyone tell me how to remove this error

    Hello-
    It sounds like the main function is missing from the gpibApplication.c file. Be sure that the following function is somewhere in the code:
    int main (int argc, char *argv[])
    Also, note that this function is case sensitive, so be sure main is not capitalized.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Getting an strange error in "PluginPrefix.pch" while compiling a plugin code with InDesign CS4 SDK.

    Hi everybody,
    Currently trying to compile/build the existing Plugin code (C++) with InDesign CS4 SDK on my Mac OS X 10.5 machine but getting following strange errors.
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:26:27: error: MemoryStatics.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:39:30: error: PluginBuildFlags.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:40:28: error: AnsiBasedTypes.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:41:26: error: ShukHeaders.cp: No such file or directory
    Though above mentioned files are present at the following directory
    /Volumes/../../../Adobe InDesign CS4 SDK/source/precomp/common/
    Note : However initially I did not find “MemoryStatics.h” and “AnsiBasedTypes.h” files in the installed SDK directory. I have downloaded them from the net and copied those into the above mentioned directory.
    I am not much familiar with Mac OS environment and compiling/building C++ code with Xcode. Can anyone help me to resolve this issue (might be very trivial and related to Xcode project configuration) ?

    Thanks for the quick response,
    Yes, current build settings include path shortcuts as mentioned below and it also contains “$(CS_SDK_PATH)/source/public/includes” path in HEADER_SEARCH_PATHS settings.  But still I am getting the same error: MemoryStatics.h: No such file or directory
    CS_SDK_PATH= /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK
    CS_SDK_PRJ_PATH=/Volumes/MAC Extended/Inbetween Extended/Visual Studio/InBetweenDev/Projects/InBetweenCS/IBClientPluginCS3/prjCS4/mac
    Just for clarification : my Plugin code /project files are not inside the InDesign SDK (build/mac/prj). All the plugin project is outside of the InDesign SDK directory. Thus above mentioned CS_SDK_PATH and CS_SDK_PRJ_PATH are completely different.
    Is it expected that the plugin code/project files should be inside the InDesign SDK/build/mac/prj  directory only ? or is it okay if we put it in the completely another directory structure and modify the  SDK_PRJ_PATH accordingly (as in my case) ?
    Please let me know if you want me to elaborate the situation further.

  • Link Error:LNK2001

    HI
    What is the reason for getting this error shown below
    library_name(Object file):error LNK2001:unresilved external symbol_library_function_name 
    Thanks In advance

    Hi Prabin C A,
    >>library_name(Object file):error LNK2001:unresilved external symbol_library_function_name.
    There are several possible reasons generating this error message.
    For example, the VS project properties settings issue or the symbol is spelled incorrectly or you are using mixed versions of the libraries, some from one version of the product, others from another version or others.
    Reference:
    https://msdn.microsoft.com/en-us/library/f6xx1b1z.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mini Bridge Missing from InDesign CS6 after Upgrade to InDesign Version 8.1

    I discussed this same problem https://forums.adobe.com/message/5833991 after upgrading to the prior version 8.0.2 of InDesign.
    After upgrading to InDesign Version 8.1, Mini Bridge no longer works.  Mini Bridge does not show under the Window menu and shift-clicking the Bridge icon opens the full Bridge, not Mini Bridge.
    With the prior version 8.0.2 problem, I was able to recover Mini Bridge by doing a re-install of InDesign under Window's Safe Mode.  Microsoft has somehow changed Safe Mode and I can no longer do the reinstall using Safe Mode.  I have tried several different ways of reinstalling version 8.1, but none of them correct this problem.  Still no Mini Bridge.
    Mini Bridge does work in Photoshop CS6 with no problem.
    I have read through all of the messages that seem to relate to this problem in this forum, but none of the suggested solutions work for me.
    Can anyone provide me with an answer?  If not, how do I get help from Adobe?  I am willing to pay for support, if necessary.

    RESOLVED - I can't believe it, but I have actually figured this out.
    Getting frustrated with going in circles, I decided to dig into security options.  First off, I opened Windows' Properties for the start-up icon for InDesign.  Right off, I noticed under the Compatibility tab that InDesign was set to run in Compatibility Mode for Windows XP (Service Pack 3).  This did not seem right, so I turned off the option to run in Compatibility Mode and re-started up InDesign.  Low and behold, the option Window | Mini Bridge was now displayed!  And it worked!
    Sorry to have bothered you gentlemen with this problem.  I really appreciate your assistance!
    Mark.

  • Is InDesign CS6 the same as InDesign CC?

    I have a CC membership and installed Indd CS6 a couple of months ago.
    Is InDesign CS6 actually now InDesign CC?

    Hi JDnm,
    InDesign CC has yet to be launched.
    InDesign CS6 and InDesign CC are 2 different version of the adobe application like InDesign CS4 and InDesign CS5.
    Once InDesign CC will be launched you need to install it seperatly from creative.adobe.com website and it will be on your computer as sepearte application and will not affect inDesign Cs6 (if pre-installed)

  • Does InDesign CS6 projects integrate with InDesign CC?

    I have one user that has InDesign CS6 and we looking at doing the subscription for InDesign CC for another user. If InDesign CS6 creates a project, can InDesign CC open, edit, and save  this project and visa versa?
    Thank you

    If you buy a subscription you can also install CS6, and that's waht you should be suing for collaboration with users who have CS6. CC can open CS6 files, but going the other direction requires export to .idml and there may be differences after the conversion.

  • Error 5 while installing Dreamweaver CS6

    My system is a Window 7 64-bit, and I try instal the Dreamweaver CS6, but the Dreamweaver try install the Visual Studio for systems 32-bit, and returns the error 5.
    How I can change for install the Visual Studio (x64)?

    Hi Vitimao,
    Could you please share the log files from following location this will help in debugging this issue:
    Winx64: <Root Drive>\Program files (x86)\Common files\Adobe\Installers

  • Fonts show as missing in InDesign CS6 and now also InDesign CS5.5, but infact are there.

    Company finally updated to CS6, large client's jobs all use Interstate. Yesterday would show as missing in CS6 but worked fine in CS5.5, Today show as missing in both versions but  after exporting as various file types, the fonts are infact there. How does one get rid of the phony error, so I can see "Actual" errors? I handle 10 plus files a day from this client and sometimes they try to slip a new font by us.
    For 16 months I've been loading and Activating through Font Book and have no problems at all until the CS6 install. I've removed and reinstalled fonts, I've tired all Library/fonts folders as well as Library/Application Support folders and nothing resolves this.
    Any help or direction would be appreciated.
    Thans
    cidxtwo

    The system requirements for stand-alone ID don't mention OpenGL at all. You might want to download a trial and see how it runs.
    .idml does not include any link previews (that's one of the main reasons the file is so compact). Images that are showing up on the other end must be accessible so that ID can regenerate the previews.

  • Error on Installing CS5.1, CS6 - Exit Code 15, ERROR: Media DB Error 6

    Hi. I am trying to install Photoshop CS6 trial on my machine (win 8 x64) but all the time it returns the error:
    Exit code : 15
    Summary
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: Media DB Error : 6
    I have already used all the steps described on the forum (restarting the PC, downloading again the app, using Adobe Clean Tool) and no success. I even tried to install Photoshop CS5.1, but it goes with the very same error.
    I currently have Fireworks CS6 installed, which I managed to install several months ago without a problem. However, when I try to uninstall it, it shows me also an error message:
    UNINSTALL FAILED
    Your uninstallation encountered errors.
    Troubleshooting tips:
    1. Restart your computer.
    2. Exit all applications [...]
    3. Uninstall again.
    You may also download & run the Cleaner Tool. If the problems persist, please contact Customer Support for further assistance.
    Well... here I am, Customer Support!
    I can't seem to make this thing work. I've passed my whole weekend reading about it on the web and no solution found whatsoever. How can I sort it out, please?
    Thank you,

    After using the Adobe Clean tool, I checked its output log and it mentioned it couldn't find a "caps.db" in the Common Files/Adobe/caps/ folder under Program Files or Program Files (x86).
    So what I did: I manually deleted the Adobe folders from:
    - Program Files
    - Program Files (x86)
    - Program Files (x86)/Common Files
    After that, I was able to install successfully Photoshop CS5.1 and at this very moment I'm able to install PS CS6 (it's been already 50% of the installing progress).
    So far, this action of deleting the Adobe folders from my Program Files folders seems to be sorting out the matter...

  • I have Creative cloud. I have indesign cs6. I need InDesign cc. I can't get it

    When I go to my dounload center app on my desktop, All the CC apps do not seem to be available. I click Install, nothing happens

    You know, when I got back to my computer later that evening, I was given the opportunity to download all the programs, before I even had a chance to try your solution... what's up with that.
    Next question - should I go with the CC programs and delete the CS6 ones from my computer? I am currently a student, and am not sure I will be able to afford the increased monthly fee when I graduate.... Do I get to keep the CS6, could I redownload if I get short of cash?

  • Link error, gcc-4.2 failed with exit code 1

    Hi~everyone!
    I now have a question
     that when I want to put my program into iphone(not simulator) to debug, then comes the problem with the debug message below: 
    Ld build/Debug-iphoneos/TouchCells.app/TouchCells normal armv6
    cd "/Users/TouchCells 2"
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk "-L/Users/TouchCells 2/build/Debug-iphoneos" "-F/Users/TouchCells 2/build/Debug-iphoneos" -filelist "/Users/TouchCells 2/build/TouchCells.build/Debug-iphoneos/TouchCells.build/Objects-normal/armv6/T ouchCells.LinkFileList" -dead_strip -miphoneos-version-min=4.2 -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -lSystem -o "/Users/TouchCells 2/build/Debug-iphoneos/TouchCells.app/TouchCells"
    ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib
    Assertion failed: (targetAtom != NULL), function Fixup, file /SourceCache/ld64/ld64-123.3/src/ld/ld.hpp, line 393.
    0  0x13886  __assert_rtn + 86
    1  0x11e67a  ld::passes::stubs::arm::StubHelperAtom::helperHelper(ld::passes::stubs::Pass&) + 874
    2  0x11e76d  ld::passes::stubs::arm::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pas s&, ld::Atom const&, bool, bool, bool, bool) + 189
    3  0x1198e2  ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 4146
    4  0x11a2a5  ld::passes::stubs::Pass::process(ld::Internal&) + 2005
    5  0x11a803  ld::passes::stubs::doPass(Options const&, ld::Internal&) + 131
    6  0x1504d  main + 957
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
    Everything works fine in simulator.
    Any suggestion is appreciated! Thanks a lot!

    I've found the problem that is my system have a incompatible file named libSystem.dylib, so I replace the file with a copy of the correct file from my colleague. That fix my problem.

Maybe you are looking for