I installed QT 5.1 VS2012 release and installed successfuly.
I get error while compilng the project in QT Creator with the 'jom' thingy saying:
"jom: F:\tmp2\build-testprj-Desktop_Qt_5_1_0_MSVC2012_32bit-Debug\Makefile.Debug [debug\mainwindow.obj] Error 2
jom: F:\tmp2\build-testprj-Desktop_Qt_5_1_0_MSVC2012_32bit-Debug\Makefile.Debug [debug\moc_mainwindow.obj] Error 2
jom: F:\tmp2\build-testprj-Desktop_Qt_5_1_0_MSVC2012_32bit-Debug\Makefile [debug] Error 2
17:30:06: The process "C:\Qt\Qt5.1.0\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project testprj (kit: Desktop Qt 5.1.0 MSVC2012 32bit)
When executing step 'Make'"
"17:56:29: Running steps for project untitled...
17:56:29: Configuration unchanged, skipping qmake step.
17:56:29: Starting: "C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\main.obj.2740.16.jom
jom: F:\tmp2\untitled-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\main.obj] Error 2
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\qcustomplot.obj.2740.16.jom
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\dbhelper.obj.2740.16.jom
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\mainwindow.obj.2740.32.jom
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\moc_mainwindow.obj.2740.32.jom
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtPrintSupport" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtSql" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"C:\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ #C:\Users\BAHADI~1.AYD\AppData\Local\Temp\moc_qcustomplot.obj.2740.32.jom
jom: F:\tmp2\untitled-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\qcustomplot.obj] Error 2
jom: F:\tmp2\untitled-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\mainwindow.obj] Error 2
jom: F:\tmp2\untitled-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\moc_mainwindow.obj] Error 2
jom: F:\tmp2\untitled-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\moc_qcustomplot.obj] Error 2"
Related
I have been trying to compile the R package PET on Fedora 35 (fully updated). It has been archived on CRAN for the past two years or so, but has installed for me before R 4.1.2. I am wondering whether it can be fixed.
I try:
devtools::install_github('cran/PET')
and I get errors, after a bunch of non-alarming messages:
Downloading GitHub repo cran/PET#HEAD
checking for file ‘/tmp/Rtmp2To7Lw/remotesed66e3dbe79/cran-PET-9793d0d/DESCRI✔ checking for file ‘/tmp/Rtmp2To7Lw/remotesed66e3dbe79/cran-PET-9793d0d/DESCRIPTION’
─ preparing ‘PET’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘PET_0.5.1.tar.gz’
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘PET’ ...
** using staged installation
** libs
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c Hough.c -o Hough.o
Hough.c: In function ‘Hough4’:
Hough.c:41:10: warning: variable ‘theta_min’ set but not used [-Wunused-but-set-variable]
41 | double theta_min;
| ^~~~~~~~~
Hough.c:40:38: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
40 | double *costheta,*sintheta,theta,x,y;
| ^
Hough.c: In function ‘Hough3’:
Hough.c:118:10: warning: variable ‘theta_min’ set but not used [-Wunused-but-set-variable]
118 | double theta_min;
| ^~~~~~~~~
Hough.c: In function ‘Hough2’:
Hough.c:173:10: warning: variable ‘theta_min’ set but not used [-Wunused-but-set-variable]
173 | double theta_min;
| ^~~~~~~~~
Hough.c: In function ‘Hough1’:
Hough.c:227:10: warning: variable ‘theta_min’ set but not used [-Wunused-but-set-variable]
227 | double theta_min;
| ^~~~~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c PET_init.c -o PET_init.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c amatrix.c -o amatrix.o
amatrix.c: In function ‘RegulateMatrix’:
amatrix.c:234:10: warning: variable ‘tempVv’ set but not used [-Wunused-but-set-variable]
234 | float *tempVv;
| ^~~~~~
amatrix.c: In function ‘RegulateL1Matrix’:
amatrix.c:289:10: warning: variable ‘tempVv’ set but not used [-Wunused-but-set-variable]
289 | float *tempVv;
| ^~~~~~
amatrix.c: In function ‘GenerateAMatrixColumn’:
amatrix.c:784:9: warning: variable ‘onedivsq2’ set but not used [-Wunused-but-set-variable]
784 | float onedivsq2,psi,pidivDeltaX,costheta,sintheta,of;
| ^~~~~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c art.c -o art.o
art.c: In function ‘FAST_ART’:
art.c:128:10: warning: variable ‘tempXv’ set but not used [-Wunused-but-set-variable]
128 | float *tempXv,*tempBv;
| ^~~~~~
art.c: In function ‘SLOW_ART’:
art.c:239:10: warning: variable ‘tempXv’ set but not used [-Wunused-but-set-variable]
239 | float *tempXv,*tempBv;
| ^~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c calc.c -o calc.o
calc.c: In function ‘BackFilter’:
calc.c:335:19: warning: variable ‘M’ set but not used [-Wunused-but-set-variable]
335 | int i,m,n,mm,nn,M,N,OldHeight,OldWidth;
| ^
calc.c: In function ‘CentralSliceCZ’:
calc.c:700:49: warning: variable ‘rhomin’ set but not used [-Wunused-but-set-variable]
700 | float DC,deltatheta,theta,thetaadj,*realtheta,rhomin,deltarho;
| ^~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cg.c -o cg.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c em.c -o em.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c eval.c -o eval.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c imgtools.c -o imgtools.o
imgtools.c: In function ‘ReadPET’:
imgtools.c:1005:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
1005 | size_t result;
| ^~~~~~
imgtools.c: In function ‘ReadFIFHeader’:
imgtools.c:1148:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
1148 | size_t result;
| ^~~~~~
imgtools.c: In function ‘ReadFIF’:
imgtools.c:1222:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
1222 | size_t result;
| ^~~~~~
imgtools.c: In function ‘ReadAnalyze’:
imgtools.c:1616:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
1616 | size_t result;
| ^~~~~~
imgtools.c:1614:21: warning: variable ‘OffSet’ set but not used [-Wunused-but-set-variable]
1614 | float ScaleFactor,OffSet;
| ^~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c iradon.c -o iradon.o
iradon.c: In function ‘iradon’:
iradon.c:271:5: warning: ‘spectrum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
271 | FreeImage(spectrum);
| ^~~~~~~~~~~~~~~~~~~
iradon.c: In function ‘loadFile’:
iradon.c:568:9: warning: ‘list’ may be used uninitialized in this function [-Wmaybe-uninitialized]
568 | return(list);
| ^
iradon.c:404:16: warning: ‘typeF’ may be used uninitialized in this function [-Wmaybe-uninitialized]
404 | OutImage = ReadImage(fileName, typeF);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
iradon.c: In function ‘writeFile’:
iradon.c:684:19: warning: ‘N’ may be used uninitialized in this function [-Wmaybe-uninitialized]
684 | SaveImage=NewFloatImage(fileName, M, N, _RealArray);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iradon.c:684:19: warning: ‘M’ may be used uninitialized in this function [-Wmaybe-uninitialized]
iradon.c:772:5: warning: ‘typeF’ may be used uninitialized in this function [-Wmaybe-uninitialized]
772 | WriteImage(SaveImage, typeF);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c it.c -o it.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c itreadargs.c -o itreadargs.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c misc.c -o misc.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c oradLI.c -o oradLI.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c oradNN.c -o oradNN.o
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c oradSINC.c -o oradSINC.o
oradSINC.c: In function ‘radonSINC’:
oradSINC.c:52:10: warning: variable ‘idx’ set but not used [-Wunused-but-set-variable]
52 | double idx,mintrig,psi;
| ^~~
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c sparse.c -o sparse.o
sparse.c: In function ‘ReadSIFHeader’:
sparse.c:607:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
607 | size_t result;
| ^~~~~~
sparse.c: In function ‘ReadSIF’:
sparse.c:657:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
657 | size_t result;
| ^~~~~~
sparse.c: In function ‘MeanFilterVector’:
sparse.c:1537:13: warning: variable ‘area’ set but not used [-Wunused-but-set-variable]
1537 | float sum,area,*tempVv,*tempNv,*tempKernM;
|
gcc -m64 -shared -L/usr/lib64/R/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o PET.so Hough.o PET_init.o amatrix.o art.o calc.o cg.o em.o eval.o imgtools.o iradon.o it.o itreadargs.o misc.o oradLI.o oradNN.o oradSINC.o sparse.o -L/usr/lib64/R/lib -lR
/usr/bin/ld: it.o (symbol from plugin): in function `SaveIteration':
(.text+0x0): multiple definition of `DebugNiveau'; iradon.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: it.o (symbol from plugin): in function `SaveIteration':
(.text+0x0): multiple definition of `IniFile'; iradon.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: it.o (symbol from plugin): in function `SaveIteration':
(.text+0x0): multiple definition of `multtemp'; iradon.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: it.o (symbol from plugin): in function `SaveIteration':
(.text+0x0): multiple definition of `LogFileName'; iradon.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: it.o (symbol from plugin): in function `SaveIteration':
(.text+0x0): multiple definition of `LogFile'; iradon.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/make/shlib.mk:10: PET.so] Error 1
ERROR: compilation failed for package ‘PET’
* removing ‘/usr/lib64/R/library/PET’
* restoring previous ‘/usr/lib64/R/library/PET’
Warning message:
In i.p(...) :
installation of package ‘/tmp/Rtmp2To7Lw/fileed67b515c13/PET_0.5.1.tar.gz’ had non-zero exit status
Any suggestions as to how i can get this to compile? I need to use the Radon transform on some images.
Thanks!
I am adding video stream capture functionality to a Xamarin Forms project. I am trying to use VLC's LibVLCSharp.Forms (https://github.com/videolan/libvlcsharp) package and the Mobile ffmpeg Xamarin wrapper package, Laerdal.Xamarin.FFmpeg.* (https://github.com/Laerdal/Laerdal.Xamarin.FFmpeg.iOS). However, the internal ffmpeg library from VLC is conflicting with the ffmpeg wrapper and is built with different flags which exclude functionality that I need.
For native development, it looks like you can configure a preferred library with the OTHER_LDFLAGS flag in the Pods-<Your App>.debug.xcconfig file but I don't see where to do that with Xamarin.Forms.
Source: https://github.com/tanersener/mobile-ffmpeg/wiki/Using-Multiple-FFmpeg-Implementations-In-The-Same-iOS-Application
How can I configure Xamarin iOS builds to prefer the mobile ffmpeg library over the VLC ffmpeg library? If I am able to use the mobile ffmpeg library, will it cause issues with VLC?
Here is a log message when I try to run commands with ffmpeg. As you can see, ffmpeg's internal library paths reference "vlc":
FFmpegExecute: Command: -vsync 1 -i 'rtsp://wowzaec2demo.streamlock.net/vod/mp4:bigbuckbunny_115k.mov' -force_key_frames "expr: gte(t, n_forced * 2)" -strict experimental -f segment -segment_time 00:00:02 -segment_start_number 0 -reset_timestamps 1 -c:v copy -c:a copy '[path to temp]/tmp/VideoStream/%01d-record-temp.mp4'
Loaded mobile-ffmpeg-full-gpl-x86_64-4.4-lts-20200725
INFO: ffmpeg version v4.4-dev-416
INFO: Copyright (c) 2000-2020 the FFmpeg developers
INFO:
INFO: built with Apple LLVM version 7.3.0 (clang-703.0.31)
INFO: configuration: --sysroot=/Applications/Xcode-v7.3.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-x86_64/ffmpeg --enable-version3 --arch=x86_64 --cpu=x86_64 --target-os=darwin --ar=/Applications/Xcode-v7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang++ --as='clang -arch x86_64 -target x86_64-ios-darwin -march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel -DMOBILE_FFMPEG_X86_64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -DIOS -DMOBILE_FFMPEG_LTS -DMOBILE_FFMPEG_BUILD_DATE=20200725 -isysroot /Applications/Xcode-v7.3.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -O2 -mios-simulator-version-min=9.3 -I/Applications/Xcode-v7.3.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/usr/include' --ranlib=/Applications/Xcode-v7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v7.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --disable-neon --enable-cross-compile --enable-pic --disable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-outdev=audiotoolbox --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-audiotoolbox --enable-bzlib --enable-videotoolbox --disable-avfoundation --enable-iconv --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-audiotoolbox --enable-bzlib --enable-videotoolbox --disable-avfoundation --enable-iconv --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-audiotoolbox --enable-bzlib --enable-videotoolbox --disable-avfoundation --enable-iconv --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-audiotoolbox --enable-bzlib --enable-videotoolbox --disable-avfoundation --enable-iconv
INFO: WARNING: library configuration mismatch
INFO: avutil configuration: --extra-ldflags='-arch x86_64 -v -Wl,-ios_simulator_version_min,8.4 -L/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/lib -Wl,-ios_simulator_version_min,8.4' --cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --pkg-config=pkg-config --disable-doc --disable-encoder=vorbis --disable-decoder=opus --enable-libgsm --disable-decoder=mlp --disable-demuxer=mlp --disable-parser=mlp --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-protocol=concat --disable-bsfs --disable-bzlib --disable-libvpx --disable-avresample --enable-bsf=vp9_superframe --disable-swresample --disable-iconv --disable-avisynth --disable-nvenc --disable-linux-perf --disable-securetransport --enable-libopenjpeg --enable-libmp3lame --enable-cross-compile --disable-programs --arch=x86_64 --target-os=darwin --disable-lzma --cpu=core2 --enable-pic --extra-ldflags='-arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include -g -O2 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include' --enable-pthreads --nm= --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --prefix=/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64 --enable-static --disable-shared
INFO: avcodec configuration: --extra-ldflags='-arch x86_64 -v -Wl,-ios_simulator_version_min,8.4 -L/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/lib -Wl,-ios_simulator_version_min,8.4' --cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --pkg-config=pkg-config --disable-doc --disable-encoder=vorbis --disable-decoder=opus --enable-libgsm --disable-decoder=mlp --disable-demuxer=mlp --disable-parser=mlp --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-protocol=concat --disable-bsfs --disable-bzlib --disable-libvpx --disable-avresample --enable-bsf=vp9_superframe --disable-swresample --disable-iconv --disable-avisynth --disable-nvenc --disable-linux-perf --disable-securetransport --enable-libopenjpeg --enable-libmp3lame --enable-cross-compile --disable-programs --arch=x86_64 --target-os=darwin --disable-lzma --cpu=core2 --enable-pic --extra-ldflags='-arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include -g -O2 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include' --enable-pthreads --nm= --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --prefix=/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64 --enable-static --disable-shared
INFO: avformat configuration: --extra-ldflags='-arch x86_64 -v -Wl,-ios_simulator_version_min,8.4 -L/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/lib -Wl,-ios_simulator_version_min,8.4' --cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --pkg-config=pkg-config --disable-doc --disable-encoder=vorbis --disable-decoder=opus --enable-libgsm --disable-decoder=mlp --disable-demuxer=mlp --disable-parser=mlp --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-protocol=concat --disable-bsfs --disable-bzlib --disable-libvpx --disable-avresample --enable-bsf=vp9_superframe --disable-swresample --disable-iconv --disable-avisynth --disable-nvenc --disable-linux-perf --disable-securetransport --enable-libopenjpeg --enable-libmp3lame --enable-cross-compile --disable-programs --arch=x86_64 --target-os=darwin --disable-lzma --cpu=core2 --enable-pic --extra-ldflags='-arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include -g -O2 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include' --enable-pthreads --nm= --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --prefix=/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64 --enable-static --disable-shared
INFO: swscale configuration: --extra-ldflags='-arch x86_64 -v -Wl,-ios_simulator_version_min,8.4 -L/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/lib -Wl,-ios_simulator_version_min,8.4' --cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --pkg-config=pkg-config --disable-doc --disable-encoder=vorbis --disable-decoder=opus --enable-libgsm --disable-decoder=mlp --disable-demuxer=mlp --disable-parser=mlp --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-protocol=concat --disable-bsfs --disable-bzlib --disable-libvpx --disable-avresample --enable-bsf=vp9_superframe --disable-swresample --disable-iconv --disable-avisynth --disable-nvenc --disable-linux-perf --disable-securetransport --enable-libopenjpeg --enable-libmp3lame --enable-cross-compile --disable-programs --arch=x86_64 --target-os=darwin --disable-lzma --cpu=core2 --enable-pic --extra-ldflags='-arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -arch x86_64 -miphoneos-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=8.4 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include -g -O2 -I/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64/include' --enable-pthreads --nm= --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --prefix=/Users/Martz/Projects/vlckit/libvlc/vlc/contrib/iPhone-x86_64-apple-darwin14-x86_64 --enable-static --disable-shared
INFO: libavutil 56. 55.100 / 56. 5.100
INFO: libavcodec 58. 96.100 / 58. 6.103
INFO: libavformat 58. 48.100 / 58. 3.100
INFO: libavdevice 58. 11.101 / 58. 11.101
INFO: libavfilter 7. 87.100 / 7. 87.100
INFO: libswscale 5. 8.100 / 5. 0.101
INFO: libswresample 3. 8.100 / 3. 8.100
ERROR: Unrecognized option 'segment_time'.
FATAL: Error splitting the argument list:
FATAL: Option not found
The solution is in one of the link you shared
For native development, it looks like you can configure a preferred library with the OTHER_LDFLAGS flag in the Pods-.debug.xcconfig file but I don't see where to do that with Xamarin.Forms. Source: https://github.com/tanersener/mobile-ffmpeg/wiki/Using-Multiple-FFmpeg-Implementations-In-The-Same-iOS-Application
Xamarin.Forms is still native development, so you can do this the same way a Swift iOS developer would.
You need to open your native iOS app project in XCode (not the shared project one).
Create a xcconfig file. This guide looks good enough with screenshots to help you navigate XCode.
A xcconfig look like this. You want to put the mobile-ffmpeg frameworks before the mobilevlckit one.
Xamarin.iOS might require some framework as well, so before all this I'd build your app in verbosity diagnostics mode to see what the current OTHER_LDFLAGS value is.
I am getting an error in installing passenger nginx in MAC 10.14.
here are the logs:
src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp:408:16: error:
address argument to atomic builtin cannot be const-qualified
('const volatile
boost::atomics::detail::gcc_dcas_x86_64::storage_type *' (aka
'const volatile unsigned __int128 *') invalid)
return __sync_val_compare_and_swap(&storage, value, value);
^ ~~~~~~~~
1 error generated.
rake aborted!
Command failed with status (1): [c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp]
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:53:in `run_compiler'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:104:in `compile_cxx'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:162:in `block in define_cxx_object_compilation_task'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/bin/ruby_executable_hooks:24:in `eval'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => nginx => nginx_without_native_support => buildout/support-binaries/PassengerAgent => buildout/support-binaries/AgentFundamentals.o
(See full trace by running task with --trace)
I already tried this also :
https://github.com/phusion/passenger/issues/2199
I am installing dplyr package and I got the following error. Can anybody tell me what should I do to install this package properly?
My session info is:
sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
> devtools::install_github("hadley/dplyr")
Downloading github repo hadley/dplyr#master
Installing dplyr
'/usr/lib64/R/bin/R' --vanilla CMD INSTALL \
'/tmp/RtmpoV0tCa/devtools34c45fda22d7/hadley-dplyr-cd91f33' \
--library='/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1' \
--install-tests
* installing *source* package ‘dplyr’ ...
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o
In file included from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/tuple.hpp:33:0,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/allocate.hpp:27,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/buckets.hpp:15,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/table.hpp:10,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/equivalent.hpp:14,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/unordered_map.hpp:17,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered_map.hpp:16,
from ../inst/include/dplyr.h:32,
from RcppExports.cpp:4:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c address.cpp -o address.o
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c arrange.cpp -o arrange.o
In file included from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/tuple.hpp:33:0,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/allocate.hpp:27,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/buckets.hpp:15,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/table.hpp:10,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/equivalent.hpp:14,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/unordered_map.hpp:17,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered_map.hpp:16,
from ../inst/include/dplyr.h:32,
from arrange.cpp:1:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c between.cpp -o between.o
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c bind.cpp -o bind.o
In file included from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/tuple.hpp:33:0,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/allocate.hpp:27,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/buckets.hpp:15,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/table.hpp:10,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/equivalent.hpp:14,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/unordered_map.hpp:17,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered_map.hpp:16,
from ../inst/include/dplyr.h:32,
from bind.cpp:1:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c combine_variables.cpp -o combine_variables.o
combine_variables.cpp: In function ‘SEXPREC* combine_vars(std::vector<std::basic_string<char> >, Rcpp::ListOf<Rcpp::Vector<13, Rcpp::PreserveStorage> >)’:
combine_variables.cpp:99:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < vars.size(); ++j) {
^
combine_variables.cpp:135:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos < 1 || pos > vars.size())
^
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c distinct.cpp -o distinct.o
In file included from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/tuple.hpp:33:0,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/allocate.hpp:27,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/buckets.hpp:15,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/table.hpp:10,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/equivalent.hpp:14,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/unordered_map.hpp:17,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered_map.hpp:16,
from ../inst/include/dplyr.h:32,
from distinct.cpp:1:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include" -I"/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c dplyr.cpp -o dplyr.o
In file included from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/tuple.hpp:33:0,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/allocate.hpp:27,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/buckets.hpp:15,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/table.hpp:10,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/detail/equivalent.hpp:14,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered/unordered_map.hpp:17,
from /opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/unordered_map.hpp:16,
from ../inst/include/dplyr.h:32,
from dplyr.cpp:1:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/BH/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
{standard input}: Assembler messages:
{standard input}:695832: Warning: partial line at end of file ignored
{standard input}:695797: Error: invalid operands (*UND* and .gcc_except_table sections) for `-'
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [dplyr.o] Error 4
ERROR: compilation failed for package ‘dplyr’
* removing ‘/opt/wpusers/mkosinski/R/x86_64-redhat-linux-gnu-library/3.1/dplyr’
Error: Command failed (1)
I am trying to make qTuio(https://github.com/x29a/qTUIO) on my windows machine. However, when I try to run make, it reports: "<< was unexpected at this time"
The full output is:
cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICO
DE -DWIN32 -DQT_LARGEFILE_SUPPORT -DOSC_HOST_LITTLE_ENDIAN -DQT_DLL -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT
_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\OSGeo4W\include\qt4\QtCore
" -I"c:\OSGeo4W\include\qt4\QtNetwork" -I"c:\OSGeo4W\include\qt4\QtGui" -I"c:\OS
Geo4W\include\qt4" -I"..\..\tmp\debug" -I"..\..\tmp" -I"..\3rdparty\oscpack" -I"
..\3rdparty\tuio" -I"c:\OSGeo4W\include\qt4\ActiveQt" -I"..\tmp\debug" -I"." -I"
c:\OSGeo4W\apps\qt4\mkspecs\win32-msvc2008" -Fo..\tmp\debug\ #<<
<< was unexpected at this time.
make[1]: *** [{..}.cpp{..\tmp\debug\}.obj] Error 1
make: *** [debug] Error 2
Any help is appreciated