codemagic
  • Home
  • About.me
  • Resume
  • Blog

Problems with boost and threadpool when used together

1/29/2014

0 Comments

 
Recently while I was on our state of the art Video2Text website to check its working status. I found it had some problem while generating the text. I found that the website was broken. I and my friend thought it was because of the job dispatcher called Celery which we used to dispatch jobs to our servers and gather the results to display them, after restarting the dispatcher  and  checking all the parameter, I understood the problem was much deeper. The problem was in my video generation code which used lots of libraries. One of the external  library got accidentally updated to the latest version and the compatibility between another library was broken.
                   The Problem was between the latest version of Boost 1.55.0 and ThreadPool 0.2.5. while compiling my project code which was internally linked with both library, I was getting a error suggesting  "TIME_UTC not declared locally".  After looking through the change list of Boost. I found the "TIME_UTC" was renamed to "TIME_UTC_" .  After renaming the ThreadPool Library's  "TIME_UTC" constant to "TIME_UTC_",  the error was rectified. I have also informed the author of ThreadPool  Library regarding the compatibility issues with the latest version of boost and probably in the next release of ThreadPool, the compatibility would be resolved.
0 Comments



Leave a Reply.

    Author

    Kaushal Bondada

    Archives

    January 2014

    Categories

    All
    C++
    Latex
    Machine Learning
    Matlab
    Python
    Vim

    RSS Feed

Powered by Create your own unique website with customizable templates.