-
Notifications
You must be signed in to change notification settings - Fork 5
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
LNK2005 already defined #4
Comments
Thanks for your feedback, always appreciated. Could you give some details: OS, compiler? |
Just pushed a bug fix about these two lines, could you pull and check out? Please let me know, maybe other similar issues. |
So I pulled and tried to build it in my project again, this time I got a couple of linker errors.
|
What compiler / OS? |
Windows, MSVC |
Oops, I think I know what this is about, some missing inline. Working on it, I'll let you know. |
thankyou so much |
Just pushed bugfix with some inlining added. I hope I didn't miss any (Linux here, and only GCC). |
Yess checking now |
So, the other errors are gone except this
|
This is strange, because that function is tagged as deprecated (see namespace), thus shouldn't be called. I'll investigate and let you know. |
Ohh ok, thankyou |
Currently adding a CI process through GH actions to avoid back and forth attempts (you trying, me fixing ;-) |
Yess, awesome, I wil try that now |
The same error is there, with another saying |
The same function?you are sure? I don't get it. I'll check that. |
ya seems like the same, I don;t know why, is it a problem with boost version, I am using 1.80 |
Yep, true, forgot that one. |
great, it compiles, now thanks a lot, I just tried adding the header file first, now will build the graph and check for cycles. Thank you so much for all your efforts, you are such an amazing developer. |
You're welcome, but be warned that I stopped working on that project quite a while ago. Sadly, I left it in a quite messy state (although it does work with the samples provided). I would have loved to make it more robust. |
Yes, I can understand, it is really amazing what you have achieved here, I started studying the boost library to setup what you had did, and it would have taken me atleast 3 weeks to get some basic code running, this saved me a lot of time, and I also plan to use it for graphs with nodes in the range of 50 to 75, I hope it is small enough for a recursive footprint. I will post how the algorithm worked for me once I implement it fully. have a nice day! |
First off thanks for this library. I added the udgcd.hpp header file to my header file and added boost path in project settings.
I just wanted to see if the compilation works, so I started to build it and ran into a couple of error.
First, in like 239 and 240 I got this error. How can I resolve this?
const auto begin() const -> decltype(_data.begin()) { return _data.begin(); }
const auto end() const -> decltype(_data.end()) { return _data.end(); }
The error says,
Severity Code Description Project File Line Suppression State
Error C3551 if a trailing return type is used then the leading return type shall be the single type-specifier 'auto' (not 'const auto') ... 239
Thankyou for your time.
The text was updated successfully, but these errors were encountered: