Unsolved Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",
-
hi guys, I run into this problem when I'm trying to use <pylon/PylonGUI.h>and<pylon/PylonGUIINcludes.h>
here is my .pro file
thanks in advance! -
@lyc97 On which platform does this happen? Which compiler do you use and which compiler was used to compile Pylon?
-
@jsulm hi I'm running this on MacOS, using Xcode. Those two headers are not in the pylon sdk for macOS so I added them into the sdk head files additionally.
-
@lyc97 The problem are not headers, but the libs (framework) - apparently the linker does not find the libs or refuses to use them. "Undefined symbols" means that there are no object files or libs containing the definitions for these symbols. Is that framework built for 64bit or 32bit?
-
@jsulm it's working on 64bit. Other functions including pylon headers are fine until I add these two.
-
@lyc97 said in Undefined symbols for architecture x86_64: "Pylon::CPylonImageWindow::Close()",:
Those two headers are not in the pylon sdk for macOS
If they are not part of the SDK you can't just add the header files as the functionality is missing in the libs.
-
@jsulm Is there any way I can use these headers?
-
@lyc97 No, because those are just headers, the actual implementation is in the libraries.
The question is: why does the MacOS Pylon framework not contain this stuff? I don't know much about Pylon, maybe you need to install some additional Pylon framework?