[ENet-discuss] ENet-discuss Digest, Vol 121, Issue 8

Blah900 blah900z at gmail.com
Sat Jul 20 14:50:33 PDT 2013


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, <enet-discuss-request at cubik.org> wrote:

> Send ENet-discuss mailing list submissions to
>         enet-discuss at cubik.org
>
> 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
>         enet-discuss-request at cubik.org
>
> You can reach the person managing the list at
>         enet-discuss-owner at cubik.org
>
> 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 <blah900z at gmail.com>
> To: enet-discuss at cubik.org
> Subject: [ENet-discuss] Qt inclusion or support?
> Message-ID:
>         <
> CAAgTS1dwdGer2KSTKsaXLXh6bYT8A50GyRBXc+vLx9X55HwKcA at 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 <sreich at kde.org>
> To: Discussion of the ENet library <enet-discuss at cubik.org>
> Subject: Re: [ENet-discuss] Qt inclusion or support?
> Message-ID:
>         <CADVynFDHJk2ctpLoK0+BnXQS=
> a4XBFrXHc_vocZiARmHTxOrgg at mail.gmail.com>
> 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 <blah900z at gmail.com> 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
> > ENet-discuss at cubik.org
> > http://lists.cubik.org/mailman/listinfo/enet-discuss
> >
>
>
>
> --
> Shaun Reich,
> KDE Software Developer (kde.org)
>
>
> ------------------------------
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
> End of ENet-discuss Digest, Vol 121, Issue 8
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20130720/c213da59/attachment.html>


More information about the ENet-discuss mailing list