Sorry let me try to be more specific. I am using Qt creator and copied the enet.lib and enet64.lib into my workspace directory. Then I copied the include headers into my workspace directory as well.
Then in the Qt Creator I tried both LIBS += -lenet64 and LIBS += -lenet to link the library. Then I included into the project the enet headers. Then I built it using Qmake and then tried to run it. However the error I get is the following: LNK2019: unresolved external symbol enet_initialize referenced in function.... I think it linked in that if I ctrl+click the enet_initialize() I get moved to the corresponding function inside the library. Thanks On Sat, Jul 20, 2013 at 12:00 PM, <[email protected]> wrote: > Send ENet-discuss mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.cubik.org/mailman/listinfo/enet-discuss > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ENet-discuss digest..." > > > Today's Topics: > > 1. Qt inclusion or support? (Blah900) > 2. Re: Qt inclusion or support? (Shaun Reich) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 19 Jul 2013 18:14:18 -0700 > From: Blah900 <[email protected]> > To: [email protected] > Subject: [ENet-discuss] Qt inclusion or support? > Message-ID: > < > caagts1dwdger2kstksaxlxh6byt8a50gyrbxc+vlx9x55hw...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Does anyone happen to know how to link this library to Qt? > > I am using Qt creator on windows 7 so I tried linking the enet.lib and > enet64.lib but it doesn't seem to be working at all at the moment. > > Thanks > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.cubik.org/pipermail/enet-discuss/attachments/20130719/6df21a8f/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Fri, 19 Jul 2013 21:20:08 -0400 > From: Shaun Reich <[email protected]> > To: Discussion of the ENet library <[email protected]> > Subject: Re: [ENet-discuss] Qt inclusion or support? > Message-ID: > <CADVynFDHJk2ctpLoK0+BnXQS= > [email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > uh, like you would with any C++ project. > > and define "not working"? > > guessing you're using qmake.. > > On Fri, Jul 19, 2013 at 9:14 PM, Blah900 <[email protected]> wrote: > > Does anyone happen to know how to link this library to Qt? > > > > I am using Qt creator on windows 7 so I tried linking the enet.lib and > > enet64.lib but it doesn't seem to be working at all at the moment. > > > > Thanks > > > > _______________________________________________ > > ENet-discuss mailing list > > [email protected] > > http://lists.cubik.org/mailman/listinfo/enet-discuss > > > > > > -- > Shaun Reich, > KDE Software Developer (kde.org) > > > ------------------------------ > > _______________________________________________ > ENet-discuss mailing list > [email protected] > http://lists.cubik.org/mailman/listinfo/enet-discuss > > > End of ENet-discuss Digest, Vol 121, Issue 8 > ******************************************** >
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
