Re: [osg-users] 2.6.1 release

2008-09-25 Thread Paul Martz
> GenWrapper - no.  I've just done a rebuild on OSG 2.6.0 to 
> check, and didn't get a genwrapper error message.

I'm trying to reproduce this issue, and here's what I've found so far.

In 2.6.1, if I right click on the 'wrappers' target and select 'build', then
genwrapper is found and runs normally -- no error. However, if I remove the
genwrapper executable from my system PATH and try to build 'wrappers' again,
then I get an error like you describe. So, the first thing for you to check
is that the genwrapper executable is in your PATH. Did you build it from a
genwrapper svn tree? Where did you put the executable after you built it?

Compounding this mystery, you say you tried this on 2.6, but the wrappers
target didn't exist in 2.6. So I'm wondering: what is it exactly that you
are doing on 2.6.1 that generates the error? If you're right clicking on
'wrappers' and selecting 'build', there's no way you could do an equivalent
operation on 2.6 -- the 'wrappers' target didn't exist.

In general, you shouldn't need to build the 'wrappers' target, they should
already be built and checked in. However, I see they are out of date on
2.6.1 due to an osgTerrain change that I merged, so I'll work to update them
before I tag the release.

Thanks,
   -Paul

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


Re: [osg-users] 2.6.1 release

2008-09-25 Thread Quinn, Gary
Hi Paul
>> Sorry if that last email from me appeared a bit curt; 
No worries, you should see me when I fall out of bed on a morning or
maybe you shouldn't :-)
>> Attached is a batch file from Mike's svn tree that contains the
package version numbers. 
Thanks, I wasn't aware of that.  I was aware of some discussions on the
mailing list regarding moving to different versions of 3rd party libs,
but was unable to find the threads again.  I'd also noticed that some of
the 3rd party lib suppliers had withdrawn earlier versions - such as
zlib 1.2.2 due to security issues.
>>Do you have these same [compilation issues] when you build OSG v2.6
with these dependencies? 
LibTiff - yes.  I was kind-of hoping that someone would have a
config.h/makefile/whatever that would allow this to compile for OSG.  
ReaderWriterGif - yes.  I think it's something to do with the function
calling convention specified by libgif that doesn't work with OSG's
calling convention.  I couldn't see a way to fix this, but I'll take a
look at the version of libgif used by Mike to see if that has the
answer.
GenWrapper - no.  I've just done a rebuild on OSG 2.6.0 to check, and
didn't get a genwrapper error message.

>>Assuming you're on Windows... Many will warn you to not mix Release
libs with Debug builds. However, I have found that you can mix them if
the library meets two criteria: 1) the library interface must not use
STL, and 2) don't mix the heap (don't alloc memory in Release code and
free it in Debug, for example).  LibTiff appears to meet these criteria,
as far as I know, so you should be able to mix a Release libTiff with
your Debug OSG.
Cool - sounds like I can ignore that... for now.

Thanks for your time.
Gary.

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


Re: [osg-users] 2.6.1 release

2008-09-24 Thread Paul Martz
Sorry if that last email from me appeared a bit curt; I had an appointment
and wanted to at least get something off to you before I left my computer.
Here's more details...

I mentioned I use Mike's prebuilt binaries for Windows. Attached is a batch
file from Mike's svn tree that contains the package version numbers. You can
compare against your version numbers and see where you might be off. There
have been no changes to Mike's tree since OSG's 2.6.0 release.

> Compilation issues are...

Do you have these same issue when you build OSG v2.6 with these
dependencies? If so, then these issues aren't specific to 2.6.1 and should
not hold up its release.

> 1. The version of LibTiff I have doesn't create a debug 
> version, so CMake issues a warning that says it will use the 
> release version instead.  Any suggestions to fix this would 
> be welcome.

I'm not sure why you aren't getting a Debug version of libTiff.

Assuming you're on Windows... Many will warn you to not mix Release libs
with Debug builds. However, I have found that you can mix them if the
library meets two criteria: 1) the library interface must not use STL, and
2) don't mix the heap (don't alloc memory in Release code and free it in
Debug, for example). libTiff appears to meet these criteria, as far as I
know, so you should be able to mix a Release libTiff with your Debug OSG.

> 2. I get errors with ReaderWriterGif (see below) which 
> suggests that I've either got the wrong version, or I need to 
> edit libgif's makefile to generate something that OSG can use.

See my first comment above. I'm curious if you see this with an OSG v2.6
build. Check the attached file for the version Mike used for his GIF
dependency.

> 3. A tool "genwrapper" is not recognised (see below for the full error
> message)

Thanks, I'll look into this. I haven't updated or rebuilt the wrappers at
all, so they might need to be updated.
   -Paul
REM list of exact 3rdParty source packages

REM where products will be installed...
set INSTALL_ROOT=%CD%\..
set INSTALL_BIN=%INSTALL_ROOT%\bin
set INSTALL_INC=%INSTALL_ROOT%\include
set INSTALL_LIB=%INSTALL_ROOT%\lib


REM the upstream sources...

set DIR_REDIST=C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86
set DIR_REDIST_CRT=%DIR_REDIST%\Microsoft.VC80.CRT
set DIR_REDIST_MFC=%DIR_REDIST%\Microsoft.VC80.MFC

set DIR_ZLIB=zlib
set PKG_ZLIB=%DIR_ZLIB%123.zip
set URL_ZLIB=http://www.zlib.net/%PKG_ZLIB%

set DIR_PNG=lpng1229
set PKG_PNG=%DIR_PNG%.zip
set URL_PNG=http://downloads.sourceforge.net/libpng/%PKG_PNG%

set DIR_JPEG=jpeg-6b
set PKG_JPEG=jpegsr6.zip
set URL_JPEG=ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/%PKG_JPEG%

set DIR_LUA=lua-5.1.3
set PKG_LUA=%DIR_LUA%.tar.gz
set URL_LUA=http://www.lua.org/ftp/%PKG_LUA%

REM upstream project renamed from libungif to giflib
REM set DIR_UNGIF=libungif-4.1.4
REM set PKG_UNGIF=%DIR_UNGIF%.tar.gz
REM set URL_UNGIF=http://downloads.sourceforge.net/libungif/%PKG_UNGIF%

set DIR_FREETYPE=freetype-2.3.7
set PKG_FREETYPE=ft237.zip
set URL_FREETYPE=http://downloads.sourceforge.net/freetype/%PKG_FREETYPE%

set DIR_GLUT=glut-3.7.6
set PKG_GLUT=%DIR_GLUT%-src.zip
set URL_GLUT=http://www.xmission.com/~nate/glut/%PKG_GLUT%

set DIR_TIFF=tiff-3.8.2
set PKG_TIFF=%DIR_TIFF%.zip
set URL_TIFF=ftp://ftp.remotesensing.org/pub/libtiff/%PKG_TIFF%

set DIR_VRPN=vrpn_07_17
set PKG_VRPN=%DIR_VRPN%.zip
set URL_VRPN=ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/%PKG_VRPN%

REM TODO -

set DIR_CURL=curl-7.18.2
set PKG_CURL=%DIR_CURL%.zip
set URL_CURL=http://curl.haxx.se/download/%PKG_CURL%

set DIR_GIFLIB=giflib-4.1.6
set PKG_GIFLIB=%DIR_GIFLIB%.tar.gz
set URL_GIFLIB=http://downloads.sourceforge.net/giflib/%PKG_GIFLIB%

set DIR_PROJ=proj-4.6.0
set PKG_PROJ=%DIR_PROJ%.zip
set URL_PROJ=ftp://ftp.remotesensing.org/proj/%PKG_PROJ%

set DIR_GDAL=gdal-1.5.2
set PKG_GDAL=gdal152.zip
set URL_GDAL=http://download.osgeo.org/gdal/%PKG_GDAL%

set DIR_GEOTIFF=libgeotiff-1.2.4
set PKG_GEOTIFF=libgeotiff124.zip
set URL_GEOTIFF=ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/%PKG_GEOTIFF%

set DIR_GLSLFE=OpenGLCompilerSept202005
set PKG_GLSLFE=%DIR_GLSLFE%.zip
set URL_GLSLFE=http://mew.cx/glsl/%PKG_GLSLFE%

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


Re: [osg-users] 2.6.1 release

2008-09-24 Thread Paul Martz
You should use the same version as you used with OSG v2.6.0.

On Windows, I'm using Mike Weiblen's prebuilt 3rdParty binaries, at svn rev
531.
   -Paul



> Hi Paul.
> >> I'd like to open this up for testing to anyone willing to help out.
> Check out 2.6.1 from here:
> http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/
> OpenSceneG
> raph-2.6
> >snip snip
> Can you confirm the versions of the 3rd party libraries that 
> you're using with this release please.
> For info, I've compiled the following from source with 
> Windows XP, VS 2008, and CMake 2.6.1 zlib 1.2.3 lpng 1.2.8 
> jpeg 6b-4 libtiff 3.8.2 libungif 4.1.4 Freetype 2.3.5 glut 3.7.6
> 
> Compilation issues are...
> 1. The version of LibTiff I have doesn't create a debug 
> version, so CMake issues a warning that says it will use the 
> release version instead.  Any suggestions to fix this would 
> be welcome.
> 2. I get errors with ReaderWriterGif (see below) which 
> suggests that I've either got the wrong version, or I need to 
> edit libgif's makefile to generate something that OSG can use.
> 3. A tool "genwrapper" is not recognised (see below for the full error
> message)
> I've written up what I've done to compile the 3rd party libs. 
>  If it will help, I'll make the notes and the compiled 
> libraries available once these issues are resolved.
> Gary.
> 
> 
> -- Build started: Project: Plugins gif, Configuration:
> RelWithDebInfo Win32 --
> Compiling...
> ReaderWriterGIF.cpp
> Compiling manifest to resources...
> Microsoft (R) Windows (R) Resource Compiler Version 
> 6.0.5724.0 Copyright (C) Microsoft Corporation.  All rights reserved.
> Linking...
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifCloseFile referenced in function "unsigned 
> char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifGetLine referenced in function "unsigned 
> char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifGetImageDesc referenced in function 
> "unsigned char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifGetExtensionNext referenced in function 
> "unsigned char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifGetExtension referenced in function 
> "unsigned char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifGetRecordType referenced in function 
> "unsigned char * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> ReaderWriterGIF.obj : error LNK2019: unresolved external 
> symbol __imp__DGifOpen referenced in function "unsigned char 
> * __cdecl simage_gif_load(class 
> std::basic_istream > &,int 
> *,int *,int *,class GifImageStream * *)"
> (?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]
> td@@@std@@
> PAH11PAPAVGifImageStream@@@Z)
> D:\OSG\osg261rc1\bin\RelWithDebInfo\..\osgPlugins-2.6.1\osgdb_
> gif.dll :
> fatal error LNK1120: 7 unresolved externals Build log was 
> saved at 
> "file://d:\OSG\osg261rc1\src\osgPlugins\gif\osgdb_gif.dir\RelW
> ithDebInfo
> \BuildLog.htm"
> Plugins gif - 8 error(s), 0 warning(s)
> 
> -- Build started: Project: wrappers, Configuration: RelWithDebInfo
> Win32 --
> 'genwrapper' is not recognized as an internal or external 
> command, operable program or batch file.
> Project : error PRJ0002 : Error result 255 returned from 
> 'C:\WINDOWS\system32\cmd.exe'.
> Build log was saved at
> "file://d:\OSG\osg261rc1\wrappers.dir\RelWithDebInfo\BuildLog.htm"
> wrappers - 1 error(s), 0 warning(s)
> 
> 
> Build Log
>   Build started: Project: wrappers, Configuration:
> RelWithDebInfo|Win32
> Command Lines
> Creating temporary file
> "C:\DOCUME~1\U00034~1.WIN\LOCALS~1\Temp\BAT000E83100420

Re: [osg-users] 2.6.1 release

2008-09-24 Thread Quinn, Gary
Hi Paul.
>> I'd like to open this up for testing to anyone willing to help out.
Check out 2.6.1 from here:
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneG
raph-2.6
>snip snip
Can you confirm the versions of the 3rd party libraries that you're
using with this release please.
For info, I've compiled the following from source with Windows XP, VS
2008, and CMake 2.6.1
zlib 1.2.3
lpng 1.2.8
jpeg 6b-4
libtiff 3.8.2
libungif 4.1.4
Freetype 2.3.5
glut 3.7.6

Compilation issues are...
1. The version of LibTiff I have doesn't create a debug version, so
CMake issues a warning that says it will use the release version
instead.  Any suggestions to fix this would be welcome.
2. I get errors with ReaderWriterGif (see below) which suggests that
I've either got the wrong version, or I need to edit libgif's makefile
to generate something that OSG can use.
3. A tool "genwrapper" is not recognised (see below for the full error
message)
I've written up what I've done to compile the 3rd party libs.  If it
will help, I'll make the notes and the compiled libraries available once
these issues are resolved.
Gary.


-- Build started: Project: Plugins gif, Configuration:
RelWithDebInfo Win32 --
Compiling...
ReaderWriterGIF.cpp
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifCloseFile referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifGetLine referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifGetImageDesc referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifGetExtensionNext referenced in function "unsigned char *
__cdecl simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifGetExtension referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifGetRecordType referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp__DGifOpen referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream > &,int *,int *,int *,class GifImageStream * *)"
(?simage_gif_load@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@
PAH11PAPAVGifImageStream@@@Z)
D:\OSG\osg261rc1\bin\RelWithDebInfo\..\osgPlugins-2.6.1\osgdb_gif.dll :
fatal error LNK1120: 7 unresolved externals
Build log was saved at
"file://d:\OSG\osg261rc1\src\osgPlugins\gif\osgdb_gif.dir\RelWithDebInfo
\BuildLog.htm"
Plugins gif - 8 error(s), 0 warning(s)

-- Build started: Project: wrappers, Configuration: RelWithDebInfo
Win32 --
'genwrapper' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0002 : Error result 255 returned from
'C:\WINDOWS\system32\cmd.exe'.
Build log was saved at
"file://d:\OSG\osg261rc1\wrappers.dir\RelWithDebInfo\BuildLog.htm"
wrappers - 1 error(s), 0 warning(s)


Build Log
  Build started: Project: wrappers, Configuration:
RelWithDebInfo|Win32
Command Lines
Creating temporary file
"C:\DOCUME~1\U00034~1.WIN\LOCALS~1\Temp\BAT000E8310042088.bat" with
contents
[
@echo off
genwrapper -c D:/OSG/osg261rc1/src/osgWrappers/genwrapper.conf -t
D:/OSG/osg261rc1/src/osgWrappers/Doxyfile.template -d D:/OSG/osg261rc1 |
doxygen -
genwrapper -c D:/OSG/osg261rc1/src/osgWrappers/genwrapper.conf -l
D:/OSG/osg261rc1
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from 
exit 1
:VCEnd
]
Creating command line
"C:\DOCUME~1\U00034~1.WIN\LOC

Re: [osg-users] 2.6.1 release

2008-09-23 Thread Paul Martz
Hi all --
 
I've now made all changes to the 2.6.1 branch that I intend to make. I'd
like to open this up for testing to anyone willing to help out. Check out
2.6.1 from here:
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph
-2.6
 
See the ChangeLog for the list of post-2.6 bug fixes that I merged onto this
branch.
 
I hope to release this in the very near future, say 1 October.
 
Thanks,
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com  
+1 303 859 9466
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 2.6.1 release

2008-09-16 Thread Paul Martz
Thanks, Jason. I've committed this change to the 2.6.1 branch. I've also
added the aforementioned occlusion query workaround, and I've bumped the
version number to 2.6.1 in anticipation of an upcoming release in the near
future.
 
Could you please verify that I added your fix correctly? (Take a look at the
code, or better yet, build the branch and test it.)
 
Thanks,
   -Paul
 


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason
Beverage
Sent: Monday, September 15, 2008 1:01 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] 2.6.1 release


Hi Paul,

I've got a small fix that I submitted as part of revision 8765 that I think
should be included that fixed a problem with the osgSim::OverlayNode.
http://www.openscenegraph.org/projects/osg/changeset/8765

Thanks!

Jason


On Mon, Sep 15, 2008 at 2:00 PM, Paul Martz <[EMAIL PROTECTED]> wrote:


Hi folks -- I intend to put out an OSG v2.6.1 release, targeting end of
month but early October is more likely.
 
I'm creating this release because I have a client that requires at least two
of the bug fixes that have been submitted post-2.6. My intention is to
primarily include changes that will actually be needed, so if you are
content to stay on the version of OSG you're currently on, or content to
stay on the SVN head, then you will probably not use 2.6.1 and you can now
delete this post and go back to work. :-)
 
I'm also not fond of doing a lot of testing, so this is a reason to keep the
change set minimal.
 
If you actually might use the 2.6.1 release, then I'm interested in
soliciting your change requests. Have there been any submissions post-2.6
that you'd like to see in the 2.6.1 branch? Please let me know. I intend to
read over the ChangeLog to look for desirable changes and low-hanging fruit,
but I'd like input from the community to guide my search.
 
The SVN for 2.6.1 development is here:
 
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph
-2.6
 
Currently, this is identical to 2.6 plus the following changes:
 * A fix to the FLT exporter to support PositionAttitudeTransform.
 * A fix to the Simplifier to support shared vertex arrays.
 
The latter breaks binary compatibility by changing the Geometry interface,
so 2.6.1 will require a recompile.
 
I will put in the OcclusionQueryNode workaround for a suspected NVIDIA
driver issue, and I'm also considering an issue with BIND_PER_PRIMITIVE in
the FLT exporter (this issue is currently not resolved).
 
Thoughts and input appreciated.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
+1 303 859 9466
 

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




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