<div dir="ltr">Sorry let me try to be more specific.<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>However the error I get is the following:</div><div>LNK2019: unresolved external symbol enet_initialize referenced in function....</div><div><br></div><div>I think it linked in that if I ctrl+click the enet_initialize() I get moved to the corresponding function inside the library.</div>
<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 20, 2013 at 12:00 PM, <span dir="ltr"><<a href="mailto:enet-discuss-request@cubik.org" target="_blank">enet-discuss-request@cubik.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ENet-discuss mailing list submissions to<br>
<a href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:enet-discuss-request@cubik.org">enet-discuss-request@cubik.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:enet-discuss-owner@cubik.org">enet-discuss-owner@cubik.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ENet-discuss digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Qt inclusion or support? (Blah900)<br>
2. Re: Qt inclusion or support? (Shaun Reich)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 19 Jul 2013 18:14:18 -0700<br>
From: Blah900 <<a href="mailto:blah900z@gmail.com">blah900z@gmail.com</a>><br>
To: <a href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</a><br>
Subject: [ENet-discuss] Qt inclusion or support?<br>
Message-ID:<br>
<<a href="mailto:CAAgTS1dwdGer2KSTKsaXLXh6bYT8A50GyRBXc%2BvLx9X55HwKcA@mail.gmail.com">CAAgTS1dwdGer2KSTKsaXLXh6bYT8A50GyRBXc+vLx9X55HwKcA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Does anyone happen to know how to link this library to Qt?<br>
<br>
I am using Qt creator on windows 7 so I tried linking the enet.lib and<br>
enet64.lib but it doesn't seem to be working at all at the moment.<br>
<br>
Thanks<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.cubik.org/pipermail/enet-discuss/attachments/20130719/6df21a8f/attachment-0001.html" target="_blank">http://lists.cubik.org/pipermail/enet-discuss/attachments/20130719/6df21a8f/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 19 Jul 2013 21:20:08 -0400<br>
From: Shaun Reich <<a href="mailto:sreich@kde.org">sreich@kde.org</a>><br>
To: Discussion of the ENet library <<a href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</a>><br>
Subject: Re: [ENet-discuss] Qt inclusion or support?<br>
Message-ID:<br>
<CADVynFDHJk2ctpLoK0+BnXQS=<a href="mailto:a4XBFrXHc_vocZiARmHTxOrgg@mail.gmail.com">a4XBFrXHc_vocZiARmHTxOrgg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
uh, like you would with any C++ project.<br>
<br>
and define "not working"?<br>
<br>
guessing you're using qmake..<br>
<br>
On Fri, Jul 19, 2013 at 9:14 PM, Blah900 <<a href="mailto:blah900z@gmail.com">blah900z@gmail.com</a>> wrote:<br>
> Does anyone happen to know how to link this library to Qt?<br>
><br>
> I am using Qt creator on windows 7 so I tried linking the enet.lib and<br>
> enet64.lib but it doesn't seem to be working at all at the moment.<br>
><br>
> Thanks<br>
><br>
> _______________________________________________<br>
> ENet-discuss mailing list<br>
> <a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
> <a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
><br>
<br>
<br>
<br>
--<br>
Shaun Reich,<br>
KDE Software Developer (<a href="http://kde.org" target="_blank">kde.org</a>)<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br>
<br>
End of ENet-discuss Digest, Vol 121, Issue 8<br>
********************************************<br>
</blockquote></div><br></div>