Results 1 to 4 of 4

Thread: Linking problem Windows 7 (64 bit) Qwt 6.1.0-rc3 + Qt 5.0.2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Linking problem Windows 7 (64 bit) Qwt 6.1.0-rc3 + Qt 5.0.2

    "VisualDiscretizerWin.exe - Entry Point Not Found
    The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll"
    The dll file is not accessable from the release sub-folder, so what you could do is copy the libstdc++-6.dll file to release sub-folder (it can be found in MinGw\bin folder).

    Further you need other dlls, copy all the required dlls to release sub-folder
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  2. #2
    Join Date
    Apr 2013
    Posts
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Linking problem Windows 7 (64 bit) Qwt 6.1.0-rc3 + Qt 5.0.2

    Thanks! I copied the libstdc++-6.dll file in the folder, and now it's not giving that error anymore.

    However, it's getting weirder. After I copied the .dll inside the release folder, the executable crashed with no messages (!) every time I tried to run it, even after recompiling everything :-O The current main.cpp file is:

    Qt Code:
    1. // main class for the visual discretizer application
    2.  
    3. // Qt/Qwt classes
    4. #include <QApplication>
    5.  
    6. // local classes
    7. #include "Interval.h"
    8. #include "VisualDiscretizerMainWindow.h"
    9.  
    10. using namespace std;
    11.  
    12. int main(int argc, char* argv[])
    13. {
    14. cout << "Wow, now I am running!" << endl;
    15.  
    16. // create qt application
    17. QApplication app(argc, argv);
    18.  
    19. // associate it to main window
    20. QMainWindow* mainWindow = new QMainWindow;
    21. Ui::VisualDiscretizerMainWindow vdMainWindow;
    22.  
    23. // execute
    24. vdMainWindow.setupUi(mainWindow);
    25.  
    26. // show window
    27. mainWindow->show();
    28.  
    29. // return
    30. return app.exec();
    31. }
    To copy to clipboard, switch view to plain text mode 

    Do you have any advice?

  3. #3
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Linking problem Windows 7 (64 bit) Qwt 6.1.0-rc3 + Qt 5.0.2

    Can you use the debugger and see where it is crashing.

    BTW mainWindow is not being deleted!
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Replies: 2
    Last Post: 10th February 2011, 16:03
  2. Replies: 3
    Last Post: 1st December 2010, 11:24
  3. linking problem under windows
    By grisson in forum General Programming
    Replies: 1
    Last Post: 13th July 2010, 19:11
  4. jom / Windows SDK libs linking problem
    By nooky59 in forum Qt Tools
    Replies: 3
    Last Post: 12th November 2009, 14:58
  5. Problem with linking QT at windows.
    By zygmunt in forum Installation and Deployment
    Replies: 1
    Last Post: 21st October 2008, 21:53

Tags for this Thread

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.