Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libavoid library build Compilation/Linking fails. #16

Open
cyberCBM opened this issue Jun 25, 2015 · 2 comments
Open

libavoid library build Compilation/Linking fails. #16

cyberCBM opened this issue Jun 25, 2015 · 2 comments

Comments

@cyberCBM
Copy link

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
Copy link
Author

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

@cyberCBM
Copy link
Author

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

#include <assert.h>
#define COLA_ASSERT(expr) assert(expr)

This one allows me not to use MFC which you were using #include<afx.h>.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant