|
|
| damn these make files |
|
IronBob
Member #3,248
February 2003
|
ok ive been trying to install some extension libs for allegro lately and so far ive only gotten one to work. that was allegroGL and now im going to try and add more. ive been working on libnet, hawknl, and freetype. the closest one ive gotten to being finished is libnet. and only one thing is in the way of that. questions: libnet: freetype: make: Nothing to be done for `all'. even with make setup. i dont know what parameters to do for it to install on dev-c++. hawknl: 1) gives me this: err.c: In function `nlGetError': err.c:117: warning: control reaches end of non-void function gcc -Wall -I../include -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 - thread.o thread.c thread.c:62: pthread.h: No such file or directory thread.c:63: sched.h: No such file or directory make: *** [thread.o] Error 1 ive tried putting the other headers in different directories but nothing seems to work, gives me this: c:\devcpp\bin\..\lib\gcc-lib\mingw32\2.95.3-6\..\..\..\..\mingw32\bin\ld.exe: ca C make: *** [all] Error 1 any suggestions on how to get these working (preferably libnet and freetype) would be just fine and dandy. |
|
X-G
Member #856
December 2000
|
Errr. For hawknl, GO INSTALL PTHREADS FIRST! -- |
|
IronBob
Member #3,248
February 2003
|
1) is pthreads in the hawknl download |
|
X-G
Member #856
December 2000
|
1) No -- |
|
IronBob
Member #3,248
February 2003
|
ive already tryed google. all i got was crap. |
|
MiquelFire
Member #3,110
January 2003
|
--- |
|
X-G
Member #856
December 2000
|
What do you mean? IT'S THE SECOND GOD DAMN HIT ON A SEARCH FOR "pthreads"! >_< -- |
|
IronBob
Member #3,248
February 2003
|
ok i got it. the next problem is figuring out how to install this monster. |
|
X-G
Member #856
December 2000
|
make, make install? Or maybe RTFM? -- |
|
IronBob
Member #3,248
February 2003
|
ya i know im doing make its so huge i just dont know exactly what to do for it to work. [edit]ok, now i need those unix tools for cp AGAIN. all i can find is some stupid thing with a gay thinstall thing that does total crap.[/edit] |
|
CGamesPlay
Member #2,559
July 2002
|
This should prolly be in programming questions, but since its not: the Web Support said: Tell your daddy to get an iMac. It's a computer for idi... for mommies and daddies. No offense or nothin'... You're just having a lot of trouble with stuff I didn't find troubling... -- Ryan Patterson - <http://cgamesplay.com/> |
|
Korval
Member #1,538
September 2001
|
Quote: Tell your daddy to get an iMac. It's a computer for idi... for mommies and daddies. Having to download Unix tools onto a PC is the most rediculous thing I've ever heard. Makefiles are a flaming pile of crap. That's the fundamental problem with the "Open Source Movement", and it will be the fundamental reason why it fails to really catch on with the home user. The common way OSM libraries are distributed: Here's a library. But, wait, in order to use it, you have to compile it, because God forbid that I ever give you something that is immediately useable out of the box. After all, you'll probably want to wade through my thousands of lines of uncommented, crappily written, code to change things. And, of course, you're never going to use the unmodified library, so there's no need to give out a compiled binary. In order to compile it, you have to download these 10 other libraries. But, of course, I'm not going to do anything like give them to you, add the library headers to my distribution, or even go so far as to provide a friggin' link to them. Oh, and heaven forbid that you not be using *NIX as your OS of choice. In that case, you're going to have to download about 100MB worth of tools that, considering that you're a non-*NIX user, have never, ever needed before. And, likely, will never ever need again. But, here's the real kicker. If you happen to be using a real development environment like VC++, you're on your own, as the libraries that the makefile builds can't be used by your compiler. Oh, sure, I probably have VC++ myself, and I probably used it in part to develop this library, but I can't possibly be bothered with doing so much as giving out a simple .dsp file (which has the equivalent weight of a makefile, but in a nicer package). So, instead, you're going to have to create a project yourself, add all the relevant files to it (Oh, and, just to be cute, I'm not going to tell you what is and is not relevant), and set up the project with whatever #defines and switches that you can do on the command line with gcc that you have to set up in project settings. Of course, I'm not going to help you do this in any way, shape, or form. So, I hope you know your dev environment inside and out, as well as how to read a makefile (since that's where the relevant info is anyway). [End spiel] Guess what. Not all of us are living in the 1980s!! Some of us have decided to move into an era where we don't need makefiles. There are better ways to build projects nowadays. This comes after a weekend where I spent an entire day trying to get LuaBind to compile. And, once I did, I came to the realization that I can't use a .a file, and now I have to build a VC++ project for it. And here you come with your rediculous notion that makefiles, and the associated crap that comes with them, are trivial. The only reason makefiles haven't been abandoned for something more reasonable is because of traditions. The people in the best position to think of something better are the same people who swear by this outdated crap. |
|
psundlin
Member #175
April 2000
|
I'm dumb! [edit] Sometimes makefile can be a royal pain, but most of the time it works perfectly for me. And it is not so difficult to create one. Lots of stuff in google. |
|
23yrold3yrold
Member #1,134
March 2001
|
No, it was accurate. I hate makefiles too, for exactly the same reasons. -- |
|
Thomas Fjellstrom
Member #476
June 2000
|
Once I get into auto conf, I won't even have to deal with Makefiles, or making sure pre-reqs are there. -- |
|
Matthew Leverton
Supreme Loser
January 1999
|
I think most people that dislike makefile really do because they don't understand them. What if MSVC natively supported "unix" style Makefiles? Then you would love them. Korval's mini rant is basically just against projects that are hard to compile for his MSVC platform. I don't think he mentioned one reason why makefiles are bad. So to say you hate makefiles for the same reason - well that doesn't make much sense. Sure, not everyone uses unix/gcc style coding with makefiles. But on the same hand not everyone uses MSVC either. What good would Korvals MSVC libraries do for a Java developer? Or a MacOS X developer? Or a UNIX developer? All of which, I believe are still being sold and used in this modern year of 2003. |
|
23yrold3yrold
Member #1,134
March 2001
|
I agree with Korval's reasons why makefiles suck I agree with disliking Unix tools for PC's too. I hate using the command line -- |
|
Thomas Fjellstrom
Member #476
June 2000
|
Really? Cool. I want you to make a gui out of the following command. though, you have to make that GUI just as flexible as that command is.. ie: the whole thing is editable. ls -Rf . | grep text - | perl -e 'for ( <STDIN> ) { chomp; if(/(.*):$/) { $d = $1; } else { print "$d/$_\n";} }' -- |
|
MiquelFire
Member #3,110
January 2003
|
Trying to scare people away from the command line there? --- |
|
Thomas Fjellstrom
Member #476
June 2000
|
Nope. I WANT 23 to make a GUI that can do something like that. So I don't have to type out all that... I WANT a gui that is that powerful and flexible. edit: That was a simple example.. Some "find" tools will do something like that.. But I mean in the general sense of the command, the idea that you can tie various programs together to do a job, see instead of printing the files, I could have added them to a tar archive, emailed them with "sendmail", made a html index of all of them, etc... edit2: for you 'Understandable == Simple' no? -- |
|
23yrold3yrold
Member #1,134
March 2001
|
I'll shoot for understandable, thanks ... Quote: edit2: for you 'Understandable == Simple' no? In a way. I don't want to have to spend a day reading a manual to figure out how to get a program to download a file off the internet. Friggin' wgets I see nothing wrong with setting a few parameters in a dialog box and hitting "Go". Worst comes to worst, you can have a text box for your fanciness up there (like Dev-C++ can do with compiler flags). -- |
|
Thomas Fjellstrom
Member #476
June 2000
|
If I can understand it Im sure you can I mean really, I can't handle having a life, or a job, or my college classes, letalone more than one of those at once, so I'm absolutely sure you can understand at least the concepts, and even make a kick ass gui that can do some thing like that. edit: Quote: Friggin' wgets how hard is wget http://blah.com/myfile.ext?? edit2: Quote: Worst comes to worst, you can have a text box for your fanciness up there Which totaly defeats the gui... Might have just as well done the command from a console/terminal. edit3: If you can understand as much about C++ as you seem to, makefiles, wget and whatever should be an absolute cinch for you. Maybe you don't try because you "think" its too hard? -- |
|
23yrold3yrold
Member #1,134
March 2001
|
Quote: I mean I only tied 'ls', 'grep', and 'perl' together, utilizing 2 different script languages, them being Perl and Bash Shell, nothing too overly complex there. Oh? Is that all? 0_o Quote: how hard is wget http://blah.com/myfile.ext?? Oh yeah, write a simple example. Now go look up that thread where you all told me I could use it to get that Spirited Away trailer and three hours later I had bupkus. EDIT: I think I had to download 2 different zip files and read a bunch of docs and wtf ... I just want a damn file off the Internet!!!! Quote: Which totaly defeats the gui... Might have just as well done the command from a console/terminal. No, for the simple stuff just push some buttons and if you need to do some of the fancy text stuff you can do that too. Again, like how Dev-C++ lets you add compiler flags. I've tried to learn how my makefile works and it pisses me off. I'll just make the pretty games and let you guys worry about it. I mean, I got a choice; I can spend a day or two reading and learning about some system of compiling that apparently requires its own language, or I can hit F7. I'm here to make games, not become a Unix guru -- |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: I could use it to get that Spirited Away trailer and three hours later I had bupkus. First you have to realize that QT files are wrapped up... First you download that first file, then you open it up in a text editor, then you grab the url in that file that looks like It'd be what youre lookign for and w0w, you've got it. I did it that way. Quote: I've tried to learn how my makefile works and it pisses me off. I was right. You didn't try. -- |
|
23yrold3yrold
Member #1,134
March 2001
|
Quote: First you have to realize that QT files are wrapped up... First you download that first file, then you open it up in a text editor, then you grab the url in that file that looks like It'd be what youre looking for and w0w, you've got it. I did it that way. I tried it. I couldn't even download the first file, and I typed exactly what you guys told me to. Quote: I was right. You didn't try. I did try. I read the official docs a few times over; I couldn't get anything out of it. I need a beginners tutorial (do Unix users understand "beginners"?) I had no trouble learning OpenGL. I had no trouble learning CSS. I had no trouble learning HTML ... but those stupid makefiles ... I won't try now, since I don't think it's worth the headache. If that changes in the future, I'll give it another go. In the meantime, I have an actual project and a bunch of other stuff to learn. -- |
|
|
|