login about faq

I am using visual studio 2013 pro using latest chilkat build: chilkat-9.5.0-x86-vc12

c:chillchilkat-9.5.0-x86-vc12includechilkatDefs.h(70): fatal error C1083: Cannot open include file: 'SystemTime.h': No such file or directory

in chilkatdefs.h I must comment out lines 70 and 71 and error goes away

see below //#include "SystemTime.h" //#include "FileTime.h"

so what is up????

asked Aug 16 '14 at 19:46

karlKemp's gravatar image

karlKemp
111


Add

#include <windows.h>
prior to including the Chilkat headers.

If you open Chilkat's FileTime.h header, you'll find this:

#ifndef FILETIME_H_INCLUDED
#define FILETIME_H_INCLUDED

// WINBASE_H is defined by MinGW's winbase.h #if !defined(_WINBASE) && !defined(MINWINBASE) && !defined(_WINBASE_H)

typedef struct _FILETIME { unsigned long dwLowDateTime; unsigned long dwHighDateTime; } FILETIME;

#endif

#endif

Clearly, the structure definition is there for non-Windows systems. If any of the above *WINBASE* definitions exist, then the FILETIME definition is omitted. Therefore, it should be omitted on a Windows system, but present if compiling in a non-Windows environment.

The question then becomes "Why are none of the *WINBASE* defined?". Just include <windows.h> to solve that problem..

link

answered Sep 08 at 18:25

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

edited Sep 08 at 18:26

Problem solved adding #include <windows.h> *I'm using mingw64 and Chilkat v9.5.0.69

link

answered Sep 10 at 23:15

Vinnie's gravatar image

Vinnie
112

I downloaded from here:

http://www.chilkatsoft.com/download/9.5.0.43/chilkat-9.5.0-x86-vc12.zip

Unzipped, and verified that in the "include" subdirectory, all of the files exist: chilkatDefs.h, SystemTime.h, and FileTime.h.

link

answered Aug 18 '14 at 10:07

chilkat's gravatar image

chilkat ♦♦
12.8k317363471

used the download now I get assume this has to do with a build setting BUT no clue what the idiots from microsoft have created in this new version of VS

ANY CLUES would be appreciated!!

c:program files (x86)windows kits8.1includesharedminwindef.h(263): error C2011: '_FILETIME' : 'struct' type redefinition c:chillchilkat-9.5.0-x86-vc12includefiletime.h(10) : see declaration of '_FILETIME'

/// this coes on for the balance of 100 errors

(Aug 19 '14 at 16:25) karlKemp

Hi karlKemp, were you able to fix your problem with _FILETIME redefinition?

c:program files (x86)windows kits8.1includesharedminwindef.h(263): error C2011: '_FILETIME' : 'struct' type redefinition c:chillchilkat-9.5.0-x86-vc12includefiletime.h(10) : see declaration of '_FILETIME'

link

answered Sep 08 at 16:32

comdias's gravatar image

comdias
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×1

Asked: Aug 16 '14 at 19:46

Seen: 1,376 times

Last updated: Sep 10 at 23:15

powered by OSQA