← Back to team overview

brewtarget-devs team mailing list archive

Re: Windows 7 - Development Setup

 

> All seems to be good, however when the program attempts to clear out all
> steps from a mash - either by manually removing them one at a time or when
> a call is made to "removeAllMashSteps" an exception gets thrown that
> terminates the program. A very small amount of debugging brought up the
> error of "invalid parameter passed to c runtime function". Just observing
> the program's behaviour the mash steps actually get cleared/removed prior
> to the exception. This is obviously not a bug in the code because the
> distributed exe doesn't behave like this.
>
> I haven't compiled my Qt libraries from source, which is something I
> believe that Philip has done so perhaps that's the first thing I should
> look at doing. Although not having nmake installed I'm not sure the best
> way to attack this task.
>
> Another problem I have noticed is that if I attempt to do a release build
> (and comment out the lines in the MinGW files that throw an error as
> directed) the brewtarget exe produced doesn't run - generating an error of
> "The procedure entry point _ZNK11QMetaObject4castEPK7QObject could not be
> located in the dynamic link library QTCore4.dll".
>
>
To me, this sounds like the classic "build against one lib, but link
against another" problem. Is there another set of Qt dlls on your system
anywhere? If you copy the dlls from the Qt SDK into the same directory as
the executable, does the problem disappear?

-- 
Philip G. Lee
rocketman768@xxxxxxxxx

Follow ups

References