darktohka / libtoontown

libotp and libtoontown built for the latest Panda3D 1.11.0 engine, supporting both Python 2 and Python 3.
19 stars 8 forks source link

Errors when building solution in visual studio 2019 #3

Closed DarthMDev closed 3 years ago

DarthMDev commented 3 years ago

I am using the panda3d from open-toontown All the stuff from panda3d dir is found.

Severity Code Description Project File Line Suppression State Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'return': cannot convert from 'PandaNode *' to 'NodePath' libotp D:\Github\libtoontown\src\otp\nametag\nametagGroup.cxx 467 Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14
Error C2440 'type cast': cannot convert from 'long' to 'PointerTo' libtoontown D:\Github\libtoontown\src\toontown\dna\dnaGroup.I 14

DarthMDev commented 3 years ago

If someone gets a similar issue switch to release instead of debug in active config