Changes between Initial Version and Version 1 of FAQ_runtime


Ignore:
Timestamp:
02/28/14 16:20:12 (10 years ago)
Author:
Marek Kurdej
Comment:

Added: cannot load plugin

Legend:

Unmodified
Added
Removed
Modified
  • FAQ_runtime

    v1 v1  
     1[[PageOutline(1-2,Contents,inline)]]
     2
     3= FAQ -- common run-time errors =
     4
     5== Plugin loader failure ==
     6=== Error message ===
     7{{{
     8#!div style="color: red"
     9000038 [2014-02-28 15:50:58.750509] <error> cannot load plugin '!PluginName.dll'. Plugin loader returned
     10error: Cannot load library !.//PluginName.dll: ...
     11}}}
     12
     13=== Solution ===
     14
     151. Check if filename '!PluginName.dll' is correct in your XML file.
     16X. Check if the correct version (release/debug) is used, see plugins ''postfix'' attribute in the XML.
     17X. Check if this file exists in the same directory as the executable.
     18X. Check if this component CMakeLists.txt uses ```create_export``` and ```pacpus_plugin``` macros and that it adds generated files to the source file list, e.g.:
     19{{{
     20create_export(EXPORT_HDR ${PROJECT_NAME})
     21pacpus_plugin(PLUGIN_CPP PLUGIN_H ${PROJECT_NAME})
     22
     23set(SRCS
     24    ${PLUGIN_CPP}
     25    ...
     26)
     27}}}
     28X. (Windows specific) Check if the .dll file exports any symbols (using e.g. [[UsefulTools|DependencyWalker]]).
     29X. ... TO BE FOUND