About

Seeing as how often many programmers struggle with the same issue twice, I decided to start this blog. I will try to note the problems that I encountered during my coding here so that when I, or other programmers, encounter them again the solution is already available somewhere.

I will note the issues that required more than a simple Google search to solve.

Never get stuck on the same issue twice! 🙂

2 comments

    • elham on February 18, 2019 at 12:01 PM
    • Reply

    Dear Mr. Maghoumi

    I have a question about a compilation error in Windows 10.
    I am trying to compile some code, but an error is occurred.

    Error using mex
    correspondPixels.cc
    G:\matlab\agreement-master\agreement-master\functions\iprecision\support_functions\source\csa.hh(18):
    fatal error C1083: Cannot open include file: ‘sys/times.h’: No such file or directory

    Error in build (line 7)
    mex -largeArrayDims -v CXXFLAGS=”\$CXXFLAGS -O3 -DNOBLAS” -outdir ../ correspondPixels.cc csa.cc
    kofn.cc match.cc Exception.cc Matrix.cc Random.cc String.cc Timer.cc

    and the link of code is: https://github.com/TesterTi/Agreement , that the function of ‘build.m’ should be run. The code of GitHub is for Linux.

    I’ve also seen your site and unfortunately I don’t have enough knowledge to work in this matter.
    How do I get sys/times.hin Windows10?

    I would be grateful if you could help me regarding this issue,
    Thank you and Best Regards,
    Elham,

    1. Did you see this post? https://www.codefull.net/2015/12/systime-h-replacement-for-windows/
      Did you try that already?

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.