Qt Symbols Not Found Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers symbols not found for architecture x86_64 xcode or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x symbols not found for architecture x86_64 qt mac Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it symbol(s) not found for architecture x86_64 mac only takes a minute: Sign up “Symbol(s) not found for architecture x86_64” on QtCreator project up vote 9 down vote favorite 4 I'm getting the error Symbol(s) not found for architecture x86_64 Trying to compile a project on QtCreator. It symbol(s) not found for architecture x86_64 ios happens when I try to create an instance of an user defined class, Layer. That class consists of a header, layer.h, and a implementation, layer.cpp. It was tested and works in another programs. On my project, it is included in qtwidget.h and the error happens when I try to use it on qtwidget.cpp. For example: Layer
:-1: Error: Symbol(s) Not Found For Architecture X86_64 Qt
how to isolate it any further, but if it helps, I've included the whole project on this git repo. c++ qt compiler-errors share|improve this question asked Sep 24 '13 at 4:37 Viclib 13k2073154 Did you include the cpp in your project, and is it being built? –Aesthete Sep 24 '13 at 4:54 I think so. Notice it is listed on 3d_multilayer_viewer.pro. I'm new to Qt so maybe there is something else I need to do I'm not aware of. I don't know how to check if it is being built –Viclib Sep 24 '13 at 4:56 add a comment| 3 Answers 3 active oldest votes up vote 24 down vote In my opinion, the error message that Qt Creator displays is quite misleading until you understand it, but does not prevent splitting the template class into a header and implementation file. If you think about the message: Symbol(s) not found for architecture x86_64 the problem, I originally thought when I saw this, is that it states this error on its own in the Issues output and can lead the user into thinking that the problem is due to the architecture. Actually, all its saying is that there's a defined symbol (often function) whose matching implementation wasn't found. If you change from Issues to the Compile Output window and scroll up, you'll be able to see exactly what symbols can't be found; mine's displayed in
here for a quick overview of the
Symbols Not Found For Architecture Arm64
site Help Center Detailed answers to any questions qt undefined symbols for architecture x86_64 you might have Meta Discuss the workings and policies of this site About Us symbol(s) not found for architecture x86_64 c Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs http://stackoverflow.com/questions/18973042/symbols-not-found-for-architecture-x86-64-on-qtcreator-project Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up qt compile error: symbol(s) not found for architecture http://stackoverflow.com/questions/29292486/qt-compile-error-symbols-not-found-for-architecture-x86-64 x86_64 up vote 1 down vote favorite Trying to compile a program on mac using Qt 5.4 clang 64bit. The program includes using Opal Kelly .dylib files and header files to talk to an FPGA connected through USB. The program compiles fine on windows with windows versions of the .dylib (.dll) and the windows header file, however on mac I get the following error trying to compile: :-1: error: symbol(s) not found for architecture x86_64 The compiler output is: Undefined symbols for architecture x86_64: "_okFrontPanelDLL_LoadLib", referenced from: MainWindow::AllocateMemory() in ProcessingFunctions.o "_okFrontPanelManager_Destruct", referenced from: OpalKelly::FrontPanelManager::~FrontPanelManager() in main.o OpalKelly::FrontPanelManager::~FrontPanelManager() in fpga.o OpalKelly::FrontPanelManager::~FrontPanelManager() in graphing.o OpalKelly::FrontPanelManager::~FrontPanelManager() in FPGAScanner.o OpalKelly::FrontPanelManager::~FrontPanelManager() in ProcessingFunctions.o OpalKelly::FrontPanelManager::~FrontPanelManager() in mainwindow.o OpalKelly::FrontPanelManager::~FrontPanelManager() in moc_mainwindow.o ... "_okFrontPanel_ConfigureFPGA", referenced from: OpalKellyLegacy::okCFrontPanel::ConfigureFPGA(std::__1::basic_string
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home https://forum.qt.io/topic/35065/solved-qt5-1-qt5-2-xcode-5-0-2-mac-os-10-9-mavericks-can-t-link-to-the-libraries-undefined-symbols-for-architecture-x86_64 Qt Development Installation and Deployment [SOLVED] Qt5.1/Qt5.2 + XCode 5.0.2 + Mac OS 10.9 (Mavericks) , Can't link to the libraries ( Undefined symbols for architecture http://forums.macrumors.com/threads/error-symbol-s-not-found-for-architecture-x86_64.1983989/ x86_64 ) [SOLVED] Qt5.1/Qt5.2 + XCode 5.0.2 + Mac OS 10.9 (Mavericks) , Can't link to the libraries ( Undefined symbols for architecture x86_64 ) This not found topic has been deleted. Only users with topic management privileges can see it. maythe4thbewithu last edited by I have asked this question in here bq. http://stackoverflow.com/questions/20342896/qt5-mac-os-10-9-mavericks-undefined-symbols-for-architecture-x86-64 -I think the problem is the linker, so I post here again.- The computer is a fresh (not upgraded) Mac OS X 10.9 + Xcode (5.0.2) not found for with command line tools I installed the Qt 5.2 (Qt5.1 has the same result), and a simple hello world c++ program runs nicely. I have -the OpenCV 2.4.7 and Boost 1.5 installed- libraries compiling from sources on my /usr/local/lib. These libraries checked by file command are all @Mach-O 64-bit dynamically linked shared library x86_64@ A simple program -of OpenCV- can be compiled and linked to these libraries by running commands under terminal -@g++ -L/usr/local/lib -lopencv_core -lopencv_highgui -I/usr/local/include main.cpp@- However when I try to build this program under Qt. An error message @Undefined symbols for architecture x86_64@ shows up. As discussions with SGaist and sandy.martel below, this is caused by using libstdc++ or libc++ issue. -But I can't find explanation so far. - -A simple pure OpenCV or pure Boost program gives the same error.- -So it seems that Qt can't link correctly to see the function I used ?- I solve this by change @/
10 iPad Air 2 iPad mini 4 (2015) iPad Pro iPhone 6s iPhone 7 iPhone 8 (2017) iPhone SE iPod nano iPod shuffle iPod touch Mac mini Mac Pro MacBook Air MacBook Pro macOS Sierra Retina MacBook Thunderbolt Display tvOS 10 watchOS 3 Buyer's Guide Forums Forums Front Page Roundups Buyer's Guide Forums Roundups OS X Yosemite MacBook Air iOS 8 Apple Watch Log in Sign up Recent Posts Spy Support Support Quick Links General FAQ MacRumors Theme FAQ Contact Us Lost Password Menu Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Options Please select a forum to jump to News and Article Discussion MacRumors.com News Discussion Mac Blog Discussion iOS Blog Discussion iPhone, iPad, and iPod Touch iOS iOS 9 (Beta) iOS 8 iOS 7 Older iOS Versions iOS 6 iOS 5 and earlier iPhone iPhone iPhone Tips, Help and Troubleshooting iPhone Accessories iPhone Launch Meetups iPad iPad iPad Tips, Help and Troubleshooting iPad Accessories iOS Apps iPod touch iOS Programming iPod Jailbreaks and iOS Hacks Alternatives to iOS and iOS Devices Apple Watch Apple Watch Apple Watch Accessories Apple Watch Apps Macs OS X OS X OS X El Capitan (10.11, Beta) OS X Yosemite (10.10) OS X Mavericks (10.9) Older OS X Versions OS X Mountain Lion (10.8) Mac OS X Lion (10.7) Desktops iMac Mac Pro Mac mini Notebooks MacBook MacBook Pro MacBook Air Mac Basics and Help Mac Programming Buying Tips and Advice PowerPC Macs Mac Accessories W