Author Topic: cannot find -lstrmbase -lz  (Read 6737 times)

Offline heriwhy

  • Single posting newcomer
  • *
  • Posts: 3
cannot find -lstrmbase -lz
« on: July 12, 2010, 02:55:07 pm »
Although I made a complete new installation of codeblocks with mingw, I still get a build message at the end of debugging
||=== soundPlayerFFTExample, release ===|
ld.exe||cannot find -lstrmbase|
ld.exe||cannot find -lz|
||=== Build finished: 2 errors, 0 warnings ===|

I still not know, where it comes from
Anybody an idea (maybe a linking problem in the compiler settings)?

Thanks for every tipp, Heri

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: cannot find -lstrmbase -lz
« Reply #1 on: July 12, 2010, 05:44:05 pm »
do you have zlib installed ? (not part of mingw you have to make it yourself) :)

as for strmbase http://www.robotvision2.com/Softwares/misc/MinGW32Stuff.html install this.

Offline heriwhy

  • Single posting newcomer
  • *
  • Posts: 3
Re: cannot find -lstrmbase -lz
« Reply #2 on: July 13, 2010, 11:30:52 am »
I copied lstrmbase.a into libs and also added lstrmbase.h into the project. it doesn't work. How do I have to install those extensions?

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: cannot find -lstrmbase -lz
« Reply #3 on: July 13, 2010, 03:37:48 pm »
if it was that easy ...

read the readme in it :) it does take some patching on the mingw directx headers, mingw's w32api is indeed minimal and is missing a lot of directx stuff, even with this you wont have the full directx functionality.

luckily besides a few quirks mingw links fine with microsofts dxsdk libraries so atleast were not totally screwed.

and as this has nothing to do with codeblocks expect the thread locking patrol any moment, you might be better off asking for support from the mingw team im sure they know a trick or two ;).

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: cannot find -lstrmbase -lz
« Reply #4 on: July 13, 2010, 03:45:40 pm »
http://home.clara.net/raoulgough/vidmodem/dshow.html

some more help on the subject.

not much more i can do.