login about faq

Hi,

I am interested in your API''s and I want to try to couple of C and C++ API's in Dev-CPP compiler but I am getting error.

I wanted to compile this AES program https://www.example-code.com/C/crypt2_aes.asp and I download 6MB C language libraries from your websites and I copied all the header files in chilkat include folder to Dev-cpp Include folder.

Now I am getting too many undefined reference errors

asked Jul 07 at 05:54

uday123's gravatar image

uday123
1


Hi Uday,

I think the problem is that Chilkat needs to provide MinGW TDM GCC 4.9.2 libs. I'll see if I can do this later today..

Also, I noticed in your private email that you're trying to use the Chilkat "C" libraries in a C++ program. I'm not sure why you would do that.. it's more natural to use the Chilkat C++ classes in C++ rather than "C" functions. If a .cpp file (compiled as C++) chooses to include a "C" header, it must do so by using "extern "C""

For example:

extern "C" {
#include "C_CkCrypt2.h"
}

link

answered Jul 07 at 09:34

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

edited Jul 07 at 09:34

I created a web page where sample project downloads will be located. This is the 1st one..

https://www.chilkatsoft.com/sample_projects.asp

This download includes the static library and headers, and builds without any problem.

link

answered Jul 07 at 10:30

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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:

×33

Asked: Jul 07 at 05:54

Seen: 242 times

Last updated: Jul 07 at 10:30

powered by OSQA