C++ with Qt: Problem using GetCoreTempInfo.dll

User feature requests
Planned features for Core Temp
Post Reply
Bernie3888
Registered User
Registered User
Posts: 3
Joined: Mon Jan 23, 2012 8:01 am

C++ with Qt: Problem using GetCoreTempInfo.dll

Post by Bernie3888 »

Hi Guys,
I am using Qt-Creator with MinGW-Compiler to create a C++ based application. I added GetCoreTempInfo.dll to to my project and included the header file from the SDK. I also write the following line:

CoreTempProxy *proxy = new CoreTempProxy();

When I want to compile the programmcode, it stops with following message:

Error:undefined reference to `_imp___ZN13CoreTempProxyC1Ev'

I also tried to load the dll dynamically, but it dosn't work. Message: dll cant be loaded, beacause file not found.
Do you have any ideas how to solve this problem?

Thanks!
Greetz Bernie

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Re: C++ with Qt: Problem using GetCoreTempInfo.dll

Post by The Coolest »

Hi Bernie,

Have you tried it in a clean C++ (Visual C++ or similar) project to make sure that it works properly that way?
I've never looked into Qt compatibility, and never really used it before.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

Bernie3888
Registered User
Registered User
Posts: 3
Joined: Mon Jan 23, 2012 8:01 am

Re: C++ with Qt: Problem using GetCoreTempInfo.dll

Post by Bernie3888 »

Yes, I did on Visual C++ with MS Compiler and it works fine!

I'm not sure, but there might be some problems with MinGW-Compiler I guess. In another topic, there was a similar problem with the borland compiler, right?
Is it possible, to export the dll for MinGW? I tried "reimp" without success.

Greetz Bernie

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Re: C++ with Qt: Problem using GetCoreTempInfo.dll

Post by The Coolest »

I never used Borland either, but there was a user who asked about it, so I made a 32bit dll for Borland as well.
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

Bernie3888
Registered User
Registered User
Posts: 3
Joined: Mon Jan 23, 2012 8:01 am

Re: C++ with Qt: Problem using GetCoreTempInfo.dll

Post by Bernie3888 »

okay... could you make a dll for mingw or is there any other chance to get the dll running with mingw?

Post Reply

Return to “Development”