Skip to main content
Inspiring
February 22, 2021
Answered

wxPlugin compile error

  • February 22, 2021
  • 2 replies
  • 668 views

Hi.

 

I am using Acrobat XI, VS2010 to compile wxPlugin in windows10,

but the error C1083: Cannot open include file: '../../../lib/vc_lib/mswd/wx/setup.h': No such file or directory occured.

I have created the folder "NonAdobeSupport" in Acrobat XI SDK\Version 1\, and the following is "NonAdobeSupport" folder structure.

I have installed wxWidgets-3.0.5 , and copied the contents of \wxWidgets-3.0.5\include to \NonAdobeSupport\wxWidgets\win\include, and the contents of \wxWidgets-3.0.5\lib to \NonAdobeSupport\wxWidgets\win\libraries.

 

In the "Guide to SDK Samples" document, it says

(1)the libraries directory containing the contents of the lib directory, including the lib/wx/ directory

(2) Add header paths for ..\..\..\..\NonAdobeSupport\wxWidgets\win\libraries\mswd\

but I cann't find the lib/wx/ directory and the mswd directory.

 

What setting did I make a mistake?

 

Thanks!

 

 

 

 

This topic has been closed for replies.
Correct answer erieru103

I solved my compile error.
I should compile the \wxWidgets-3.0.5\build\msw\wx.dsw to generate vc_lib before compile wxPlugin.

Thanks.

2 replies

erieru103AuthorCorrect answer
Inspiring
February 24, 2021

I solved my compile error.
I should compile the \wxWidgets-3.0.5\build\msw\wx.dsw to generate vc_lib before compile wxPlugin.

Thanks.

Bernd Alheit
Community Expert
Community Expert
February 23, 2021

Does the file '../../../lib/vc_lib/mswd/wx/setup.h' exists?

erieru103Author
Inspiring
February 23, 2021

No, it doesn't exists.

I know the error occured because the setup.h file doesn't exist.

I think this file is from wxWidgets-3.0.5, but I cann't find it in wxWidgets-3.0.5.

Where is it?

 

Thanks.