HelperFunctions.cmake 109 (check error)

Syed Shaharyaar Hussain <[email protected]> Tue, 26 Mar 2019 01:32:21 +0500
Newsgroups gmane.comp.graphics.inkscape.devel
Message-ID <CAA-t9s+dMPbGBJMLo+XCHbNn=F5rDBZCgmkB=xWv-x9dzEpkTg@mail.gmail.com>
Greetings

My name is Syed Shaharyaar Hussain. I am building Inkscape so that I start
working on Project Refactoring. I think I am very close to building the
project, however I am encountering an error. I am attaching error-log and
terminal snapshot to clarify my problem. Can anybody help me in this
regard? Thank You!

Shaharyaar
Regards
[image: helper funtion 109 check error.PNG]

_______________________________________________
Inkscape-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
helper funtion 109 check error.PNG (image/png, 84.7 KB) - not displayed
CMakeError.log (application/octet-stream, 5.3 KB)
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_80209"
[1/2] Building CXX object CMakeFiles/cmTC_80209.dir/src.cxx.obj

FAILED: CMakeFiles/cmTC_80209.dir/src.cxx.obj 

C:\msys64\mingw64\bin\g++.exe   -IC:/msys64/mingw64/include -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTC_80209.dir/src.cxx.obj -c src.cxx

src.cxx: In function 'int main()':
src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive]
     iconv(conv, &in, &ilen, &out, &olen);
                 ^~~
In file included from src.cxx:2:
C:/msys64/mingw64/include/iconv.h:82:43: note:   initializing argument 2 of 'size_t libiconv(libiconv_t, char**, size_t*, char**, size_t*)'
 extern size_t iconv (iconv_t cd,  char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
                                   ~~~~~~~~^~~~~
ninja: build stopped: subcommand failed.


Source file was:

  #include <iconv.h>
  int main(){
    iconv_t conv = 0;
    const char* in = 0;
    size_t ilen = 0;
    char* out = 0;
    size_t olen = 0;
    iconv(conv, &in, &ilen, &out, &olen);
    return 0;
  }

Determining if files ieeefp.h exist failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_8288f"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_8288f.exe', missing and no known rule to make it


Source:
/* */
#include <ieeefp.h>


int main(void){return 0;}

Determining if the function mallinfo exists failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_8a806"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_8a806.exe', missing and no known rule to make it



Determining if files malloc.h exist failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_9905c"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_9905c.exe', missing and no known rule to make it


Source:
/* */
#include <malloc.h>


int main(void){return 0;}

Determining if files stdint.h exist failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_07b2f"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_07b2f.exe', missing and no known rule to make it


Source:
/* */
#include <stdint.h>


int main(void){return 0;}

Performing C SOURCE FILE Test HAVE_STRUCT_MALLINFO_FORDBLKS failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_0700a"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_0700a.exe', missing and no known rule to make it


Source file was:

#include <malloc.h>

int main()
{
   (void)sizeof(((fordblks *)0)->mallinfo);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_MALLINFO_FSMBLKS failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_77ff6"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_77ff6.exe', missing and no known rule to make it


Source file was:

#include <malloc.h>

int main()
{
   (void)sizeof(((fsmblks *)0)->mallinfo);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_MALLINFO_HBLKHD failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_9c163"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_9c163.exe', missing and no known rule to make it


Source file was:

#include <malloc.h>

int main()
{
   (void)sizeof(((hblkhd *)0)->mallinfo);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_MALLINFO_UORDBLKS failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_bd9e4"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_bd9e4.exe', missing and no known rule to make it


Source file was:

#include <malloc.h>

int main()
{
   (void)sizeof(((uordblks *)0)->mallinfo);
   return 0;
}

Performing C SOURCE FILE Test HAVE_STRUCT_MALLINFO_USMBLKS failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_8ffc1"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_8ffc1.exe', missing and no known rule to make it


Source file was:

#include <malloc.h>

int main()
{
   (void)sizeof(((usmblks *)0)->mallinfo);
   return 0;
}

Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/msys64/home/Shaharyaar/inkscape/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/msys64/mingw64/bin/ninja.exe" "cmTC_8b87d"
ninja: error: '/c/msys64/mingw64/lib', needed by 'cmTC_8b87d.exe', missing and no known rule to make it
CMakeOutput.log (application/octet-stream, 100.7 KB) - not displayed