by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mateusz Łoskot
@mloskot
Bhavuk kalra
@bhavukkalra
Hello everyone,
can i get an invite to boost.GIL channel.
Mateusz Łoskot
@mloskot
Shubham
@shubham9008
@mloskot can you please send me an invite link for slack group ..
Pranam Lashkari
@lpranam
The link is literally just above your message
Shubham
@shubham9008
O..sorry
Nikita Kniazev
@Kojoley
@mloskot Seen your message on mail list. I assume you have run the test under ASan and UBSan with the latest Clang. I had observed a codgen regression in VS2017 that took me a while to investigate https://developercommunity.visualstudio.com/content/problem/342397/x64-optimization-codgen-bug-in-latest-compiler-ver.html and while it is seems to be fixed in VS2019 it is still not in VS2017. I may suggest to find an older build of VS2017 (<=15.7.5) and see if the bug reproduces there.
Pranam Lashkari
@lpranam
I would suggest you to join the slack channel @Kojoley
And continue conversation there...
Nikita Kniazev
@Kojoley
@lpranam I do not have slack and do not want to use it
Mateusz Łoskot
@mloskot

I do not have slack and do not want to use it

@Kojoley I understand not everyone is keen in using Slack. I moved there as all other Boost'ers hang out there, it is properly archived, convenient. I don't force anyone to move along, I just may not hang out on Gitter as often myself.

@Kojoley I dUBSan builds (undefined, integer, nullability) on Linux, they pass, but I admit I did not checked their detailed output yet. Thaks for the pointers, I will follow those leads
Mahmoud Ahmed
@mahmoudahmedd
Hello everybody
Mateusz Łoskot
@mloskot
hi
Mahmoud Ahmed
@mahmoudahmedd

I am Mahmoud, studying Computer Science at the Cairo University with a graduation date of 06/2021.

I have been trying for a week to link boost library (boost_1_69_0/boost_1_72_0) with visual studio 2010 or 2013 to solve Programming competency test

Mateusz Łoskot
@mloskot
sorry, this is not a general Boost support channel
15 replies
Mahmoud Ahmed
@mahmoudahmedd
But I do not know what is the problem
I watched many videos...
I followed the necessary steps...
But I don’t know what is the problem
Mateusz Łoskot
@mloskot

to link boost library

FYI, there is no such thing as a Boost library.
Boost is a collection of C++ libraries!

Mateusz Łoskot
@mloskot
@mahmoudahmedd As you've said the word GIL, yes, this is the right channel, although we are moving to #boost-gil on Slack

Back to your question

to link boost library

GIL is header-only, there is no linking against any GIL binaries

Mahmoud Ahmed
@mahmoudahmedd

Well, I'm going to ask another question.
Can i slove "Programming competency test --- Generic Image Library"

Using another library?

It is a simple library that helps me read bitmap images...
Mateusz Łoskot
@mloskot

@mahmoudahmedd second issue

with visual studio 2010 or 2013

If you read the https://github.com/boostorg/gil/#requirements you will learn GIL requires C++11 since Boost 1.68 release

You should know your compiler/toolset of your choice to be able to tell if it does support C++11 or not
There will be no time for teaching you how to use compilers during GSoC

Using another library?

Well, the competency test is clear, it says "Using latest Boost.GIL..." and it says "...using latest Boost.GIL." again

There is alternative competency test suggested, which does not have to use GIL but metaprogramming techniques
Now, given that it is late into GSoC program and some students have been working on their proposals and competency tests since January, changing or relaxing competency test now is not the right thing to do.
I believe that answers your question
Mahmoud Ahmed
@mahmoudahmedd

There is alternative competency test suggested, which does not have to use GIL but metaprogramming techniques

Yes, I have read it, but to be honest with you
I did not understand the required
But the first (simple convolution filter) test was considered rather simple

Well I will try again
Thank you Mr Mateusz :)
Mateusz Łoskot
@mloskot
Well, I have to say basics of metaprogramming like using typelists, finding element in a typelist using a library like Boost.MP11 mentioned there, is quite a requirement for contributing to GIL.
GIL is a non-trivial highly templated code
usamah375
@usamah375
Hello. I just submitted a draft proposal for GSoC to work on a K-means clustering algorithm for GIL. I have prior experience in C++, but for image processing projects I have mostly worked in Python - where I've previously implemented a Hierarchical Agglomerative Clustering for images. I was hoping to receive some guidance on my shared proposal.
I am also attempting the edge detection task to familiarize myself with GIL, or would you prefer I submit something else?
Mateusz Łoskot
@mloskot
If you submitted it to GSoC site I'm sure it will be received and reviewed.
It's only two days to the deadline and I cannot offer you any discussion or feedback about your draft.
Samuel Debionne
@sdebionne
Hi everyone, has anyone already implemented an ImageView that keeps a ref counter to the underlying data (e.g. Image)? I was thinking of using a Shared Container Iterator. Just wondering if anyone has already tested this or any other approaches...
Mateusz Łoskot
@mloskot
Nope, not me
Mateusz Łoskot
@mloskot
@sdebionne in case you missed the news :point_right: https://cppalliance.org/slack/ :)
Mateusz Łoskot
@mloskot

@sdebionne

I was thinking of using a Shared Container Iterator

I have never used the shared containers, so no idea what kind of adaptation it would require, but if you are thinking of GIL extension with some custom iterators, then I'd suggest to avoid use of Boost.Iterator stuff (adapter, facade).
I have a dream to rewrite all GIL iterators and get rid of those adapters, see https://lists.boost.org/boost-users/2020/03/90323.php

I hope could improve speed, but more hope for improved testing and debugging experience without the ridiculous types generated :)
Maintainability would improve too
Rian Neogi
@rianneogi
how do i link GIL in cmake?
simply including GIL via header gives me compile errors
Rian Neogi
@rianneogi
i am linking against libpng,libjpeg,libtiff and libraw... still doesnt work
Mateusz Łoskot
@mloskot
well, works for me
Mateusz Łoskot
@mloskot
@rianneogi without details, hard to tell
Mateusz Łoskot
@mloskot
@Kojoley I recall you're not on Slack, so asking here. Did my screenshot response to the B2 PR answered your question or is there an issue that I should resolve?
Mateusz Łoskot
@mloskot
@Kojoley Kudos for your contributions to Boost.Build!
Nikita Kniazev
@Kojoley
@mloskot Thanks!