Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi, Since I have been mislead between the 32-bit and 64-bit... assuming it is the same case for a lot of people, I've translated the article, which I found interesting, Enabling 64-bit Support in Visual Studio 2008 (https://programmersnotebook.wordpress.com/2010/01/23/enabling-64-bit-support-in-visual-studio-2008/) from the Programmer's Notebook to french, and publish it La prise en charge du 64-bit sous Visual Studio 2008 (http://aljilogy.wordpress.com/2011/06/11/64-bit-visual-studio-2008/). Have a nice day Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40379#40379 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi, that is strange on my system the auto detection works as expected, I don't have to modify file entries.. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40149#40149 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi zook, I am using : CMake 2.8.4 - x86 Windows XP Professionnal - x64 maybe the 32-bit and 64-bit causes the problem ? Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40155#40155 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi Mohamed, I am using : * CMake 2.8.4 - x86 * Windows XP Professionnal - x64 maybe the 32-bit and 64-bit causes the problem ? CMake is only a tool to generate project files, its bitness doesn't matter. Also, your OS is 64 bit so it can run both 32 bit and 64 bit executables. So this is not an issue either. The important part is, are you generating for Visual Studio 32 or 64 bit, and do you have the 32 or 64 bit 3rdparty dependencies. These two must match. Hope this helps, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi Jean, thank you for your answer it really helps but, I forgot about building OSG on 64-bit ( maybe later ), now on 32-bit : Cmake mention Visual Studio 9 2008 Win64 as Generator. the dependecies I'm using are 3rdParty_win32binaries_vs90sp1. what do you think ? Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40163#40163 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi Mohamed, Hi Jean, thank you for your answer it really helps but, I forgot about building OSG on 64-bit ( maybe later ), now on 32-bit : * Cmake mention Visual Studio 9 2008 Win64 as Generator. * the dependecies I'm using are 3rdParty_win32binaries_vs90sp1. what do you think ? Well obviously there's a mismatch... If you want to build for 32 bit, you need to generate for Visual Studio 32 bit (you're using 64 bit, so that's wrong), and use the 32 bit 3rdparty dependencies (you're using 32 bit, so that's ok). I suggest you delete your build directory and start over, selecting Visual Studio 32 bit as generator. Hope this helps, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
and that exactly what I'm doing ... it detects everything correctly ( assuming that the environments variables are set ) thank you Jean Have a nice day :) Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40165#40165 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi, on MVS_2008_x64_sp1 , I build the OSG-2.8.9 sources. I downloaded the 3rdParty_VC9sp1_x86_x64_V5.7z from here : http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies I have an error link referencing only to libpng.lib, I believe it is a corrupted file ? please check Thank you! Mohamed -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40118#40118 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Do you mean 2.8.5? -Paul On 6/6/2011 8:59 AM, Mohamed Alji wrote: Hi, on MVS_2008_x64_sp1 , I build the OSG-2.8.9 sources. I downloaded the 3rdParty_VC9sp1_x86_x64_V5.7z from here : http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies I have an error link referencing only to libpng.lib, I believe it is a corrupted file ? please check Thank you! Mohamed ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
On 6/6/2011 8:59 AM, Mohamed Alji wrote: Hi, on MVS_2008_x64_sp1 , I build the OSG-2.8.9 sources. I downloaded the 3rdParty_VC9sp1_x86_x64_V5.7z from here : http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies You could try AlphaPixel's 2008/x64 3rdparty dependencies, also listed there, and see if the problem goes away: http://openscenegraph.alphapixel.com/osg/downloads/openscenegraph-third-party-library-downloads -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Sorry, I mean osg-2.9.8 -Mohamed -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40127#40127 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Hi Alji, I built OSG trunk yesterday for x86 and x64 in debug and release, and it works well. Can you present the error message VS2008 throws? Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40128#40128 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] LNK1181 fatal error ONLY for libpng.lib
Solved, all i had to do is to set on cmake *png_library* to libpng15.lib, rather than the inexistant file *libpng.lib* (cmake set it by default) thank you for your responses. have a nice day ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org