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

problem in final linking #22

Open
KagaKyouichirou opened this issue Dec 20, 2019 · 5 comments
Open

problem in final linking #22

KagaKyouichirou opened this issue Dec 20, 2019 · 5 comments

Comments

@KagaKyouichirou
Copy link

KagaKyouichirou commented Dec 20, 2019

[100%] Linking CXX executable ../bin/ygopro

/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.data.rel.ro._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x18): undefined reference to `typeinfo for irr::gui::CGUIButton'

/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.data.rel.ro._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x1f0): undefined reference to `typeinfo for irr::gui::CGUIButton'

/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.data.rel.ro._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x228): undefined reference to `typeinfo for irr::gui::CGUIButton'

/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.data.rel.ro._ZTIN3irr3gui15CGUIImageButtonE[_ZTIN3irr3gui15CGUIImageButtonE]+0x10): undefined reference to `typeinfo for irr::gui::CGUIButton'

@kevinlul
Copy link

What version of irrlicht are you using?

@KagaKyouichirou
Copy link
Author

What version of irrlicht are you using?

irrlicht-1.8.4-2 on Archlinux system

@LisandraBrave
Copy link

Reproducible on Fedora 31 with irrlicht-1.8.4-10

/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.rodata._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x18): undefined reference to `typeinfo for irr::gui::CGUIButton'
/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.rodata._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x1f0): undefined reference to `typeinfo for irr::gui::CGUIButton'
/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.rodata._ZTCN3irr3gui15CGUIImageButtonE0_NS0_10CGUIButtonE[_ZTVN3irr3gui15CGUIImageButtonE]+0x228): undefined reference to `typeinfo for irr::gui::CGUIButton'
/usr/bin/ld: CMakeFiles/ygopro.dir/CGUIImageButton.cpp.o:(.rodata._ZTIN3irr3gui15CGUIImageButtonE[_ZTIN3irr3gui15CGUIImageButtonE]+0x10): undefined reference to `typeinfo for irr::gui::CGUIButton'```

@purerosefallen
Copy link
Owner

CMake is not fully configured in this fork...
@LisandraBrave You may have to use the Irrlicht in this fork instead: https://github.com/DailyShana/irrlicht

@Reisen1969
Copy link

Reisen1969 commented Oct 24, 2021

I have sample error on archlinux .
what should i do to fix error?

update:
I have I solved the problem.
The way:-fno-rtti

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

5 participants