Author Topic: Tutorial error "SocketDescriptor" is undefined? How to fix?  (Read 7917 times)

Magnetbrain

  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Tutorial error "SocketDescriptor" is undefined? How to fix?
« on: February 02, 2015, 11:48:04 PM »
I have been following the tutorial http://www.jenkinssoftware.com/raknet/manual/tutorial.html and I'm up to the step of the initial build / run etc., using the code from http://www.jenkinssoftware.com/raknet/manual/tutorialsample1.html . But I get the error "SocketDescriptor" is undefined, how do I fix it?

zedo509

  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Tutorial error "SocketDescriptor" is undefined? How to fix?
« Reply #1 on: March 22, 2015, 02:19:51 PM »
Hello Guys ! I try to install RakNet in QtCreator by compiling some example in the tuto on linux and i got the same error. My .pro is:

TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt


unix {
           #ce repertoire
            INCLUDEPATH += /usr/include/RakNet
            CONFIG += link_pkgconfig
        }

 win32 {

            }
CONFIG(debug, debug|release)
     {
       TARGET = $$join(TARGET,,,d)
      LIBS *= -lRakNetDinamic.so
     }
CONFIG(release, debug|release):LIBS *= -lRakNetDinamic
SOURCES += main.cpp

Can u help me ?