[osg-users] [build] Installation problem with the latest binaries of AlphaPixel

2011-10-24 Thread Maia Randria
Hi,

I'm trying to install OSG 2.8.5 on a Windows 7, 64 bits platform using these 
tutorials Dwlight Design.

1.The first time, I tried to use:

Stable 2.8.5 June 8, 2011
Visual Studio 10 (10.0.30319, 2010)
x64 64-bit
OpenSceneGraph-2.8.5-VS10.0.30319-x64-release-12493.7z
OpenSceneGraph-2.8.5-VS10.0.30319-x64-debug-12493.7z
of AlphaPixel.


And I got this error:
osgd.lib(osg74-osgd.dll) : fatal error LNK1112: module machine type 'x64' 
conflicts with target machine type 'X86'


2.Then, I tried with the 32 bits version:
OpenSceneGraph-2.8.5-VS10.0.30319-x86-release-12493.7z

Everything goes well and I was able to build and execute an example the first 
time only. After that, I tried again and I got an error message: 
Fatal error C1083: Cannot open include file: 'osgViewer/Viewer': No such file 
or directory.

I wonder what the reason could be for these two problems ?

Thank you!

Cheers,
VRandria

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43441#43441





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] Installation problem with the latest binaries of AlphaPixel

2011-10-24 Thread Chris 'Xenon' Hanson
On 10/17/2011 11:54 AM, Maia Randria wrote:
 And I got this error:
 osgd.lib(osg74-osgd.dll) : fatal error LNK1112: module machine type 'x64' 
 conflicts with target machine type 'X86'

  Here, it sounds like you were trying to build an X86 (32-bit) target. Are you 
familiar
with changing the build target in MSVC++?

 2.Then, I tried with the 32 bits version:
 OpenSceneGraph-2.8.5-VS10.0.30319-x86-release-12493.7z
 Everything goes well and I was able to build and execute an example the first 
 time only. After that, I tried again and I got an error message: 
 Fatal error C1083: Cannot open include file: 'osgViewer/Viewer': No such file 
 or directory.

  Well, normally VC++ (and CMake, which made the project files VC++ is using) 
doesn't
change settings behind your back. You need to check the CMake settings to make 
sure that
where it thinks the OSG include file are is still ok, and then check in VC++ in 
the
Project Settings for the include paths.

 I wonder what the reason could be for these two problems ?

  It's probably not something OSG or AlphaPixel broke -- you'll need to become 
familiar
with checking your compiler settings to isolate the problem.

 Thank you!
 Cheers,
 VRandria

-- 
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] Installation problem with the latest binaries of AlphaPixel

2011-10-24 Thread Maia Randria
Hi,


Thank you for replying. I resolved the problem by installing the 32 bits 
binaries (Stable 2.8.5, x86) and it works.
I will try again later the complilation from the source codes with your advices.

Cheers,

Maia

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43526#43526





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org