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 » 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 Go to previous messageGo to previous message
Oblivion is currently offline  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)


[Updated on: Thu, 26 October 2017 11:55]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: u++ in appveyor ?
Next Topic: Link Libraries
Goto Forum:
  


Current Time: Thu Aug 21 10:31:37 CEST 2025

Total time taken to generate the page: 0.05230 seconds