Bug 291659 - Unresolved MarbleLineEdit methods when linking marble.exe
Summary: Unresolved MarbleLineEdit methods when linking marble.exe
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: 1.3 (KDE 4.8)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 13:27 UTC by Paul Nader
Modified: 2012-01-16 13:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Exports the MarbleLineEdit class (1018 bytes, patch)
2012-01-16 13:50 UTC, Paul Nader
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Nader 2012-01-16 13:27:37 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                MS Windows

When compiling master @ Commit:ea2638c421aa388036e481ce66d018fa7c4b84d5 on Windows Vista using MS Visual Studio 2008 I get:

2>Linking...
2>QtMainWindow.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Marble::MarbleLineEdit::mouseReleaseEvent(class QMouseEvent *)" (?mouseReleaseEvent@MarbleLineEdit@Marble@@MAEXPAVQMouseEvent@@@Z)
2>QtMainWindow.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Marble::MarbleLineEdit::resizeEvent(class QResizeEvent *)" (?resizeEvent@MarbleLineEdit@Marble@@MAEXPAVQResizeEvent@@@Z)
2>C:\Users\paul.nader\Development\marble\build\src\Release\marble.exe : fatal error LNK1120: 2 unresolved externals

Reproducible: Didn't try

Steps to Reproduce:
Clone GIT repository, configure using cmake and compile using MS Visual Studio

Actual Results:  
Linker Error:

2>Linking...
2>QtMainWindow.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Marble::MarbleLineEdit::mouseReleaseEvent(class QMouseEvent *)" (?mouseReleaseEvent@MarbleLineEdit@Marble@@MAEXPAVQMouseEvent@@@Z)
2>QtMainWindow.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Marble::MarbleLineEdit::resizeEvent(class QResizeEvent *)" (?resizeEvent@MarbleLineEdit@Marble@@MAEXPAVQResizeEvent@@@Z)
2>C:\Users\paul.nader\Development\marble\build\src\Release\marble.exe : fatal error LNK1120: 2 unresolved externals

Expected Results:  
Should link and produce the marbe.exe executable
Comment 1 Paul Nader 2012-01-16 13:50:25 UTC
Created attachment 67889 [details]
Exports the MarbleLineEdit class
Comment 2 Dennis Nienhüser 2012-01-16 13:56:55 UTC
Git commit 5ba77f173bdaaf77b06fa2f8a942d9253256d302 by Dennis Nienhüser.
Committed on 16/01/2012 at 14:56.
Pushed by nienhueser into branch 'master'.

Export symbols. Patch by Paul Nader, thanks!

M  +3    -1    src/lib/MarbleLineEdit.h

http://commits.kde.org/marble/5ba77f173bdaaf77b06fa2f8a942d9253256d302