Results 1 to 3 of 3

Thread: Suddenly i can't compile

  1. #1
    Join Date
    May 2017
    Posts
    4
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Suddenly i can't compile

    Hi, im new here, and i want to ask something, currently im using QT 5.8.0 on MacOS 10.12.3 (sierra) and Xcode 8.3.2

    i just downloaded QT about 2 weeks ago because i want to learn c++, and i haven't got any problem until recently, i was making a project to make like an app for a restaurant, and everything was so smooth until suddenly i hit this kind of error:

    • :-1: error: symbol(s) not found for architecture x86_64
    • :-1: error: linker command failed with exit code 1 (use -v to see invocation)



    i was confused because i check there's no error code in my source, but the weird thing is when i make a new project , its perfectly fine again but not for long, it hit the same error again.

    help me please? thank you

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Suddenly i can't compile

    That's a linker error, not a compiler error. Please post the full output from your build...
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  3. The following user says thank you to jefftee for this useful post:

    dwiandra (24th May 2017)

  4. #3
    Join Date
    May 2017
    Posts
    4
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Suddenly i can't compile

    after i check the output it seems that for some reason if i delete the output that QT gave me, it will run again , thank you so much for your time my problem is solved now

Similar Threads

  1. QMenuBar's height has suddenly changed - bug?
    By LucaDanieli in forum Newbie
    Replies: 3
    Last Post: 28th January 2017, 17:47
  2. Project suddenly doesn't compile
    By vieraci in forum Qt Programming
    Replies: 16
    Last Post: 7th June 2016, 07:12
  3. Suddenly Nothing Happens
    By Atomic_Sheep in forum Qt Programming
    Replies: 2
    Last Post: 17th September 2013, 11:54
  4. suddenly datareadProgress total = 0
    By SpeedxDevil in forum Newbie
    Replies: 1
    Last Post: 12th July 2012, 09:21
  5. Suddenly getting 'undefined ref to 'WinMain@16'
    By Doug Broadwell in forum Qt Programming
    Replies: 8
    Last Post: 4th December 2008, 18:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.