- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi people,
I have some linker error happening with the SDK 13.1. To diagnose a bit, I tried running the examples from 13.0 found in "$(ALTERAOCLSDKROOT)/designs/", which are not provided anymore with 13.1 from what I have seen, and I get the same errors as in my own project. Here they are: 1>alteracl.lib(acl_program.obj) : error LNK2001: unresolved external symbol load_autodiscovery_xml 1>alteracl.lib(acl_program.obj) : error LNK2001: unresolved external symbol load_board_spec_xml You will guess this is using Visual Studio. My board is a Nallatech PCIe-385N and the computer is running Windows 7. Does anybody have an idea where the problem might be? Thanks a bunch, SmithLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try running "aocl link-config" and picking out the libraries that are listed. The old 13.0 example may not include all of the necessary libraries. Also, the new design example are located at:
http://www.altera.com/support/examples/opencl/opencl.html- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh yes that was it. There is an extra dependency in 13.1, which is "acl_hostxml.lib". Thanks a bunch!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you take a look at the makefile that comes with the design examples you'll see the makefile opens a shell that runs the aocl link-config command. That way you can have your makefile stay up to date with the paths/libraries that need to be included for future releases automatically.
![](/skins/images/BC9A7A3465121B56B278007F4EE8899F/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page