Undefining DO_PIPELINING produces a link error

Compiling with DO_PIPELINING undefined produces a link error with MSVC 2008, (Win 7 64bit, 32-bit build). (I have HAVE_THREADS, OS_SIMPLE_THREADS, DO_PIPELINING undefined as well.)

p3pgui_composite2.obj : error LNK2001: unresolved external symbol “public: __thiscall CycleDataWriter::CycleDataWriter(struct PipelineCycler &,class Texture::CData *,class Thread *)” Z??0?$CycleDataWriter@VCData@Texture@@@@QAE@AAU?$PipelineCycler@VCData@ Texture@@@@PAVCData@Texture@@PAVThread@@@Z)

whole bunch of unresolved symbols for CycleDataWriter in libp3pgui_igate.obj, 3device_composite2.obj…(lots of files)

built/bin/libpanda.dll : fatal error LNK1120: 1 unresolved externals

Are you sure you started with a clean build? I suspect part of your build might be left over from a previous build, where DO_PIPELINING was still defined.

Try completely removing the “built” subdirectory, then running makepanda again.


Ah, no, that was my bad. There actually was a missing symbol in the !DO_PIPELINING case, sorry about that. Fix committed.