Canot open file:
D:/MyReaderPlugin/MyReaderPlugin/XMLFiles/MyReaderPlugin_pvsm.xml;GUI_RESOURCE_FILES;D:/MyReaderPlugin/MyReaderPlugin/XMLFiles/MyReaderPlugin_gui.xml

This looks like the CMakeLists.txt is wrong such that the
ADD_PARAVIEW_PLUGIN Macro thinks that this is all one long filename:

error is here somewhere-->
   SERVER_MANAGER_XML
${MyReaderPlugin_SOURCE_DIR}/XMLFiles/MyReaderPlugin_pvsm.xml
    GUI_RESOURCE_FILES
${MyReaderPlugin_SOURCE_DIR}/XMLFiles/MyReaderPlugin_gui.xml
<--

My guess is that / is confusing cmake on windows. Try using \ instead
of using quotes.

   SERVER_MANAGER_XML
"${MyReaderPlugin_SOURCE_DIR}/XMLFiles/MyReaderPlugin_pvsm.xml"
    GUI_RESOURCE_FILES
${MyReaderPlugin_SOURCE_DIR}/XMLFiles/MyReaderPlugin_gui.xml

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



2009/3/24 binbin0406 <[email protected]>:
> Canot open file:
> D:/MyReaderPlugin/MyReaderPlugin/XMLFiles/MyReaderPlugin_pvsm.xml;GUI_RESOURCE_FILES;D:/MyReaderPlugin/MyReaderPlugin/XMLFiles/MyReaderPlugin_gui.xml
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to