[of-dev] windows 0071 status

Zachary Lieberman zach at eyebeam.org
Wed May 9 11:46:28 PDT 2012


Quickly, for the fileOpenSaveDialog example, on VS, I get  "User hit
cancel" on the release ( the dialog never appears) and on debug, I see some
sort of weirdness in the dialog, looks like a wide string error or so.

thanks for taking a look !

take care,
zach



On Wed, May 9, 2012 at 2:41 PM, Matthew Gingold <m at gingold.com.au> wrote:

>  Ok so with latest develop branch:
>
> OpenCV example and haar finder work in VS (release and debug), but
> openCVexample crashes (release and debug) on line 299 of
> ofxCvGrayscaleImage.cpp:
>
> cvThreshold(cvImage, cvImage, value, 255, type);
>
> Have no idea why this should break things – but yes, maybe it’s the libs
> themselves? Is that possible for just one function to be broken? The app is
> Sigsev’ing on the internal cv::thresh_8u command...could headers not match
> libs or vice versa...is it worth the recompile? I rememember seeing we were
> upto 2.3.1 or something....or 2.4? Let me know and I try...
>
> Re: ofSystemLoadDialog, ofSystemSaveDialog and ofSystemFileDialog all
> appear to work on my system with latest develop branch....ie., the dialog
> is opened - I didn't test for returned value...what exactly isn't working
> for you guys?
>
>
> On 10/05/12 3:53 AM, "Zachary Lieberman" <zach at eyebeam.org> wrote:
>
>
>
> Hey there -- welcome to linz !
>
> quickly  can you grab the develop branch from git?  Arturo had not added
> the right libs for poco / VS, so I've checked them in today.  The package
> he made is fine, but the libs are wrong, so you can swap in what's in here:
>
>
> https://github.com/openframeworks/openFrameworks/tree/develop/libs/poco/lib/vs2010
>
> thanks,
> zach
>
>
>
> On Wed, May 9, 2012 at 1:48 PM, Matthew Gingold <m at gingold.com.au> wrote:
>
> Hey there
>
> Just got settled in Linz and have set up a PC here with Codeblocks and VS
> today.
>
> Just taking a look at this I have a problem immediately with any/all VS
> projects:
>
> ‘LINK : fatal error LINK1104: cannot open file ‘PocoFoundationmdd.lib’
>
> I used the PG to generate the VS project – is the PG broken? Or is Poco
> libs broken? Should I be using the Python script (just installing python
> now and will check – but if anyone has had this issue already could you let
> me know?)
>
> On CB – I have the same problem with openCV vs haarFinding example: the
> latter runs fine whilst the former builds, links but crashes straight
> away...if necessary I can try to recompile the openCV libs: what version
> are we targeting and what if any special options do we use during compile?
>
> Re: fileOpenSave – actually I fixed any problem with this in VS in later
> commits to my branch of OF dedicated to the PG -> perhaps they never got
> pulled as Zach and I were just doing these ad hoc rather than me making
> official PR’s...I’ll find the commit’s that fix it and make a PR.
>
> By the way there are some programmers here at Ars who are trying right now
> to compile oF for 64-bits on win -> if anyone has had any experience at
> that it would be good to know about – I’ll probably help out a bit with
> doing this during the week (obviously not for 071) but would be great to
> have a 64bit windows oF... :-)
>
>
> On 10/05/12 2:43 AM, "Keith Pasko" <keith.pasko at gmail.com <
> http://keith.pasko@gmail.com> > wrote:
>
> no expert, but have a few thoughts on the VS stuff-
>
> a) potentially our OF debug config links to release openCV libs; simply a
> matter of appending a few d's to the ends of the linked cv libraries (e.g.
> opencv_lapackd.lib). Alternatively, when the opencv libs were built, the
> C++ optimization flags may have been inconsistent (i.e. opencv_lapackd.lib
> was built with 02) .
>
> c) is just ambiguity as to whether sqrt should cast int numParticles on
> line 24 to a double or float; explicitly casting should fix it.
>
> textureRes *=* (*int*) sqrt(numParticles);  =>  textureRes =
> (int)sqrt((float)numParticles);
>
> k
>
> On Wed, May 9, 2012 at 9:01 AM, Zachary Lieberman <zach at eyebeam.org <
> http://zach@eyebeam.org> > wrote:
>
>
>
> here's a hit list for what needs to be done for 0071 / windows.
> Matthew and Elliot,  (and anyone else windows based)  do you think you can
> take a look?     We're almost there but switching the libs always leads to
> stuff like this.
>
> + + + + + +
> VS
> + + + + + +
>
> a) we have some linking errors with the new opencv VS libs -- the debug
> projects that use opencv are unhappy and don't compile:
>
> opencv_core231d.lib(lapack.obj) : error LNK2038: mismatch detected for
> '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in main.obj
>
> b) release versions of all OSC examples are all failing to build
>
> c) GPUparticleSystemExample fails to build (debug and release)
>
> error C2668: 'sqrt' : ambiguous call to overloaded function [C:\Documents
> and Settings\Administrator\My
> Documents\0071\of_preRelease_v0071_vs2010\examples\gl\GPUparticleSystemExample\GPUparticleSystemExample.vcxproj]
>           C:\Program Files\Microsoft Visual Studio
> 10.0\VC\include\math.h(589): could be 'long double sqrt(long double)'
>           C:\Program Files\Microsoft Visual Studio
> 10.0\VC\include\math.h(541): or       'float sqrt(float)'
>           C:\Program Files\Microsoft Visual Studio
> 10.0\VC\include\math.h(127): or       'double sqrt(double)'
>           while trying to match the argument list '(int)'
>
> d) fileOpenSave is broken (as per elliot's email)
>
> + + + + + +
> CB
> + + + + + +
>
> a) opencv example does not run for me -- crashes, but the haar example
> works ok.   Maybe something w. the new libs is bad?  can other folks check
> and report back?
>
> b) the build all script needs to be changed as it's pointing to an older
> location.
>
>
>
>
> gonna take a look also at the list, will be great to get this wrapped up.
>
> take care,
> zach
>
>
>
>
>
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc <http://of-dev@dev.openframeworks.cc>
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc
>
>
>
> ------------------------------
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc <http://of-dev@dev.openframeworks.cc>
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc
>
>
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc
>
>
>
> ------------------------------
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc
>
>
> _______________________________________________
> of-dev mailing list
> of-dev at dev.openframeworks.cc
> http://dev.openframeworks.cc/listinfo.cgi/of-dev-openframeworks.cc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.openframeworks.cc/pipermail/of-dev-openframeworks.cc/attachments/20120509/2f1a6b28/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-05-09 at 2.44.05 PM.png
Type: image/png
Size: 42276 bytes
Desc: not available
URL: <http://dev.openframeworks.cc/pipermail/of-dev-openframeworks.cc/attachments/20120509/2f1a6b28/attachment-0003.png>


More information about the of-dev mailing list