[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: Linking to library in other project



I saw the answer on the ML archive on the website project.
It seems the message did not go through some spam filters at some point...

OK thanks, I need to use CMake if I want to use it on Windows platforms. I will see to that when needed.
---
B. R.


On Mon, Aug 18, 2014 at 3:33 PM, B.R. <reallfqq-libevent@xxxxxxxx> wrote:
Hello,

I am a new user here :o)

I plan on using the libevent library for the very first time in a project.
I wonder about something related to cross-compiling for Windows and Linux:

I compiled libevent with MinGW+MSYS on Windows in order to link my project against the libevent.a (static linking).
What if I want to link my project with the same library for the Linux version? I do not see any libevent.lib. Shall I use the libevent.a again? Or should I compile libevent in Linux first then use its output library, which I guess would be libevent(.dll).lib?

âThanks,â

---
B. R.