Hi Stefan and all
Hi Jonas (and all),

Apologies for the late answer. I got trapped in a communications black hole in the Alps until today.
easy, nice to hear that Swisscom & CO doesn't yet conquered whole Switzerland....
On 6. May 2009, at 17:53, Jonas Walti wrote:

Hi all
I added Santosh's idea to my code, which works pretty fine (thanks!).
But when I close my application and the eq server shuts down, a "Debug
Assertion Failed" Message is thrown. With the help of the debugger I
figured out that this happens when the server::_cmdDestroyConfig
operation in server.cpp on line 212 tries to destruct the config object.

The error occurs only if at least one event is stored in the eventQueue
vector in my  FrameData object. If nothing is stored, everything shuts
down fine.

Does someone have any idea why this happens?

Which version of Equalizer are you using? In the current trunk, the line numbers do no longer match, so it's quite hard for me to pin- point the assertion.
I changed some "tactics" and do not get this error anymore, but there is now an other one :-)

I compared my solution with Santosh's and therefore added a std::vector<eq:Event> eventQueue member to my Framedata class to pass the desired events from config to pipe. Afterwards I updated my getInstanceData with stream<<mData<<eventQueue. Until this step, everything compiles and links fine. But when I update applyInstanceData with stream>>mData>>eventQueue like Santosh did, I get a linker error message:

" error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall eq::Event::Event(void)" (??0ev...@eq@@q...@xz)" in Funktion ""public: void __thiscall std::vector<struct eq::Event,class std::allocator<struct eq::Event> >::resize(unsigned int)" (?res...@?$vector@uev...@eq@@v?$alloca...@uevent@eq@@@std@@@std@@qa...@z)". 1>C:\crfWorking\Debug\CaveRenderingFramework.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise."

It looks like the linker can't find a default constructor for the Event() struct?

We use equalizer-0.6 self compiled release version in debug mode. Maybe someone knows why this doesn't link?

thanks

Jonas
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to