Skip to content

Cannot build mailcore2 without errors #2014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yorgzero opened this issue Apr 30, 2025 · 0 comments
Open

Cannot build mailcore2 without errors #2014

yorgzero opened this issue Apr 30, 2025 · 0 comments

Comments

@yorgzero
Copy link

yorgzero commented Apr 30, 2025

Hello,

As a disclaimer I am new to mailcore2 and Objective C. I need to build a native OSX mail client that retrieves emails from gmail, outlook, apple mail, etc using imap and security features like STARTTLS or OAuth2.

Mailcore2 seems the right choice on Mac OSX. I am running Mac OSX Sonoma 14.3.1 on an Intel i9 Mac Book.

I downloaded the mailcore2 repo and run the instructions found here:https://github.com/MailCore/mailcore2/blob/master/build-mac/README.md

I am building for OSX Mac.

The attached screenshots show my Xcode 15.4 screen and the errors I get during build.

It seems I am missing the headers for fundamental types such as int32_t, uint8_t and so forth.

According to the code, all those definitions are found in utypes.h.

Looking at utypes.h I do find comments confirming my expectations see below:

  • Copyright (C) 1996-2014, International Business Machines
  • Corporation and others. All Rights Reserved.

  • FILE NAME : UTYPES.H (formerly ptypes.h)
  • Date Name Description
  • 12/11/96 helena Creation.
  • 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32,
  •                       uint8, uint16, and uint32.
    

However, I cannot for the life of me find the actual definitions for uint8_t in that file

utypes.h.txt

. Is there a hidding macro, I do not know.

I have attached relevant files of my project.

finally the compiler also complains about not finding wx/setup.h. I found the file on the disk, tried to add the path to the header search path to no avail.

Thanks for your help.

Yorg

mailcorebuild-1.pdf
mailcorebuild-2.pdf
mailcorebuild-3.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant