Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Linking error
Linking error [message #38489] Thu, 20 December 2012 10:45 Go to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
hello guys,
I formatted my computer, re-installed OS and Upp. Now, compiling my project I get an error that had never been presented before.

Linking...
$blitz.obj : error LNK2019: riferimento al simbolo esterno "bool __cdecl Upp::Perform(class Upp::Report &,char const *)" (?Perform@Upp@@YA_NAAVReport@1@PBD
	@Z) non risolto nella funzione "private: void __thiscall STActrl::Print(void)" (?Print@STActrl@@AAEXXZ)
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: __thiscall Upp::Report::Report(void)" (??0Report@Upp@@QAE@XZ) non risolto nella funzion
	e "private: void __thiscall STActrl::Print(void)" (?Print@STActrl@@AAEXXZ)
$blitz.obj : error LNK2001: simbolo esterno "public: __thiscall Upp::Report::Report(void)" (??0Report@Upp@@QAE@XZ) non risolto
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: void __thiscall Upp::Report::Put(char const *)" (?Put@Report@Upp@@QAEXPBD@Z) non risolt
	o nella funzione "public: class Upp::Report & __thiscall Upp::Report::operator<<(char const *)" (??6Report@Upp@@QAEAAV01@PBD@Z)
$blitz.obj : error LNK2001: simbolo esterno "public: void __thiscall Upp::Report::Put(char const *)" (?Put@Report@Upp@@QAEXPBD@Z) non risolto
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: __thiscall Upp::ReportView::ReportView(void)" (??0ReportView@Upp@@QAE@XZ) non risolto n
	ella funzione "public: __thiscall TrazioneCtrl::TrazioneCtrl(void)" (??0TrazioneCtrl@@QAE@XZ)
$blitz.obj : error LNK2001: simbolo esterno "public: virtual void __thiscall Upp::SqlOption::SetData(class Upp::Value const &)" (?SetData@SqlOption@Upp@@UA
	EXABVValue@2@@Z) non risolto
$blitz.obj : error LNK2001: simbolo esterno "public: virtual class Upp::Value __thiscall Upp::SqlOption::GetData(void)const " (?GetData@SqlOption@Upp@@UBE?
	AVValue@2@XZ) non risolto
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: class Upp::Report & __thiscall Upp::Report::Header(char const *,int)" (?Header@Report@U
	pp@@QAEAAV12@PBDH@Z) non risolto nella funzione "private: void __thiscall TrazioneCtrl::CaricaRelazione(void)" (?CaricaRelazione@TrazioneCtrl@@AAEXXZ)
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: void __thiscall Upp::ReportView::Set(class Upp::Report &)" (?Set@ReportView@Upp@@QAEXAA
	VReport@2@@Z) non risolto nella funzione "private: void __thiscall TrazioneCtrl::CaricaRelazione(void)" (?CaricaRelazione@TrazioneCtrl@@AAEXXZ)
$blitz.obj : error LNK2019: riferimento al simbolo esterno "public: void __thiscall Upp::Report::Clear(void)" (?Clear@Report@Upp@@QAEXXZ) non risolto nella
	 funzione "private: void __thiscall TrazioneCtrl::CaricaRelazione(void)" (?CaricaRelazione@TrazioneCtrl@@AAEXXZ)
C:\upp\out\MyUPPDrop\MSC9.Debug.Debug_Full.Gui.Sse2\STA.exe : fatal error LNK1120: 9 esterni non risolti

There were errors. (0:09.34)


What does this mean? Why has appeared with no change to my code?

Regards,
Matteo.
Re: Linking error [message #38491 is a reply to message #38489] Thu, 20 December 2012 11:53 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Matteo

Are all packages (Report) included in your project?


Best regards
IƱaki
Re: Linking error [message #38492 is a reply to message #38489] Thu, 20 December 2012 12:02 Go to previous messageGo to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Yes, from the messages you posted the linker is saying it can't find the Report package. Adding it will probably solve it.
Re: Linking error [message #38494 is a reply to message #38489] Thu, 20 December 2012 12:21 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Matteo,

Wild shot: Any chance there are leftover compiled files in the output directory? If there are some, it might confuse the build system so that some parts of code are not compiled. Running "Rebuild All" should help in such case...

Best regards,
Honza
Re: Linking error [message #38544 is a reply to message #38489] Sat, 22 December 2012 21:22 Go to previous messageGo to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
you are true guys...
I don't know the reason but "Report" package was missing!

I added it but linking i receive 2 errors again:

Linking...
$blitz.obj : error LNK2001: simbolo esterno "public: virtual void __thiscall Upp::SqlOption::SetData(class Upp::Value const &)" (?SetData@SqlOp
	tion@Upp@@UAEXABVValue@2@@Z) non risolto
$blitz.obj : error LNK2001: simbolo esterno "public: virtual class Upp::Value __thiscall Upp::SqlOption::GetData(void)const " (?GetData@SqlOpti
	on@Upp@@UBE?AVValue@2@XZ) non risolto
C:\upp\out\MyUPPDrop\MSC9.Debug.Debug_Full.Gui.Sse2\STA.exe : fatal error LNK1120: 2 esterni non risolti

There were errors. (0:14.11)


Something seem to be wrong with Sql but I can see Sql package and plugin/sqlite3 in my project....


Re: Linking error [message #38545 is a reply to message #38489] Sat, 22 December 2012 22:06 Go to previous messageGo to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
I think you need to add SqlCtrl package to use SqlOption widget. Try it and it should fix it.
Re: Linking error [message #38569 is a reply to message #38489] Tue, 25 December 2012 10:33 Go to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member

Thanksssssssssssssss... Working now!
Merry Christmas everybody!
Previous Topic: Questions about static casting Polymorphic Array Elements, iterator, Ptr and Pte
Next Topic: Need help with new project
Goto Forum:
  


Current Time: Thu Mar 28 23:22:45 CET 2024

Total time taken to generate the page: 0.01080 seconds