Building from last cvs trunk?

update:

Still encountering aligment problem (maybe due to eigen aligment?)

1>objToEggConverter.cxx
1>eggToDXFLayer.cxx
1>eggToObjConverter.cxx
1>c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\vector(717) : error C2719: '_Val': formal parameter with __declspec(align('16')) won't be aligned
1>        c:\users\jc\desktop\panda_build_bot\source maj\panda3d\built\include\pvector.h(39) : see reference to class template instantiation 'std::vector<_Ty,_Ax>' being compiled
1>        with
1>        [
1>            _Ty=LVecBase4,
1>            _Ax=pallocator_array<LVecBase4>
1>        ]
1>        c:\users\jc\desktop\panda_build_bot\source maj\panda3d\pandatool\src\objegg\objToEggConverter.h(80) : see reference to class template instantiation 'pvector<Type>' being compiled
1>        with
1>        [
1>            Type=LVecBase4
1>        ]
1>pandatool/src/objegg/objToEggConverter.cxx(739) : warning C4018: '>' : signed/unsigned mismatch
1>The following command returned a non-zero value: cl /wd4996 /wd4275 /wd4267 /wd4101 /wd4273 /DWINVER=0x601 /Fobuilt/tmp/p3objegg_objToEggConverter.obj /nologo /c /arch:SSE2 /Ipandatool/src/objegg /Ibuilt/tmp /Ibuilt/include /Ithirdparty/win-python/include /Ithirdparty/win-libs-vc9/eigen\include /DMAKEPANDA= /MD /Zi /O2 /Ob2 /Oi /Ot /fp:fast /DFORCE_INLINING /Fdbuilt/tmp/p3objegg_objToEggConverter.pdb /EHa /Zm300 /DWIN32_VC /DWIN32 /W3 pandatool/src/objegg/objToEggConverter.cxx
1>Storing dependency cache.
1>Elapsed Time: 57 sec
1>Build process aborting.
1>Build terminated.
1>Build log was saved at "file://c:\Users\jc\Desktop\PANDA_BUILD_BOT\Source MAJ\panda3d\built\BuildLog.htm"
1>makepanda - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Hi jean-claude,
You can change line 75-77 of objToEggConverter.h from “typedef pvector” to “typedef epvector” and it will compile.
This should probably be patched in the source since it prevents building with both pandatool and eigen.

Thanks teedee!
Indeed it should be fixed in the cvs.
Cheers
jean-claude

Fixed! Many thanks.

David