amaneureka / AtomOS

A multitasking monolithic Kernel based x86 targeting Operating System written in C# from scratch aiming for high-level implementation of drivers in managed environment.
http://www.atomixos.com
BSD 3-Clause "New" or "Revised" License
1.26k stars 85 forks source link

Error in building cairo #44

Closed mananpal1997 closed 7 years ago

mananpal1997 commented 7 years ago

I've built the other libraries inside libs folder but cairo.

./Build-cairo.sh is returning fatal error for "fontconfig/fontconfig.h" : no such file or directory.

amaneureka commented 7 years ago

this issue has been fixed in latest commit. pull latest changeset.

amaneureka commented 7 years ago

Closing up issue. Travis Build passed!

mananpal1997 commented 7 years ago

I started from the beginning (./Setup.sh --setup) I'm getting error at "compiling newlib"

amaneureka commented 7 years ago

Setup.sh --setup is for setting up build environment. You don't have to run every time. Seems like few binaries must get overwritten or there must be some time of conflicts that is why it is throwing error. Go to Build folder and delete newlib folder. now this time execute Setup.sh --newlib

One key idea is, set build environment. And compile libraries in libs folder only when needed.

mananpal1997 commented 7 years ago

@amaneureka there was problem while fetching from upstream after your last commit. So I deleted and cloned the whole repo again. I shouldn't get the error in this case, right?

mananpal1997 commented 7 years ago

@amaneureka that gave me error too. Shall I skip that and move on too building libraries?

amaneureka commented 7 years ago

if you were able to successfully compile toolchain first time and didn't overwrite in second then Yes you can go on compiling libraries. But in other case it would not even work.

I would suggest. Try building libraries if it worked Great else go on and do a clean environment setup.