COIN-OR::LEMON - Graph Library

Opened 3 years ago

Closed 3 years ago

#501 closed defect (invalid)

Installing on Dev C++

Reported by: fc13_alexander Owned by: alpar
Priority: major Milestone: LEMON 1.4 release
Component: core Version: hg main
Keywords: Cc:
Revision id:


I'm trying to install LEMON; my preferred compiler is dev-c++, and I would really like to use it with LEMON, but I do not see a way to install it with it. I attempted to install with Visual Studio as recommended in the instructions, but I could not get a program to build and run after I built the solution for LEMON.

Change History (3)

comment:1 Changed 3 years ago by alpar

I have no access to Dev-C++ right now, but it seems to me that it is based on MinGW, which is in turn a Win port of gcc. So it should work with LEMON. Try following the guide on the InstallCmake wikipage but choose the MINGW Makefiles generator.

For using LEMON in your project please refer to HowToCompile wikipage. It is Linux specific, but all the three method can easily be adapted to both MinGW and Visual Studio.

Should you need any further assistance, do not hesitate asking again.

When you succeed, I also encourage you to summarize your experience in a wiki page. It may be helpful to other Windows users.

comment:2 Changed 3 years ago by fc13_alexander

Okay, so I tried generating through cmake for MinGW and I began getting errors that didn't come up when I did it for Visual Studio.

However, upon reading the HowToCompile page, I like the second option (adding code to LEMON through the contrib/ subdirectory. I just don't understand what it means to "adjust contrib/CMakeLists.txt" or what to expect after I compile it through CMake (if I interpret correctly that's what I need to do).

I'll be honest that my experience with programming and programs such as this is minimal (I know C++ basics, but not much beyond that). LEMON just looks really useful for a project I'm currently working on, but I just can't get past installation.

comment:3 Changed 3 years ago by alpar

  • Resolution set to invalid
  • Status changed from new to closed

This ticket doesn't have enough information to conclude that it is indeed a bug in LEMON which should be fixed

Note: See TracTickets for help on using tickets.