Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Error 1 fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory C

New Here ,
Apr 07, 2010 Apr 07, 2010

Newbie to VC++

Getting the below error in VC++ 2005, Indesign CS4

1>------ Build started: Project: WriteFishPrice, Configuration: Debug Win32 ------
1>Performing Custom Build Step
1>Compiling...
1>WFPNoStrip.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>WFPID.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>VCPlugInHeaders.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>TriggerResourceDeps.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>SDKPlugInEntrypoint.cpp
1>C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp(19) : fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\id6sdk\build\win\objD\WriteFishPrice\BuildLog.htm"
1>WriteFishPrice - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have added the path of config.hpp in "addition include directories" still it is throwing the same error.

Regards,

Suresh

TOPICS
SDK
5.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 07, 2010 Apr 07, 2010

By saying path to config.hpp you mean:

c:\id6sdk\external\asl\boost_libraries

or

c:\id6sdk\external\asl\boost_libraries\boost

because the first one is correct

Regards

Bartek

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2010 Apr 07, 2010

Neither the first not the second one:


am using the following path:
C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\external\asl\boost_libraries\boost

Now i have copied the complete 'external' folder to C:\id6sdk\ and added the directory now it is showing the following error:

Getting the following error:

fatal error C1083: Cannot open include file: 'IPMUnknown.h': No such file or directory C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\source\precomp\common\ShukHeaders.cp 46


Don't understand the concept one error leading to the other error.
How to come out of these kind of problem.

Regards,

Suresh

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 07, 2010 Apr 07, 2010

Easiest way will be if you extract InDesign SDK into one directory. Currently as i can see you running VC++ project from c:\id6sdk\build\win\prj directory against the SDK in  C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win\ directory.

Probably you haven't changed paths in SDKCPPOptions.rsp

Regards

Bartek

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 07, 2010 Apr 07, 2010

Bartek is right.

Instead of tweaking the .rsp files (plural! - you'll also need one for the .fr compiler) of the SDK, I usually have a local copy per project. This helps if you arrange your 2000 private source files into sub-folders šŸ˜‰

Dirk

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2010 Apr 07, 2010

I have checked the SDKCPPOptions.rsp, it contains the path.

1. Is this correct that i have copied the SDK Folder to C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win or i will have to copy somewhere else.
2. RSP File having the '-i "..\..\..\source\precomp\msvc"'. How to check the ".." going to the root. Will it work if i give the complete path like:
  C:\Program Files\Adobe\adobe_indesign_cs4_products_sdk_578win

Why this much complexity in the settings. Is there any shortcut to avoid these kind of settings problem.

Regards,

Suresh

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 28, 2016 Dec 28, 2016
LATEST

Hi Bartek,

I try on two VM's to fix the problems I'm meeting.

At the one I can build my plug-In without any error (after copying all the headers, missed by the Custom Build Step, into my source folder), but the Plug-In is rejected by InDesign CS2 as invalid.

At the second one I've generated with DollyXS a smple project.

Here also all headers, to be includet into the fr-file, are missing.

The include pathes should be provided by the user rsp-file.

This file was create by DollyXS and has lines as

-i "..\..\..\source...........

At that file seems to be all the incude pates in relative format, but no header is found.

When adding a qualifyed include path, the odfrc is throwing the error 'The response file "Q2" can not be opened.

The same error is thrown, when changing the introduction of the lines to

/I "..\..\..\source...

What's to do to fix that mix of errors?

Regards

Jochen

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines