Comments (3)
Hi @harshkumar13, yes! I had the same problem and made a pull request to address it here Created check for MACOSX with MACH #3.
An example of my edits behind the pull request can be found here:
https://github.com/exowanderer/hotpants/blob/macosx_check_malloc/main.c
The gist is that I added
#if !defined(__MACH__)
#include <malloc.h>
#endif
#if defined(__MACH__)
#include <stdlib.h>
#endif
to every *.c
file that imported malloc.h
. OSX does not have a real malloc.h
; but the underlying malloc infrastructure is the same if we use stdlib.h
Although I haven't looked at the @acbecker's HOTPANTS master branch since February, my fork still works for me now: https://github.com/exowanderer/hotpants/
from hotpants.
I think for that, I used brew to install cfitsio
; i.e. brew install cfitsio
. You may need to direct the hotpants
Makefile towards your /usr/local/include directory.
Just in case you don't have brew
: https://brew.sh/
from hotpants.
Hi,
thanks for replying, that error get solved as per your suggestions. but now a new error comes :-
main.c:14:9: fatal error: 'fitsio.h' file not found
#include<fitsio.h>
^~~~~~~~~~
1 error generated.
make: *** [main.o] Error 1
any suggestions for this one?
from hotpants.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotpants.