mjwybrow / adaptagrams

Libraries for constraint-based layout and connector routing for diagrams.
http://www.adaptagrams.org/
261 stars 80 forks source link

libavoid library build Compilation/Linking fails. #16

Open cyberCBM opened 9 years ago

cyberCBM commented 9 years ago

I had to change use of MFC: Use Standard Windows Libraries to Use MFC in a Shared DLL ion both debug and release mode. to get it started

Compilation fails due to std::min and std::max wherever used not mentioned #inculde Linking fails due to HyperedgeImprover.h/.cpp files are not added into Project. {This are thing which worked for me after fresh pull of whole repository} Or it must be something I must have missed but i didn't find any document "How to build"

Please update accordingly, Thanks for your great work.

cyberCBM commented 9 years ago

Also opening libavoid solution does not load the "complex" project.

cyberCBM commented 9 years ago

So after investigation, One thing come to my notice is :

include

#define COLA_ASSERT(expr) assert(expr)

This one allows me not to use MFC which you were using #include. And that also allow not to use "Use Unicode Character Set"

But that was for my application and which are visual studio default as well I am sure you must be using them for some particular settings according to your project.

Apology if I am writing all this at wrong place. I couldn't find right place.

Thanks again.