Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Help me compile a project!
Forum Updated to NodeBB v4.3 + New Features

Help me compile a project!

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    helpme
    wrote on last edited by
    #1

    Hello, this should have been straight forward as the project is made with QT.
    Compiling this project https://github.com/evanw/cs224final/archive/master.zip

    But I have tried everything I'm capable of, using QT versions ranging from 4.4 up to 5.0, msvc2008, 2010 and mingw
    I just cannot compile the source even after trying to fix the errors I just end up getting other ones.

    Can someone please help me here?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      What errors?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        helpme
        wrote on last edited by
        #3

        The errors are different for QT <4.8 and those over >4.8, also different for different compilers.
        You have the source there so you can see for yourself, it includes a .pro file. takes just a min to open and test.

        1 Reply Last reply
        0
        • U Offline
          U Offline
          utcenter
          wrote on last edited by
          #4

          That CS..final sounds a bit like computer science exam to me. Does thou know thou shalt not let others do thy assignments? ;)

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #5

            It has been written to Qt4 not Qt5, and an older version at that. The code assumes that the Qt includes pull in the OpenGL header <GL/glu.h> and the matching library, an assumption that is incorrect since IIRC Qt 4.7.3.

            So, to correct the problem, in each file reporting undefined glu* functions you need to include that header. There are at least 6 files to do this with. You also need to arrange linking to the GLU library by adding to the PRO file:

            @
            win32: LIBS += -lglu32
            unix: LIBS += -lGLU
            @

            Once you have that done you have a program that will compile if your system has a new enough OpenGL implementation. Works fine on my Linux box, not on my Windows virtual machine: the OpenGL is too old. YMMV if you have a newer Windows or third-party OpenGL impl.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              helpme
              wrote on last edited by
              #6

              Unfortunately, I had no success in compiling the project.
              But I wish to thank you for taking the time to test it out and giving me very helpful information!

              Thanks.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved