Ticket #106 (closed defect: fixed)
WIN64 dcast bug
| Reported by: | amz | Owned by: | unassigned |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.8 Release |
| Component: | System | Version: | 1.8 |
| Keywords: | WIN64 | Cc: |
Description
Hi,
I ported my app to windows x64 and stumbled into some strange OpenSG problems. I'm using the visual studio 2005 x64 compiler. Ok rendering works nice but for example the statistic doesn't. I attached a small test program for reproducing this bug. The output of the test program is:
stat: 0 0 0
stat: 12 0 0
ok the first dynamic cast in OSG::calcPrimitiveCount()
lens32Ptr = GeoPLengthsUI32Ptr::dcast(geoPtr->getLengths());
fails but actually it shouldn't.
Now calling a exact copy of calcPrimitiveCount (calcPrimitiveCount2) works as expected. Looks like a strange dll boundary problem? Any ideas how to fix this?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

