Home » Community » Newbie corner » undefined reference errors when building (Linking has failed)
Re: undefined reference errors when building [message #48913 is a reply to message #48911] |
Wed, 25 October 2017 21:09   |
Oblivion
Messages: 1225 Registered: August 2007
|
Senior Contributor |
|
|
Hello Y ++
I have a litte experience with arrayfire (on OpenCL).
IIRC, ArrayFire does not yet work with MinGW C++ (it has some problem with name mangling if you are using precompiled binaries, so you'll get a lot of linker error ("undefined reference" errors.).). (Unless you also compile the libs from arrayfire source)
On the other hand, both Build Tools, and Visual Studio 2017 will work with it. You should consider upgrading.
Please find attached a MSC bm file for Visual Studio 2017. Check out the paths, it'll give you the idea for also MS Build Tools (they are mostly same.). No other setting is required on my machine:
(To speed-up, just download the binaries. I used them.)
Best Regards,
Oblivion
-
Attachment: MSC.bm
(Size: 1.70KB, Downloaded 268 times)
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Thu, 26 October 2017 11:55] Report message to a moderator
|
|
|
 |
 |
undefined reference errors when building
By: Y ++ on Sun, 22 October 2017 20:56
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Mon, 23 October 2017 08:54
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Mon, 23 October 2017 09:36
|
 |
|
Re: undefined reference errors when building
By: koldo on Mon, 23 October 2017 10:16
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Mon, 23 October 2017 18:58
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Mon, 23 October 2017 19:47
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Tue, 24 October 2017 09:21
|
 |
|
Re: undefined reference errors when building
By: Oblivion on Tue, 24 October 2017 10:53
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Tue, 24 October 2017 10:57
|
 |
|
Re: undefined reference errors when building
By: Oblivion on Tue, 24 October 2017 11:10
|
 |
|
Re: undefined reference errors when building
By: Oblivion on Tue, 24 October 2017 14:31
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Tue, 24 October 2017 14:35
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Wed, 25 October 2017 18:10
|
 |
|
Re: undefined reference errors when building
By: Oblivion on Wed, 25 October 2017 21:09
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Wed, 25 October 2017 19:11
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Tue, 24 October 2017 09:34
|
 |
|
Re: undefined reference errors when building
By: rafiwui on Tue, 24 October 2017 10:20
|
 |
|
Re: undefined reference errors when building
By: Y ++ on Thu, 26 October 2017 18:47
|
 |
|
Re: undefined reference errors when building
By: koldo on Wed, 08 November 2017 13:23
|
Goto Forum:
Current Time: Thu Aug 21 10:31:37 CEST 2025
Total time taken to generate the page: 0.05230 seconds
|