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

undefined symbol: _ZTI12QCPFinancial #1

Closed
altendky opened this issue Sep 18, 2015 · 4 comments
Closed

undefined symbol: _ZTI12QCPFinancial #1

altendky opened this issue Sep 18, 2015 · 4 comments

Comments

@altendky
Copy link

Hi Dimitry,

When I try to import qcustomplot i get the error undefined symbol: _ZTI12QCPFinancial. I did make some adjustments to configure.py (f650117) to get the build working on Kubuntu 15.04 with Python3. I also symlinked from libqcustomplotlib.so to libqcustomplotlib.so.1.2. I'll keep digging but any chance you have had such an issue when working on this?

You can see my boring build log below.

https://gist.github.com/altendky/2a2c78d63ae0a2b5f7f7

Cheers, (and thanks for sharing this)
-kyle

@altendky
Copy link
Author

:[ Nevermind. As soon as I typed the 1.2 above I realized it. The financial stuff was introduced in 1.3.0. I had 1.2 because that was what was available in the Kubuntu repos. Downloading and building the latest shared library made it work fine.

Sorry for the interruption...

@altendky
Copy link
Author

Or maybe not. Heading to bed but the next issues is undefined symbol: _ZNK11QCustomPlot15plottableBarsAtERK7QPointFb.

$ c++filt _ZNK11QCustomPlot15plottableBarsAtERK7QPointFb QCustomPlot::plottableBarsAt(QPointF const&, bool) const

What version have you built QCustomPlot-PyQt5 against?

Thanks.

@altendky altendky reopened this Sep 18, 2015
@altendky
Copy link
Author

Eventually I realized that your repo has a modified version of QCustomPlot 1.3.1 defining a couple extra functions. Once I reverted this (c2795da) to match the git checkout of QCustomPlot I used to build the libraries I was able to import qcustomplot without errors. With this I successfully created a plot window with data. Now to learn QCustomPlot itself.

Thanks again.

@dimv36
Copy link
Owner

dimv36 commented Sep 22, 2015

Thank you for request. Yes, I modify default QCustomPlot library, because I need in my Python project. Sorry, that I saw your comment just now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants