Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing??? C libraries
#11
--help?? I will try it... But it is actually a mingw compiler what is included with Dev - C++.

Oops as i can remember with an older Linux distro which had GCC (You know my problem - it was in my signature a month before :evil: ) i got that list - how confusing it was! Big Grin

Hey! I just want to program, not to tweak compilers for ages!! :lol:
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#12
I use Dev-C++ and, IMHO, it just takes a bit of exploration. Wink

Edit: The gcc.exe that came with Dev-C++ doesn't have a help parameter apparently. If you try -?, -h or -help, it renders an "unrecognized option" error.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply
#13
so much on "i make so complex c/c++ programms you wouldn't understand" hehe. nah no offense.
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply
#14
Somebody please give me a complete command - line description for these compilers and linkers since Dev-C++ is buggy an not let things compliling neither if i give the option to the "additional linker options" or the "additional compiler options". Without this i really can not go further. Or give me where is it specified in Dev-C++ that which libs needed to be used by the linker (i will try to find it out on my own too...)
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#15
You have Dev C++ 4? You know, they have a 5 now,. probaly a 6 maybe, I havn't checked back yet.. :wink: ..
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#16
Damn! I had to type this all by hand as i could not find a way to copy/paste from that cursed compiler log of Dev-C++!!! :evil: :evil:

Worked:
Code:
Linking files:
E:\...\BIN\gcc "e:\...\gltmp.o" -o e:\...\Gltemp.exe -lopengl32 E:\...\RSRC.o -fverbose-asm -s -mwindows -O1 -O2 -fexpensive-optimizations -IE:\...\INCLUDE\ -IE:\...\INCLUDE\G__~1 -IE:\...\INCLUDE\ -LE:\...\LIB\ -BE:\...\BIN\

Not worked (Gave the undefined references on DrawDib stuff):
Code:
Linking files:
E:\...\BIN\gcc "e:\...\osspec.o" -o e:\...\Fade.exe -lvfw32 E:\...\RSRC.o -fverbose-asm -s -mwindows -O1 -O2 -fexpensive-optimizations -IE:\...\INCLUDE\ -IE:\...\INCLUDE\G__~1 -IE:\...\INCLUDE\ -LE:\...\LIB\ -BE:\...\BIN\

Now i completely have no clue... Both links were almost the same, why the second one failed? Of course the lib existed and as i checked it had the reference to the DrawDib stuff. I even checked the lettercases in the lib, and everything matches. Somebody please tell me WHO THE HECK IS PLAYING THESE STUPID JOKES WITH ME????!!!! :evil:

I tried to copy the whole mess in a BAT file to compile, then what a surprise: i got especially the same result with the undefined references. Just for a check i tried it with an invalid library name: it kicked me out with the error "library not found"... Then something is wrong with my original libraries??


(In dev-C++ 5 ";" not works with HU keyboard, so it is completely useless for me)
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#17
Quote:so much on "i make so complex c/c++ programms you wouldn't understand" hehe. nah no offense.

I really made already lots of C code, but so far i could live without these cursed libraries. With that i meaned that i can write C code, not that i can tweak the compiler. And what my codes did were really complicated. Look in the fade algo i posted here: as you can see it is not an usual thing. Then imagine 180Kb of code full with such things Wink

(I sent a PM to MarcezTM about it - what made me writing that line)
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#18
I think i found the bug... My library "vfw32" is buggy. Just because i tried out the high resolution timer with linking the "winmm" lib, and it worked flawlessy. So from where is it possible to get a functional library set? After all i can not guess anything else. I would have no clue to why that lib fails otherwise.
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#19
Quote:You have Dev C++ 4? You know, they have a 5 now,. probaly a 6 maybe, I havn't checked back yet.. :wink: ..
Yeah, it's still a beta though. It's a stable release, but there are still bugs, by the definition of "beta" when used in conjunction with a technological topic.

As for the library problem, I have no clue. Tongue Sorry. . .
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply
#20
devc++ is only an ide that uses the mingw compiler suit. devc++ is buggy mingw is not. so the library problem is really just a linkage problem where sc doesn't properly link all the needed libraries in the correct order ( note that there's a certain order that you have to link libs with ld )
quote="NecrosIhsan"]
[Image: yagl1.png]
[/quote]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)