RakNet

General Discussion => Programming => Topic started by: Magnetbrain on February 02, 2015, 11:48:04 PM

Title: Tutorial error "SocketDescriptor" is undefined? How to fix?
Post by: Magnetbrain on February 02, 2015, 11:48:04 PM
I have been following the tutorial http://www.jenkinssoftware.com/raknet/manual/tutorial.html (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 (http://www.jenkinssoftware.com/raknet/manual/tutorialsample1.html) . But I get the error "SocketDescriptor" is undefined, how do I fix it?
Title: Re: Tutorial error "SocketDescriptor" is undefined? How to fix?
Post by: zedo509 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 ?