Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iex_debugTrap link error #188

Closed
rromerik opened this issue Apr 21, 2016 · 4 comments
Closed

iex_debugTrap link error #188

rromerik opened this issue Apr 21, 2016 · 4 comments
Labels
Build A problem with building or installing the library.

Comments

@rromerik
Copy link

when using adsk fbx lib & other lib that include your lib we get link error over debugTrap, any plan to fix that ?

@meshula
Copy link
Contributor

meshula commented Apr 24, 2016

You can get around the problem by defining your own iex_debugTrap() as

void iex_debugTrap() { std::cout << "what the heck" << std::endl; }

I suggest reporting this problem to Autodesk as the issue lies with the fbx distribution.

@cary-ilm cary-ilm added the Build A problem with building or installing the library. label Jun 13, 2019
@cary-ilm
Copy link
Member

Looking into the OpenEXR issue backlog. Does not seem to be an OpenEXR issue, so closing.

@geniusisme
Copy link

Why the issue is not considered to be an OpenEXR issue?
iex_debugTrap is a part of Iex, which is a part of OpenEXR.
Issue is occurring when linking separate versions of libraries together, which is explicitly supported with namespace-mangling mechanism.
But iex_debugTrap is not namespaced, and that breaks promise, given by the library.

@meshula
Copy link
Contributor

meshula commented Jun 16, 2022

That is a good point about the namespacing introduced across the rest of the library to resolve these kinds of collisions. TBH iex_debugTrap should probably be removed. It's not a normal sort of thing to find in a modern library. I personally added this mechanism a loooooong time ago, when debuggers such as the Visual Studio debugger were unable to break when exceptions were thrown. Those days are long gone, and the mechanism is archaic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build A problem with building or installing the library.
Projects
None yet
Development

No branches or pull requests

4 participants