Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6881893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:11:11+00:00 2026-05-27T05:11:11+00:00

I am compiling C code with MinGW. The C code is a tcl package/extension.

  • 0

I am compiling C code with MinGW. The C code is a tcl package/extension.

(using the MinGW compilor, downloaded: mingw-get-inst-20111118.exe)

Compiling the code (e.g. the tcl package) works fine under linux.
I am running “./configure” and using the supplied “Makefile.in”.

The problem is that the C code at some point includes “assert.h”.

The other header files are fine, e.g. for “string.h” and “stdlib.h”.
This is because the TCL sources include a subfolder called “./compat”. In this filder the header files are located just in case they are not found somewhere else.

But in the “./compat” folder the file “assert.h” is missing. So I get an error.

I searched for the header file in “c:\MinGW\include” but I did not find “assert.h” there.

Either I copy my own “assert.h” in the “./compat” folder. Or I install some MinGW package that puts some “assert.h” in a subfolder of “c:\MinGW\”.

=== SOLUTION: ====
c:\MinGW\include\assert.h

I was the hole time in front of me!!!
My bad! thx.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:11:12+00:00Added an answer on May 27, 2026 at 5:11 am

    <assert.h> is part of standard C and included with the base dev package:

    Did you download the dev package?
    Did you download this?
    http://sourceforge.net/projects/mingw/files/MinGW/Base/mingw-rt/mingwrt-3.20/

    I don’t know about the peculiarities of the tcl package, but if it includes its own assert.h. then you should include on on the Include path, along with the libraries that came with it.

    Which IDE are your using?

    It seems you downloaded only mingw partially. Download the full development package that is bundled with IDEs like Codelite and Code::Blocks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm compiling using Code::Blocks on Windows 7 using the MinGW compiler (which I can
I am compiling with MinGW in Windows 7, using Code::Blocks as the IDE. Everything
I've downloaded MinGW with mingw-get-inst , and now I've noticed that it cannot compile
While compiling code using vim (not gvim) the output looks fine in the terminal
I'm getting a lot of errors compiling code using the boost libraries, mainly when
I generate some code using CXF from a WSDL-file. When compiling the code with
I'm compiling some C# and VB code at run time using the CodeDomProvider, CompilerInfo,
I'm compiling code using gcc that comes from Visual C++ 2008. The code is
I'm making a Win32 GUI project using Code::Blocks and the MinGW compiler. At this
Using: windows xp, g++ 3.4.4 with cygwin and g++ 3.4.5 with mingw. I'm compiling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.