When the vcproj is build by CMAKE it generates everything needed to build the project in Debug or Release.<br>As I build OSG with command lines I just launch :<br><br>call "C:\Program Files\CMake 2.4\bin\cmake.exe" . -DBUILD_OSG_EXAMPLES=OFF -DBUILD_OSG_NET_PLUGINS=OFF -DOSG_MSVC_VERSIONED_DLL=ON
<br>devenv INSTALL.vcproj /build Debug /Project "INSTALL"<br>devenv INSTALL.vcproj /build Release /Project "INSTALL"<br><br>Note that I never change the CMAKE_BUILD_TYPE option.<br>It is for an INSTALL build, you can of course change by ALL_BUILD if you don't want to install it.
<br><br><div><span class="gmail_quote">On 9/19/07, <b class="gmail_sendername">Andy Skinner</b> <<a href="mailto:Andy.Skinner@mathworks.com">Andy.Skinner@mathworks.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've lost track--should windows debug libraries have d appended, like<br>osg22-osgd.dll? What about lib files?<br><br>Somewhere as I went from OSG 1.2 to 2.*, we lost some of our text<br>objects (we're using our own class). (Not all, oddly.) It looks like
<br>they might be culled out, and I thought the problem was going to be<br>small feature culling. (Our bounds aren't right, and have two points<br>for corners.) But we're still turning that off, and it used to work.
<br><br>If I change the computeBound() method to alter one of the points a bit,<br>it works. So it does seem like a culling issue, but I haven't figure<br>out what to do with it. As I said, we've turned off small feature
<br>culling. I tried making a cull callback which returns false. (False<br>means don't cull, right?) The cull callback is called, but<br>drawImplementation is not.<br><br>So I'd like to debug a bit, but I'm not getting any symbols. I want to
<br>make sure I'm building the library correctly, and my filenames don't<br>have "d" appended to them. Should they?<br><br>Any help about what might have changed so that our text doesn't show, or<br>
about whether I'm getting a debug build, would be appreciated.<br><br>CMakeCache.txt shows:<br>CMAKE_BUILD_TYPE:STRING=Debug<br><br>andy<br><br>_______________________________________________<br>osg-users mailing list
<br><a href="mailto:firstname.lastname@example.org">email@example.com</a><br><a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Serge Lages<br><a href="http://www.magrathea-engine.org">http://www.magrathea-engine.org</a>