Hi Paul,
I don't know why the file tries to specify a different extension for IDE vs
non-IDE, nor do I know how this worked using CMake 2.4.x. Should we just
submit this as a fix and see who screams?
That's what I think we should do too. Asking on the list about why this
was needed didn't
Hi Thomas,
Good to know someone is taking this on, thanks! This CMake warning can be
fixed as described in the message - and the default (CMP0003 OLD) seems to
be working ok.
But that isn't a fix, it's a workaround... Someday, CMake will remove
the old behaviour (that's what deprecated
Hi Robert,
The lines in OsgMacroUtils.cmake must have some reason for their
existence.
Of course, but I cannot figure out what that reason is.
1. They cause a problem with CMake 2.6 which is now officially released...
2. Removing them (the fix for CMake 2.6) doesn't seem to cause a problem
Hi Robert,
just a reminder about pkg files to updated on the archive 2.4 and
openscenegraph-data archive not yet available on the website
Also the doxygen on the site should be updated to 2.4 status. CC'ing
Jose Luis (I think he's the one to do it).
Hi Wojtek,
Problem affects DrawArrays with TriangleStrips and TriangleFans as
primitives. Also happens when DrawArrays are precompiled into display
lists. Apllication must be run multithreaded with main thread doing
window / GL context setup and worker thread doing OpenGL rendering.
Problem
Hello Robert,
With the aim of tracking down the introduction of this workaround I've
gone through the svn logs for OsgMacroUtils.cmake and it looks like
the revision of importance is 7865 - this just so happens to be the
latest update to OsgmacroUtils so is a pretty recent change:
Hmm,
Hi Bill,
I am not quite sure what is
going on, so perhaps someone can explain it to me...
F(NOT MSVC_IDE)
TARGET_LINK_LIBRARIES(${TRGTNAME}
optimized ${OUTPUT_LIBDIR}/${LINKLIB}.lib
debug ${OUTPUT_LIBDIR}/${LINKLIB}${CMAKE_DEBUG_POSTFIX}.lib)
ELSE(NOT MSVC_IDE)
Hi Paul,
After reading the description, I'd say the change simply contains a bug.
There is no mention of why the macro leaves .lib off the library name in
the VS IDE build case. It looks like, possibly, a cut and paste error.
I looked at the file as it was before that change, and it did *not*
Hello Deepu,
I am working on a simulation project in which I have to
define an OSG node in the physics world (Bullet Physics). Can any one
guide me towards a method by which I can convert an OSG node to a mesh
so that I can define it in the physics world.
In general, you would
Hi Wojtek,
As far as I know you did not see this under Vista. This particular bug
shows only in XP.
Indeed, you remember correctly.
Btw. Can you check another piece of code ie: my modified prerender bug
repro ? This might be related to threading handler problems you
reported. I have posted
Hi Bill,
You should not have to add .lib, CMake should do that for you. If these
are libraries that CMake is building as part of the OSG build, then you
should only be linking to the target name, and not messing around with
low level .lib type of stuff.
That's what we were doing, and it
Hi Philip,
FYI: the above code is not right. I misunderstood the way CMake 2.6.0
works with respect to plugins (aka MODULE libraries). The proper way to
ensure that plugins get dumped into a lib folder for Linux and the
DLLs get dumped into a bin folder for Windows (within the build tree)
Hi Bill,
Additionally, as Luigi said, the macro puts lib files in
CMAKE_INSTALL_PREFIX/lib, and DLL files in CMAKE_INSTALL_PREFIX/bin,
I just realized (as I should have before) that this is what causes the
issues we have... CMAKE_INSTALL_PREFIX being an absolute path most of
the time,
Hi Philip,
so I'm not sure what problem you're trying to fix.
Sorry, I just realized that this *would* be useful in our current
situation. I have to learn to relax with the send button.
If you can make a patch which implements the code you posted, I'll be
glad to have a look.
J-S
--
Hi Bill,
So, why are you trying to build directly into the install prefix? Why
not let the install command do that work? If you really want to do
that, then you should look at RUNTIME_OUTPUT_DIRECTORY,
ARCHIVE_OUTPUT_DIRECTORY, and LIBRARY_OUTPUT_DIRECTORY target properties.
We're not
Hello David,
Someone out there that uses the MinGW build should probably step up and
provide a 3rd party repository of the optional OSG dependencies. Until
that happens you'll have to find online or compile the optional
dependencies piecemeal and plug them into the CMake configuration (for
Hello Alex,
can you give me the procedure to install quicktime plugins for window XP.
I try to generate the project with CMake and the quicktime sdk for
windows, but the project did not generate. I used the QTMLClient.lib in
the section QUICKTIME_LIBRARY.
I did this a while ago, with the
Hi Robert,
Argg gotta love Dreamhost... this used to work...
Any progress? I notice osgforge.org still gives an error...
J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
http://www.cm-labs.com/
Hi Wojtek, Robert,
So I'd suggest merge your change as is. I was hoping for a bit more
feedback from other Windows
users before merging though...
You just needed to ask... ;) I tried the change to GraphicsWindowWin32
with the modified osgprerender example, here at work (Vista 32bit,
Hi Robert,
I've just notified opengl.org, modsim.org and freshmeat.net about the
OpenSceneGraph-2.4 release. I'd appreciate if others can pitch in to
complete notification of the rest of the sites.
I've put a news article on vroot.org, but it's not on the front page yet
(I guess the
Hi Ben,
First of all, thanks for your willingness to contribute to documenting
parts of the OSG which are still pretty bleeding-edge! It's great to see
this kind of involvement.
About where to put documentation:
1. The wiki has a page:
Hi Paul,
The real odd part is that I don't see any CMake variables for
controlling where CMake searches for librsvg/cairo.I'm trying this on
Windows, but that shouldn't make a difference for CMake...
If I read the traffic on the SVG plugin right, the submitter only tested
on Linux, where
Hi Ulrich,
I seem to remember traffic regarding this error on MacOS X on the
mailing list but [...]
... haven't checked the archives? :-)
Sorry to be blunt, but this came up a few days ago at most. Check your
CMake window for a setting with TRIPLEDOT in its name and toggle its
value. Check
Hi Ulrich,
No I didn't though I should've. I've seen too many archives that don't
allow searching (not the OSG archive) which makes them pretty much
useless unless you have lots of time. But thanks for reminding me of
that and also not to make any assumptions or rely on obsolete data. ;-)
Hi Ben,
Wow, that was fast! :-)
It would be really great if someone who actually /knows/ the code could fill in
things like:
I wouldn't claim to know the code (I have only dabbled in it to try and
fix some things, not actually implemented any of it) but I had a go at
adding some info to
Bonjour Jean-Baptiste,
Thank you for these quick answers. Blender can export in .3ds file, but
it is the use of this export function I would like to avoid. In fact I
observed that if I save my 3D objects in blender format and then open
the file .blend, there is no problem, my objects have
Hello Jeremy,
I'd be real interested to know what version of GCC is complaining about
this. I don't see this error on Fedora 8/GCC4.1, and I've never had an
e-mail about it or antyhing. The code, as far as I can tell, is
perfectly valid C++. Perhaps I can come up with a workaround for this,
as
Hi Ben,
Question of the day: I find a setTextureSize method on ShadowMap and SoftShadowMap, but not on the 3 other techniques (even in SVN head).
In addition to what Robert said, I'll add that setTextureSize is only
relevant to texture-based shadow techniques, so for example it makes no
Hi Wojtek,
I am bit surprised to see my name called out. Of course its a pleasure and I
am ready to help but I am not an author of any technique. I took part in
many discussions and sent few fixes for SSM.
You also mentioned you were working on a LiSPSM implementation! Any news
on that? :-)
Hello Wojtek,
I got my company permission to publish it. The thing is rather complex
and I need to create convincing demo to show how to use it. I can post
technique classes as is but I doubt anyone will be able to take
advantage. I will be doing this demo in incoming weeks.
Excellent, I
Hi Robert,
My plan is to add an EventHandler to do screen snapshots and provide
this along with the osgViewer::ViewEventHandlers family of handlers,
its just time and a overflowing todo list has prevented me from
tackling it. Others are welcome to dive in and add it :-)
I'll do it, I'll do
Hello Adrian,
Nice video, I suppose the different shadow colors are to show where the
split occurs?
please test this latest PSSM implementation (ATI, NVidia,..)
Which latest PSSM implementation? The one in OSG as of right now?
On my GeForce 8800 GTX, OSG from SVN (after 2.5.0)
osgshadow
Hi Adrian,
Example osgshadow --pssm -1 | -2 | -3 works (i see shadows moving
correctly) on Windows XP, NVidia GeForce 7800 GTX.
I just tested again with the other scenes.
-1 : Not sure what I'm supposed to see, I just see a big grey plane that
changes shades of grey. I don't see any shadow
Hello Robert,
Ideally it'd be configurable - so you can capture particular camera's,
through to all cameras. There is also the aspect of capturing the
window contents rather than just individual cameras.
OK, interesting. I'll think about this and try some possible solutions.
The filename
Hi again,
I tested code which Adrian attached in his email.
Ah, silly me, I hadn't seen the attachment. I'll retest in a few
minutes. Sorry about that.
J-S
--
__
Jean-Sebastien Guay[EMAIL
Hi Wojtek, Adrian,
I retested with --screen 0 and indeed
osgshadow --pssm -1 | -2 | -3 --screen 0 does not flicker. Interesting
isn't it ? I don't know much about PSSM implementation but it must be
view dependent somehow. So if its not carefully prepared for multi view
use some resources
Hi Adrian,
Please check out and test,
Ok, I'll test here and get back to you. Thanks for working on this to
get the last issues worked out, as PSSM is definitely the technique we
want to move towards in the near future.
NVidia, ATI should work without choosing right plattform
That's
Hello Adrian,
sorry for the testing issue, but i need as many system tests as we can
get.
I fully understand, and it's a good idea to get this tested as widely as
possible.
* the flickering effect, should be better, or at least on my hardware
it's seams to be better working
I still see
Hello Wojtek,
Do you see the difference ? I do. First one does not show any flicker.
Yep, seems threading is playing tricks with PSSM. And I just checked,
the Park.3ds in SingleThreaded also does not show the moving shadows I
saw earlier.
Why don't we see that on the -2 scene? It seems to
Hello Wang Rui,
I have just done some changes on the classic osgdb_gif plugin. I wish
our developers may use the newly written GIF reading plugin to attach
animate GIF files as textures now!
This is a great change, but if it's a submission, please send it to
osg-submissions.
Hello Alejandro,
I'm using LineSegmentIntersector to implement picking in my application.
LineSegmentIntersetor works great and I've noticed it's really accurate
when picking osg primitives like spheres, boxes and such, except for the
Capsule. For some reason picking does not work on the
Hello Adrian,
would it be possible to submit the latest code into the
SVN repository.
I suggest you remove the --NVidia option as well in your submission, if
it's not required anymore it can be misleading to users.
J-S
--
__
Hello Alejandro,
Thank you both for you quick replies and suggestions. As a matter of
fact we are using OSG 2.2, and although backporting the code is not an
option at this time, but we may be happily updating to 2.4 soon.
If you are using 2.2, it should just be a matter of taking the
Hello Adrian,
Hi all windows USERS, did it work for you, and on which hardware
http://webaddon3d.assoftware.ch/AE/PSSM_SHADOW_TEST_OpenSceneGraph_WIN32.rar
Sorry, I was away for the weekend. I had to edit your demo.bat for two
things:
a) like Ralph, I removed the REM from the line that
Hello Mike, Robert,
Are you saying that you need few underlings to share the load? I think
that idea is a long overdue, Robert.
I totally agree. I think there is a need for direct and clear delegation
of tasks.
I can certainly step up and help in some areas if it is desired. Some
parts I
Hi Robert,
There has been lots of build changes checked in, which, fingers
crossed will solve build problems such as when using CMake 2.6, and
without breaking build on prior versions of CMake. However, all this
needs a serious work out across all platforms so I'd appreciate
testing on SVN
Hello John,
I'm a total newbe to OSG and as a newbe I hunger for info. Here's a few
things that I am really missing, and I think most of these things can be
done by the community rather than Robert:
All three of your ideas are really good and pretty easy to do. Some
comments:
1) There are
Hi Alejandro,
I wanted to ask if this is a known issue and if there happens to be a
way to protect a node from receiving shadows other than using the node
mask, since PSSM ignores the ReceiveShadowMask.
I haven't checked, but perhaps you could try to attach an empty
osg::Program to the text
Hi Philip,
I think Jean-Sébastien's suggestion of setting cmake_policy CMP0005 to
OLD is the best option here because we want compatibility with CMake
2.4.x.
I'll send it as a submission in a minute.
J-S
--
__
Jean-Sebastien Guay
Hello Steve,
If you don’t want to be bored by the details, it basically says that VC8
VC9 have a bug when Iterator Debugging is turned off with regards to
iterator copying, and that Microsoft doesn’t intend to address it until
VC10. In my specific case, that bug causes an assertion at the
Hi Robert,
Another aspect to the OpenSceneGraph development cycle is that while
quite a few users do track SVN and developer releases not everyone
does - many users wait till stable releases come out.
Yes, and that coupled with the fact that 2.0 and 2.2 have not had any
point releases
Hello all,
I am getting a crash while reading a PNG file (on the
osgDB::readImageFile() line) in release mode only. This is on Windows
Vista, VC++2005, OSG from SVN (recompiled this morning).
In debug mode, I get no crash, and the image is read correctly. Also,
both the debug and release
Hi again,
Of course, the minute after I pressed the send button, I found the
source of the problem, and this was the assertion that was false:
I also tried renaming the
PNG DLLs (libpng13.dll and libpng13d.dll) adding .bk to see if those
were really the libs it was picking up, and it seems
Hello,
Philip, any chance you could work that CMake 2.6 magic you did on
OSG into the VPB CMakeLists.txt files? It has the same CMP0003
problem OSG had, and same symptoms on building (libs don't have an
extension, so Visual C++ thinks they're .obj files).
I've never built VPB
Hello David,
i have a osgdb_png.dll file which is the result of the compilation and i
can see in the visual studio ouput window that the dll is called anytime
i try to read a png and then unloaded after the operation
The PNG plugin, like some others, has a dependency on an external DLL,
Hello Vincent,
I didn't found some osgbd_ttf.dll in the plugins... in 2.2, 2.4, 2.5.1
What is the plugin which define it ?
I think Paul made a small mistake, it's not osgdb_ttf.dll, it's
osgdb_freetype.dll that you're looking for. This should exist to be able
to load ttf fonts.
I juste
Hello Vincent,
Ok, right it is not in the .dll list...
But how to compile it ? I have tried to add freetype in the Cmake2.6
configuration, but when I compile OSG 2.5.1 freetype is not int the
list... ?
I can get if from 2.2 but I don't think it is the best way...
As has been discussed a
Hello Robert,
I saw you started work on an osgkdtree example. Are you planning on
doing that from scratch?
A while ago, Adrian Egli made a kd-tree implementation for OSG, which is
very fast. He kindly agreed that I use it in my Masters project, and I
thought I would be able to get it
Hello Robert,
Again about new examples. :-) I saw the osgscreencapture example that
was recently added.
Would you like me to use the WindowCaptureCallback from that example as
a starting point for the screenshot handler I was planning to write for
integration into the stock osgViewer event
Hi Robert,
Is it not possible to do anything under the cover of darkness :-)
Well, not when it's in a public SVN server anyways... :-)
I requested the code from Adrian and he's kindly provided it this
morning so I've begun review of it. The code itself will serve as a
useful reference, but
Hi Robert,
My plan is to have a kdtree pointer on osg::Drawable. My initial
though would be to have users manually assign created kdtree's to
osg::Drawable, and update these when geometry is updated. One could
possible do this within a dirty mechanism in Drawable a bit like
bounding boxes
Hello Pedro,
FindFileInPath() : USING
D:\OSG\OpenSceneGraph-2.4.0\build\bin\osgPlugins-2.4.0\
osgdb_freetyped.dll
DynamicLibrary::failed loading osgPlugins-2.4.0/osgdb_freetyped.dll
Check the archives, please. There was discussion on this as recently as
today... (hint: search for Unable to
Hi all,
The code in the example is not bad place to start.
OK, here's a first cut, just for comments.
Oops, I just realized that I sent that out to all of osg-users. Sorry
about that, meant it for osg-submissions.
J-S
--
__
Hello Peter,
I'm using express 2008 and there doesn't seem to be any service pack for
it, it actually seems like the
2008 version has indirectly installed service pack 1 when the
application got it installed.
So i'm kinda at square 1 with this problem.
the osgdb_freetyped.dll exists on my
Bonjour Vincent,
This morning I'm trying to compil osg 2.5.1 with Cmake 2.6 and
visual studio 2005 SP1 (and last 3rdparty from SVN for vs80 sp1).
I'll tell you if everything is good.
Everything looks fine.
No problems.
Excellent, good to know it's all working for you now.
J-S
Hi Robert,
Then... we'll find out just how fast a
cache friendly kdtree implementation can be :-)
Oooo... Dramatic foreshadowing :-)
J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
http://www.cm-labs.com/
Hello Joakim,
Does the xine and qt plugins work under windows?
The qt plugin runs under windows - once you have quicktime installed.
Ok thanks!
See the following page for guidelines to compile the QuickTime plugin
Hi Brian,
I tried twice to send this replay with the CmakeCache.txt as an attachment and
keep getting this message - I am now this without the attachment to see if
that is the problem.
Your two posts came through, but were empty for some reason (no text, no
attachment, just the headers -
Hi Brian,
Hmmm, must have been the attachment since you saw everything on this one.
Attachment was only 47kb - you wouldn't think that would be a stopper unless it was
just the fact it had an attachment.
Weird, I remember bigger attachments being sent to osg-users (screen
captures,
Hi Brian,
Thanks for the help. Should be another blank one there now where I just tried posting
the same file as a zip but that was refused too.
Yep. Sorry...
I'll wait and see what Robert says - I guess I could put the whole CmakeCache.txt
in-line in a message.
That would work I'd
Hello Paul,
For what it's worth... the whole messages are coming through for me but
they are just not visible. If I view the message source then I can see
the contents... including the encoded attachment. I'm not sure why
Thunderbird is getting confused by them.
Hey, you're right. Weird,
Hello Julian,
However, I also want to be able to specify the
manipulation directly. For example, I could drag the widgets around to
scale the model to 0.5, but I also want to be able to type in 0.5 in my
interface and get the same result. Problem is that seems to put the
widgets out of sync
Hello Steven,
I would like to display these BRLCAD models by ray trace in
Openscenegraph (yes, it will be slow!). I have done some searches
through the archives and have not found a lot of info. It appears that
I am going to have to use glReadPixels and glWritePixels prior to the
Hello Samuel,
Unfortunately each project links against dependencies in a similar way
like this-
$(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
..\..\lib\osgGAd ..\..\lib\osgUtild ..\..\lib\osgd
Hello Edward,
You can query the test pass/failure results on a per-camera basis.
(...)
Yes, the query works. I was talking about recovering the pass/failure
without acting accordingly (disabling the node if invisible),
If all you want is to be able to determine if a node is visible or not,
Hello Eduard,
I think that's still a bit beyond my osg/gl skills, and more so given my
time frame; hence the convenience of using library code.
I just checked, there doesn't seem to be this specifically, but you
could use osgUtil::PolytopeIntersector for this. It would be pretty slow
if you
Hi fellow OSGers,
I was wondering if I could ask some questions about GIS in general on
this list. I know there are some really knowledgeable people on this
list (Glenn, I'm looking at you!). We have no one here who has any
expertise in this subject... :-)
In one of the subprojects of our
Hi Bob,
The cmake configuration process bailed out during the generation phase
with this:
CMake Warning (dev) at src/osg/CMakeLists.txt:173 (ADD_LIBRARY):
Policy CMP0003 should be set before this line. Add code such as
As Vincent said, for OSG 2.4 you need to use CMake 2.4.x, because
Hi Eduard,
But you were right, I *do* want occlusion information, so that means
J-S's suggestion does not work for me (didn't even have the time to look
at it, and hence the mix-up -- sorry).
OK, sorry, I thought you just wanted to see if it was in the camera's
view volume.
J-S
--
Hello your name here,
(if Robert were here he would probably ask you to sign your posts with a
name that most people here would be able to read... just so we can
address you correctly)
For example my screen resolution 800x600 so when I create
in osg window 800*600 I still see status bar
Hi Glenn,
Thanks for the links, combined with Chris and Alan's links I might get a
better understanding of the general terminology and concepts... That's
one thing I'm lacking now, it just sounds like a bunch of acronyms and
alien words to me :-) I thought being in computer science I'd be
Hi again,
For example, from the specs document I've got, it seems the coordinates
we might get would look like
576120.324, 6224420.858, -102.73
I forgot to mention, what we have about the Z coordinate in the spec is:
GPS-Z, positive going up towards the sky, which can be above sea level,
Hello all,
In osg/Uniform.cpp, there is this code:
void Uniform::allocateDataArray()
{
// if one array is already allocated, the job is done.
if( _floatArray.valid() != _intArray.valid() ) return;
// ...
}
I don't think the code does what the comment says it should
Hi Paul,
Hmm, if both are not valid the expression tested would be (false !=
false), which evaluates to false. The method does not return in that
case. It only returns if one of the arrays has been allocated and the
other one hasn't.
OK, so the error is the opposite of what I thought it was
Hi Paul,
Could it be that the float array is allocated in this case, while it
should have been the int array?
No, neither is allocated (both are 0). I'm trying to find out what could
cause that... My workaround of course is to create it myself if both
arrays are 0, but Uniform should work
Hi Paul,
No, neither is allocated (both are 0). I'm trying to find out what could
cause that... My workaround of course is to create it myself if both
arrays are 0, but Uniform should work correctly...
I think it's in the copy constructor.
Uniform::Uniform( const Uniform rhs, const CopyOp
Hello John,
Robert,
I don't have any input into your question, but I just wanted to let you
know that Robert is doing training all this week, so he's away from his
e-mail and can't answer (even if you send your message twice :-) ).
Others may have some ideas, though.
J-S
--
Hello Brian,
I must be doing something wrong when using CMakeSetup. Every time I download a new release of OSG, I have to go through the steps of reconfiguring CMake to point to all the directories for the various extras (GDAL, FLTK, etc.) I've tried setting up environment variables with names
Hi Eric,
The latest SVN of osg has a problem when generating xcode projects with
cmake. In the main directory, CMakeLists.txt on line 349, is the following:
ADD_DEFINITIONS(-DOSG_DEBUG_POSTFIX='\${CMAKE_DEBUG_POSTFIX}\')
This causes problems on OSX. I would like to change this line to:
Hello
I currently have a setup with one viewer with two cameras. I add a HUD
to the scene (as a child to the root node) and it shows up in both
camera views. Is there an easy way to disable seeing it in one view?
Some camera-Set... that will do this? (based on depth or something?)
Hello Eric,
Is there any reason we shouldn't require CMake 2.6 when compiling the
latest OSG?
I don't think it's really that useful to require that everyone update
their CMake version to 2.6 just for this. We can work around it through
tweaks to the CMakeLists.txt instead. Though we have
Hi Eric,
I'm using this change (I'm using the latest svn) but it doesn't fix the
problem on OSX. I added a conditional around line 349 that checks the
version of cmake in use and that seems to solve the problem for me. I'm
attaching my CMakeLists.txt to this message if anyone wants to try it
Hi Sherman and Luigi,
cmake -DWIN32_USE_MP=ON
-DGDAL_INCLUDE_DIR:PATH=%rootdir%\3rdparty\gdal\include
-DGDAL_LIBRARY:PATH=%rootdir%\3rdparty\gdal\lib\gdal_i.lib
-DCURL_LIBRARY_DEBUG:PATH=%rootdir%\3rdparty\curl\lib\debug\curllib.lib
Hello Hesicong
I notice that you changed the DatabasePaper.cpp in lastest SVN, but I
can't the OSG due to large compile errors in DatabasePaper.cpp. Please
check it thanks!
This has already been mentioned a few times in the last few days. Robert
is out giving training and said he wouldn't
Hello Adrian,
warnings in database pager under windows vc 2005
Please check list traffic before posting a new thread (it was mentioned
a little while ago that we need to diminish the support load when possible)
http://news.gmane.org/gmane.comp.graphics.openscenegraph.user
J-S
--
Hi Paul,
Just an addition to the above. This works as long as the transparent
object consists of a fully closed shape (which is the case here). If it
weren't you'd introduce new artifacts by culling transparent faces that
should be visible.
As an addition to the above, even with a manifold
Hello Ricky,
I duplicated files in lib Folder and add 'd' before the extension.
When I built it in Debug mode, it had no error but then I received a
message:
http://i58.photobucket.com/albums/g278/TTFTotti/error1.png
And what did you expect? Using release libs in debug builds is a big
no-no
Bonjour Arnaud,
I put the libpng13.dll in the same directory of osgdb_png.dll
but in visual studio output window the dll is called anytime
I try to read a png and then unloaded after the operation.
No, libpng13.dll should be in your PATH or in your executable's
directory. The plugins are in
Bonjour Arnaud,
I finaly found my problem. Indeed osgdb_png.dll needs libpng13.dll but
libpng13.dll needs also zlib1.dll.
Ha! I had forgotten that one. I generally just copy all the DLLs from
the 3rdParty/bin directory to my OSG bin directory. :-)
J-S
--
Hi Paul,
This seems to come up quite often for the Windows users. Would linking
against a static version of dependencies like png, jpeg, zlib, etc be a
helpful solution?
Not sure how the executable size would increase in that case... But
yeah, they're pretty much required dependencies if
201 - 300 of 2696 matches
Mail list logo