I have a QNAP NAS with a "D" shared folder. This is a script used in 7 different places (different NAS and PCs) but just 1 is bothering me with Error 5.
The robocopy command is:
robocopy D:\ \\192.168.1.201\D /MIR /S /XD "D:\`$RECYCLE.BIN" D:\PERMANENTE \\192.168.1.201\d\#Recycle /R:10 /W:3 /TEE /LOG:"D:\UPDATE_GAMES.log" /MT
The only difference between places is the data itself.
If I remove the Shared folder in the NAS and re-create it again, I can launch that command just once.
As you can see below, first run is ok, the second is throwing the error 5:
PS C:\Windows\system32> robocopy D:\ \\192.168.1.201\D /MIR /S /XD "D:\`$RECYCLE.BIN" D:\PERMANENTE \\192.168.1.201\d\#Recycle /R:10 /W:3 /TEE /LOG:"D:\UPDATE_GAMES.log" /MT /B
Archivo de registro: D:\UPDATE_GAMES.log
-------------------------------------------------------------------------------
ROBOCOPY :: Herramienta para copia eficaz de archivos
-------------------------------------------------------------------------------
Inicio: lunes, 18 de julio de 202215:28:03
Origen : D:\
Destino : \\192.168.1.201\D\
Archivos: *.*
Dirs. de ejecutables: D:\$RECYCLE.BIN
D:\PERMANENTE
\\192.168.1.201\d\#Recycle
Opciones: *.* /TEE /S /DCOPY:DA /COPY:DAT /PURGE /MIR /B /MT:8 /R:10 /W:3
------------------------------------------------------------------------------
M s reciente 0 D:\UPDATE_GAMES.log
0%
2022/07/18 15:28:03 ERROR 0 (0x00000000) Copiando archivo D:\UPDATE_GAMES.log
La operaci¢n se complet¢ correctamente.
Nuevo arch 726485 D:\FIX\Riot Games\AppData\Legends of Runeterra\Logs\lor_client_2022-04-15T19-10-22_7976.log
18%
100%
Nuevo arch 30.0 m D:\GAMES\MinecraftInstaller.exe
10%
15%
19%
29%
34%
37%
41%
45%
50%
56%
63%
68%
74%
76%
79%
84%
86%
92%
95%
100%
Nuevo arch 1.7 m D:\GAMES\RobloxStudioLauncherBeta.exe
100%
Nuevo arch 849 D:\UTILIDADES\FiveM - Cfx.re Development Kit (FxDK).lnk
100%
Nuevo arch 4.9 m D:\UTILIDADES\FiveM.exe
100%
Nuevo arch 363 D:\UTILIDADES\FiveM.VisualElementsManifest.xml
100%
Nuevo arch 125.1 m D:\UTILIDADES\GeForce_Experience_v3.25.0.84.exe
13%
15%
16%
17%
18%
19%
20%
21%
23%
24%
25%
27%
28%
30%
31%
32%
33%
35%
36%
37%
39%
40%
42%
43%
44%
45%
46%
47%
48%
49%
50%
51%
52%
PS C:\Windows\system32> robocopy D:\ \\192.168.1.201\D /MIR /S /XD "D:\`$RECYCLE.BIN" D:\PERMANENTE \\192.168.1.201\d\#Recycle /R:10 /W:3 /TEE /LOG:"D:\UPDATE_GAMES.log" /MT /B
Archivo de registro: D:\UPDATE_GAMES.log
-------------------------------------------------------------------------------
ROBOCOPY :: Herramienta para copia eficaz de archivos
-------------------------------------------------------------------------------
Inicio: lunes, 18 de julio de 202215:28:21
Origen : D:\
Destino : \\192.168.1.201\D\
Archivos: *.*
Dirs. de ejecutables: D:\$RECYCLE.BIN
D:\PERMANENTE
\\192.168.1.201\d\#Recycle
Opciones: *.* /TEE /S /DCOPY:DA /COPY:DAT /PURGE /MIR /B /MT:8 /R:10 /W:3
------------------------------------------------------------------------------
2022/07/18 15:28:21 ERROR 5 (0x00000005) Obteniendo acceso al directorio de destino \\192.168.1.201\D\
Acceso denegado.
Esperando 3 segundos... Reintentando...
2022/07/18 15:28:24 ERROR 5 (0x00000005) Obteniendo acceso al directorio de destino \\192.168.1.201\D\
Acceso denegado.
Esperando 3 segundos... Reintentando...
2022/07/18 15:28:27 ERROR 5 (0x00000005) Obteniendo acceso al directorio de destino \\192.168.1.201\D\
Acceso denegado.
PS C:\Windows\system32>
If I try to copy just a sub-folder, it works with no errors, but once I specify the whole D: disk, I get error 5.
Things I tried:
Providing All permissions to All users in both (Windows drive and NAS)
/ZB /B /NOCOPY /NODCOPY
Copy from windows UI works perfectly
Chkdisk looking for errors
Defrag the drive
Tried different data and it works too.
I'm completely lost, I don't have a clue why the same script is working perfectly with different data but not with the specific folders and files that I have in that windows D: drive.
Any ideas?
Related
I thought I would use wsl (windows subsystem for Linux) to cross-compile an application I have. I downloaded a .tar of the cross system, moved the .tar to wsl, untarred it, and now I can't run the compiler. I don't understand! And I am obviously brand new at wsl :)
Here's what I see:
rw#seven:~$ ln -s /opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/bin/ ct
rw#seven:~$ ct/arm-unknown-linux-gnu-c++
-bash: ct/arm-unknown-linux-gnu-c++: No such file or directory
rw#seven:~$ ll ct/arm-unknown-linux-gnu-c++
-rwxr-xr-x 2 500 500 206621 Feb 12 2006 ct/arm-unknown-linux-gnu-c++*
rw#seven:~$ file ct/arm-unknown-linux-gnu-c++
ct/arm-unknown-linux-gnu-c++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, with debug_info, not stripped
rw#seven:~$ strace ct/arm-unknown-linux-gnu-c++
execve("ct/arm-unknown-linux-gnu-c++", ["ct/arm-unknown-linux-gnu-c++"], 0x7ffe4559ecf0 /* 21 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++
rw#seven:~$ ldd ct/arm-unknown-linux-gnu-c++
not a dynamic executable
rw#seven:~$
Is there some way to run this compiler under wsl?
It's wsl 2. Ubuntu. Windows 10.
rw#seven:~$ uname -a
Linux seven 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Thank you, Mark.
https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
solved my immediate problem. Which leads me to the next problem, of course :)
I am using ubuntu 18.04 (I have dual booted windows with ubuntu 18.04).
nvidia-smi
This is the output I got when I ran the above command on my ubuntu(18.04) terminal:
Fri Oct 9 09:33:56 2020
+------------------------------------------------------+
| NVIDIA-SMI 340.108 Driver Version: 340.108 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 210 Off | 0000:01:00.0 N/A | N/A |
| 35% 52C P8 N/A / N/A | 368MiB / 1023MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
Before that, I followed these steps to install required driver on my system:
sudo add-apt-repository --remove ppa:graphics-drivers/ppa
sudo apt-get purge nvidia*
sudo apt autoremove
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
sudo shutdown -r now
When I tried to run Geekbench5 compute benchmark test, the output stopped when it was running Histogram Equalization. This is the output when I ran this ./geekbench5 --compute OpenCL in the folder where I extracted geekbench5:
[1009/092949:FATAL:src/halogen/cuda/cuda_library.cpp(1481)] Failed to load
cuDevicePrimaryCtxRetain: /usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined symbol: cuDevicePrimaryCtxRetain
[1009/092949:FATAL:src/halogen/cuda/cuda_library.cpp(1481)] Failed to load cuDevicePrimaryCtxRetain: /usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined symbol: cuDevicePrimaryCtxRetain
Geekbench 5.2.4 Tryout : https://www.geekbench.com/
Geekbench 5 is in tryout mode.
Geekbench 5 requires an active Internet connection when in tryout mode, and
automatically uploads test results to the Geekbench Browser. Other features
are unavailable in tryout mode.
Buy a Geekbench 5 license to enable offline use and remove the limitations of
tryout mode.
If you would like to purchase Geekbench you can do so online:
https://store.primatelabs.com/v5
If you have already purchased Geekbench, enter your email address and license
key from your email receipt with the following command line:
./geekbench5 -r <email address> <license key>
Running Gathering system information
System Information
Operating System Ubuntu 18.04.5 LTS 4.15.0-118-generic x86_64
Model To be filled by O.E.M. To be filled by O.E.M.
Motherboard O.E.M Intel H81
BIOS American Megatrends Inc. 4.6.5
Processor Information
Name Intel Core i5-4460
Topology 1 Processor, 4 Cores
Identifier GenuineIntel Family 6 Model 60 Stepping 3
Base Frequency 3.20 GHz
L1 Instruction Cache 32.0 KB x 2
L1 Data Cache 32.0 KB x 2
L2 Cache 256 KB x 2
L3 Cache 6.00 MB
Memory Information
Size 7.75 GB
OpenCL Information
Platform Vendor NVIDIA Corporation
Platform Name NVIDIA CUDA
Device Vendor NVIDIA Corporation
Device Name GeForce 210
Device Driver Version 340.108
Maximum Frequency 1.23 GHz
Compute Units 2
Device Memory 1024 MB
OpenCL
Running Sobel
Running Canny
Running Stereo Matching
Running Histogram Equalization
[1009/093329:ERROR:src/interface/console/consolemain.cpp(808)] Geekbench encountered an internal error and cannot continue. Please contact support#primatelabs.com for assistance.
Internal error message: clCreateImage returned -40.
Also, when I tried running the geekbench5 compute benchmark test on windows 10(same machine, on GUI), it paused running at Histogram equalization.
I am not getting any idea why this is happening.Is anything really wrong with my GPU or driver or anything else? I tried to search online, installed the driver again,rebooted the system, but the results are same. Can someone please help?
Your driver installation is fine, but your GPU is 11 years old and does not support some of the more recent features of the OpenCL standard. The geekbench error message -40 means that the image size geekbench uses for one of its benchmarks is not supported by your GPU. This causes the benchmark to crash. Maybe an older version of geekbench still works.
I want to measure shadow page table performance vs EPT. I know in kvm code path, EPT and shadow page table share some code path. There is a switch to check if EPT is enabled.
So, I turn off EPT, I think this is a way to use shadow page table in KVM VM.
I exec some commands on host:
# cat /sys/module/kvm_intel/parameters/ept
Y //check if EPT is enabled, Yes it is
# rmmod kvm_intel
# modprobe kvm_intel ept=0,vpid=0 //Re-modprobe kvm_intel, but turn off EPT and VPID
# cat /sys/module/kvm_intel/parameters/ept
N // EPT is disabled
# cat /sys/module/kvm_intel/parameters/vpid
Y //VPID is still enabled
After these commads, I expect the EPT is disabled, However, I create a VM with 4 vcpu, but in VM, I use htop in VM only find i vcpu. I don't know why.
So, I turn on ept again, I can see 4 vcpu in vm using htop. But, on another server, I turn off ept, in VM, I still can find 4 vcpu.
In host, I test qemu thread num:
pstree -p | grep qemu
|-qemu-kvm(20594)-+-{qemu-kvm}(20612)
| |-{qemu-kvm}(20613)
| |-{qemu-kvm}(20614)
| |-{qemu-kvm}(20615)
| |-{qemu-kvm}(20618)
| `-{qemu-kvm}(23429)
There are still muti threads.
In KVM VM, I use lscpu to check:
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0
Off-line CPU(s) list: 1-3
Thread(s) per core: 1
Core(s) per socket: 1
座: 1
NUMA 节点: 1
厂商 ID: GenuineIntel
CPU 系列: 6
型号: 62
型号名称: Intel(R) Xeon(R) CPU E5-2640 v2 # 2.00GHz
步进: 4
CPU MHz: 1999.999
BogoMIPS: 3999.99
超管理器厂商: KVM
虚拟化类型: 完全
L1d 缓存: 32K
L1i 缓存: 32K
L2 缓存: 4096K
NUMA 节点0 CPU: 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase tsc_adjust smep erms xsaveopt
VPID is still enabled cause your command format was incorrect
# modprobe kvm_intel ept=0 vpid=0(Use spaces instead of commas)
When using xrandr on my device to select a resolution I kept getting an error stating " configure crtc 0 failed: "
(shortened) xrandr output after selecting display and running$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
DP2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1439mm x 809mm
1920x1080 60.00*+ 50.00 59.94 30.00 24.00 29.97 23.98
4096x2160 24.00 23.98
3840x2160 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x720 60.00 50.00 30.00 59.94 29.97 24.00 23.98
1024x768 60.00
720x480 60.00 59.94
640x480 60.00 59.94
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Code I used to select a new resolution
$ xrandr --output DP2 --mode 3840x2160
when that gave me the error I also added the frame rate by trying both
$ xrandr --output DP2 --mode 3840x2160 30
AND
$xrandr --output DP2 --mode 3840x2160_30
(because I wasnt sure of the proper format to add it) Both gave me the error " configure crtc 0 failed: "
This was done on the device itself. for ergonomical reasons I went back to my desk and used SSH to access the device.
I then used a custom resolution (that was the same as above) and tried to use that instead.
steps I used for custom resolution (minus long outputs)
$ cvt 3840x2160
$ xrandr --newmode "3840x2160 30.00" 338.75 3840 4080 4488 5136 2160 2163 2168 2200 -hsync +vsync
$ xrandr --addmode DP2 3840x2160_30.00
$ xrandr --output DP2 --mode 3840x2160_30.00
That seemed to work on my device. When my device restarts I need to repeat the process again though (reverts to 100p when I need it 4k). I stuck $ xrandr --output DP2 --mode 3840x2160_30.00 into a .sh file and now if I run it from my laptop (using SSH) it changes my screens resolution BUT if I try and run the .sh file from my device itself I get the " configure crtc 0 failed: " error
You can reconfigure xOrg. I did this by creating a file in my /usr/share/X11/xorg.conf.d Directory.
I made it using vim:
sudo vim /usr/share/X11/xorg.conf.d/5-monitor.conf
Here is an example of my file
Section "Monitor"
Identifier "Monitor0"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Modeline "3840x2160_30.0" 297.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync
Modeline "4096x2160_24.0" 297.00 4096 5116 5204 5500 2160 2168 2178 2250 +hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x2160" "1920x1080"
EndSubSection
EndSection
For directions on how to do this you can follow this tutorial: https://wiki.gentoo.org/wiki/Xorg/Multiple_monitors
I was ran into this issue with ubuntu 16.0.4
you can try to use cvt -r 3840 2160 to replace the operation of cvt 3840 2160
I am currently trying to install CGAL on Windows 10.
I have a problem when I try to open the file.exe of the example convex-hull2 generated using CMAKE-GUI and Visual C++ 2010 express: boot_system-vc100-mt-gd-1_59.dll is missing.
Here I specify all my installation steps followed from cgal.org/download/windows.html and http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows (because in a first try with only the documentation of cgal.org there were errors relative to the installation of Boost in Cmake-gui, errors solved with this method), it is quite long but I want to be exhaustive. Furthermore, some of the output of visual studio are in french but I put the traduction of the word in bracket.
I use Visual Studio 2010 (32-bits) and Visual C++ 2010 express.
Installation of Boost:
Download: boost_1_59_0-msvc-10.0-32.exe
Execution of file.exe as an administrator; install in folder C:\dev\boost_1_59_0
Installation ran well.
Here I added a step found on http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows since the CMAKE-GUI had Boost-related errors during the creation of the solution for CGAL.
I ran cd c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin then vcvars32.bat in the CMD to set the compiler to Visual studio 2010.
I ran: pushd C:\ Then: cd C:\dev\boost_1_59_0 to go to the boost directory.
Then I ran: .\bootstrap
Then I ran: .\b2 link=static,shared threading=single,multi variant=debug,release
No errors reported (time of about 2 hours):
“the Boost C++ libraries were successfully built!
The following directory should be added to complier include paths:
C:\dev\boost_1_59_0
The following directory should be added to linker library paths:
C:\dev\boost_1_59_0\stage\lib
”
I added :
BOOST_LIBRARYDIR=C:\dev\boost_1_59_0\lib32-msvc-10.0
BOOST_INCLUDEDIR=C:\dev\boost_1_59_0
C:\dev\boost_1_59_0 to the path
Installation of QT5
I downloaded qt-opensource-windows-x86-msvc2010-5.5.1.exe
I installed it in C:\Qt\Qt5.5.1
I added
I added QTDIR=C:\Qt\Gt5.5.1
C:\Qt\Qt5.5.1\5.5\msvc2010\bin to the path and I put it in the first place of the path as suggested in CGAL.org.
Installation of libQGLViewer:
I extracted the archive libQGLViewer-2.6.3 in C:\dev\libQGLViewer-2.6.3
I start the visual studio 2010 command prompt.
I put vcvars32.bat
I put pushd C:\dev\libQGLViewer-2.6.3\QGLViewer
I put qmake.exe and nmake.
No error message.
I added C:\dev\libQGLViewer-2.6.3\QGLViewer\release and C:\dev\libQGLViewer-2.6.3\QGLViewer\debug to my path.
I added QGLVIEWERROOT =C:\dev\libQGLViewer-2.6.3
Installation of CGAL:
I downloaded CGAL-4.7-Setup.exe from cgal.org.
I installed (as an administrator) it in 32-bits for all users and allowed it to install C:\dev\CGAL-4.7\auxilliary\gmp\lib to the path.
However, I had a pop-up that said that my path seems empty and I have do it manually.
So I added C:\dev\CGAL-4.7\auxiliary\gmp\lib to my path.
Then, I executed CMAKE-GUI as an administrator. I setted C:/dev/CGAL-4.7 for the location of source code; C:/dev/CGAL-4.7/build for the location of the build.
Then, I clicked on configure. CMAKE-GUI asked me if it has the permission to create the new folder build. I said yes. I specified the generator Visual studio 10 2010 and “use defaut native compilers”.
The CXX compiler identification is MSVC 16.0.40219.1
The C compiler identification is MSVC 16.0.40219.1
Check for working CXX compiler using: Visual Studio 10 2010
Check for working CXX compiler using: Visual Studio 10 2010 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
== Setting paths ==
Build CGAL from release in directory CGAL-4.7
Packagenames: CGAL-4.7
== Setting paths (DONE) ==
== Generate version files ==
CGAL_MAJOR_VERSION=4
CGAL_MINOR_VERSION=7
CGAL_BUGFIX_VERSION=0
CGAL_SONAME_VERSION=11
CGAL_SOVERSION =11.0.1
CGAL_REFERENCE_CACHE_DIR=
Building shared libraries
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
USING CMake version: 3.3.2
System: Windows
== Generate version files (DONE) ==
== Set up flags ==
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING LDFLAGS = ' /machine:X86 /INCREMENTAL:NO'
== Set up flags (DONE) ==
== Detect external libraries ==
External libraries supported: GMP;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE
Preconfiguring library: GMP ...
Found GMP: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libgmp-10.lib
GMP has been preconfigured:
UseGMP-file:
GMP include: C:/dev/CGAL-4.7/auxiliary/gmp/include
GMP libraries: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libgmp-10.lib
GMP definitions:
USING GMP_VERSION = '5.0.1'
Preconfiguring library: MPFR ...
Found MPFR: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libmpfr-4.lib
MPFR has been preconfigured:
UseMPFR-file:
MPFR include: C:/dev/CGAL-4.7/auxiliary/gmp/include
MPFR libraries: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libmpfr-4.lib
MPFR definitions:
USING MPFR_VERSION = '3.0.0'
Boost version: 1.59.0
Found the following Boost libraries:
thread
system
Boost include: C:/dev/boost_1_59_0
Boost libraries: optimized;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_thread-vc100-mt-1_59.lib;debug;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_thread-vc100-mt-gd-1_59.lib;optimized;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_system-vc100-mt-1_59.lib;debug;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_system-vc100-mt-gd-1_59.lib
Boost definitions:
USING BOOST_VERSION = '1.59.0'
== Detect external libraries (DONE) ==
== Write compiler_config.h ==
Performing Test CGAL_CFG_BOOST_VARIANT_SWAP_BUG - Failed
Performing Test CGAL_CFG_DENORMALS_COMPILE_BUG - Success
Performing Test CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG - Success
Performing Test CGAL_CFG_IEEE_754_BUG - Success
Performing Test CGAL_CFG_ISTREAM_INT_BUG - Success
Performing Test CGAL_CFG_MATCHING_BUG_5 - Success
Performing Test CGAL_CFG_MATCHING_BUG_6 - Failed
Performing Test CGAL_CFG_MATCHING_BUG_7 - Failed
Performing Test CGAL_CFG_MATCHING_BUG_8 - Success
Performing Test CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG - Failed
Performing Test CGAL_CFG_NO_LIMITS - Success
Performing Test CGAL_CFG_NO_NEXTAFTER - Failed
Performing Test CGAL_CFG_NO_STL - Success
Performing Test CGAL_CFG_NO_WARNING_CPP_DIRECTIVE_BUG - Failed
Performing Test CGAL_CFG_NUMERIC_LIMITS_BUG - Success
Performing Test CGAL_CFG_OUTOFLINE_MEMBER_DEFINITION_BUG - Success
Performing Test CGAL_CFG_TEMPLATE_IN_DEFAULT_PARAMETER_BUG - Success
Performing Test CGAL_CFG_TYPENAME_BEFORE_DEFAULT_ARGUMENT_BUG - Success
Performing Test CGAL_CFG_USING_BASE_MEMBER_BUG_2 - Success
== Write compiler_config.h (DONE) ==
== Generating build files ==
Configuring libCGAL
Requested component: MPFR
Requested component: GMP
libCGAL is configured
Sources for CGAL component library 'CGAL_Core' detected
Configuring libCGAL_Core
Requested component: MPFR
Requested component: GMP
libCGAL_Core is configured
Sources for CGAL component library 'CGAL_ImageIO' detected
Configuring libCGAL_ImageIO
Found OpenGL: opengl32
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
OpenGL include:
OpenGL libraries: glu32;opengl32
Requested component: MPFR
Requested component: GMP
libCGAL_ImageIO is configured
NOTICE: libCGAL_ImageIO needs ZLib to read compressed files. That feature will not be activated.
Sources for CGAL component library 'CGAL_Qt3' detected
Sources for CGAL component library 'CGAL_Qt5' detected
Configuring libCGAL_Qt5
USING Qt5_VERSION = '5.5.1'
OpenGL include:
OpenGL libraries: glu32;opengl32
OpenGL definitions:
Qt5Core include: C:/Qt/Qt5.5.1/5.5/msvc2010/include/;C:/Qt/Qt5.5.1/5.5/msvc2010/include/QtCore;C:/Qt/Qt5.5.1/5.5/msvc2010/.//mkspecs/win32-msvc2010
Qt5 libraries: Qt5::Core Qt5::Gui Qt5::Svg Qt5::OpenGL
Qt5Core definitions: -DQT_CORE_LIB
moc executable: C:/Qt/Qt5.5.1/5.5/msvc2010/bin/moc.exe
uic executable: C:/Qt/Qt5.5.1/5.5/msvc2010/bin/uic.exe
Requested component: MPFR
Requested component: GMP
libCGAL_Qt5 is configured
Sources for CGAL component libraries 'CGAL_Core;CGAL_ImageIO;CGAL_Qt3;CGAL_Qt5' detected
== Generating build files (DONE) ==
Configuring done
I clicked again on configure since I had red entries.
== Setting paths ==
Build CGAL from release in directory CGAL-4.7
Packagenames: CGAL-4.7
== Setting paths (DONE) ==
== Generate version files ==
CGAL_MAJOR_VERSION=4
CGAL_MINOR_VERSION=7
CGAL_BUGFIX_VERSION=0
CGAL_SONAME_VERSION=11
CGAL_SOVERSION =11.0.1
CGAL_REFERENCE_CACHE_DIR=
Building shared libraries
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
USING CMake version: 3.3.2
System: Windows
== Generate version files (DONE) ==
== Set up flags ==
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING LDFLAGS = ' /machine:X86 /INCREMENTAL:NO'
== Set up flags (DONE) ==
== Detect external libraries ==
External libraries supported: GMP;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE
Preconfiguring library: GMP ...
GMP has been preconfigured:
UseGMP-file:
GMP include: C:/dev/CGAL-4.7/auxiliary/gmp/include
GMP libraries: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libgmp-10.lib
GMP definitions:
USING GMP_VERSION = '5.0.1'
Preconfiguring library: MPFR ...
MPFR has been preconfigured:
UseMPFR-file:
MPFR include: C:/dev/CGAL-4.7/auxiliary/gmp/include
MPFR libraries: C:/dev/CGAL-4.7/auxiliary/gmp/lib/libmpfr-4.lib
MPFR definitions:
USING MPFR_VERSION = '3.0.0'
Boost version: 1.59.0
Found the following Boost libraries:
thread
system
Boost include: C:/dev/boost_1_59_0
Boost libraries: optimized;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_thread-vc100-mt-1_59.lib;debug;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_thread-vc100-mt-gd-1_59.lib;optimized;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_system-vc100-mt-1_59.lib;debug;C:/dev/boost_1_59_0/lib32-msvc-10.0/boost_system-vc100-mt-gd-1_59.lib
Boost definitions:
USING BOOST_VERSION = '1.59.0'
== Detect external libraries (DONE) ==
== Write compiler_config.h ==
== Write compiler_config.h (DONE) ==
== Generating build files ==
Configuring libCGAL
Requested component: MPFR
Requested component: GMP
libCGAL is configured
Sources for CGAL component library 'CGAL_Core' detected
Configuring libCGAL_Core
Requested component: MPFR
Requested component: GMP
libCGAL_Core is configured
Sources for CGAL component library 'CGAL_ImageIO' detected
Configuring libCGAL_ImageIO
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
OpenGL include:
OpenGL libraries: glu32;opengl32
Requested component: MPFR
Requested component: GMP
libCGAL_ImageIO is configured
NOTICE: libCGAL_ImageIO needs ZLib to read compressed files. That feature will not be activated.
Sources for CGAL component library 'CGAL_Qt3' detected
Sources for CGAL component library 'CGAL_Qt5' detected
Configuring libCGAL_Qt5
USING Qt5_VERSION = '5.5.1'
OpenGL include:
OpenGL libraries: glu32;opengl32
OpenGL definitions:
Qt5Core include: C:/Qt/Qt5.5.1/5.5/msvc2010/include/;C:/Qt/Qt5.5.1/5.5/msvc2010/include/QtCore;C:/Qt/Qt5.5.1/5.5/msvc2010/.//mkspecs/win32-msvc2010
Qt5 libraries: Qt5::Core Qt5::Gui Qt5::Svg Qt5::OpenGL
Qt5Core definitions: -DQT_CORE_LIB
moc executable: C:/Qt/Qt5.5.1/5.5/msvc2010/bin/moc.exe
uic executable: C:/Qt/Qt5.5.1/5.5/msvc2010/bin/uic.exe
Requested component: MPFR
Requested component: GMP
libCGAL_Qt5 is configured
Sources for CGAL component libraries 'CGAL_Core;CGAL_ImageIO;CGAL_Qt3;CGAL_Qt5' detected
== Generating build files (DONE) ==
Configuring done
Then I clicked on generate: generating done.
I opened the solution in Visual c++ 2010 express.
I generate ALL_BUILD in debug.
1>------ Début de la génération (beginning of the generation) : Projet : ZERO_CHECK, Configuration : Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_Core/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_ImageIO/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_Qt5/CMakeFiles/generate.stamp is up-to-date.
2>------ Début de la génération : Projet : CGAL, Configuration : Debug Win32 ------
2> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL/CMakeLists.txt
2> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL\CMakeFiles\generate.stamp is up-to-date.
2> all_files.cpp
2> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL-vc100-mt-gd-4.7.exp
2> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL-vc100-mt-gd-4.7.exp
2> CGAL.vcxproj -> C:\dev\CGAL-4.7\build\bin\Debug\CGAL-vc100-mt-gd-4.7.dll
2> 1 fichier(s) copié(s).
2> 1 fichier(s) copié(s).
2> 1 fichier(s) copié(s).
3>------ Début de la génération : Projet : CGAL_Core, Configuration : Debug Win32 ------
4>------ Début de la génération : Projet : CGAL_ImageIO, Configuration : Debug Win32 ------
5>------ Début de la génération : Projet : CGAL_Qt5, Configuration : Debug Win32 ------
3> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_Core/CMakeLists.txt
3> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_Core\CMakeFiles\generate.stamp is up-to-date.
3> all_files.cpp
4> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_ImageIO/CMakeLists.txt
4> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_ImageIO\CMakeFiles\generate.stamp is up-to-date.
4> all_files.cpp
5> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_Qt5/CMakeLists.txt
5> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_Qt5\CMakeFiles\generate.stamp is up-to-date.
5> Generating __/__/include/CGAL/Qt/moc_GraphicsViewNavigation.cpp
5> Generating __/__/include/CGAL/Qt/moc_DemosMainWindow.cpp
5> Generating __/__/include/CGAL/Qt/moc_GraphicsItem.cpp
5> Generating __/__/include/CGAL/Qt/moc_GraphicsViewInput.cpp
5> Generating qrc_CGAL.cpp
5> Generating qrc_Input.cpp
5> Generating qrc_File.cpp
5> Generating qrc_Triangulation_2.cpp
5> all_files.cpp
3> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Core-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Core-vc100-mt-gd-4.7.exp
3> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Core-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Core-vc100-mt-gd-4.7.exp
3> CGAL_Core.vcxproj -> C:\dev\CGAL-4.7\build\bin\Debug\CGAL_Core-vc100-mt-gd-4.7.dll
3> 1 fichier(s) copié(s).
3> 1 fichier(s) copié(s).
3> 1 fichier(s) copié(s).
4> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_ImageIO-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_ImageIO-vc100-mt-gd-4.7.exp
4> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_ImageIO-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_ImageIO-vc100-mt-gd-4.7.exp
4> CGAL_ImageIO.vcxproj -> C:\dev\CGAL-4.7\build\bin\Debug\CGAL_ImageIO-vc100-mt-gd-4.7.dll
4> 1 fichier(s) copié(s).
4> 1 fichier(s) copié(s).
4> 1 fichier(s) copié(s).
5> moc_GraphicsViewNavigation.cpp
5> moc_DemosMainWindow.cpp
5> moc_GraphicsItem.cpp
5> moc_GraphicsViewInput.cpp
5> qrc_CGAL.cpp
5> qrc_Input.cpp
5> qrc_File.cpp
5> qrc_Triangulation_2.cpp
5> Génération de code en cours...
5> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Qt5-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Qt5-vc100-mt-gd-4.7.exp
5> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Qt5-vc100-mt-gd-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Debug/CGAL_Qt5-vc100-mt-gd-4.7.exp
5> CGAL_Qt5.vcxproj -> C:\dev\CGAL-4.7\build\bin\Debug\CGAL_Qt5-vc100-mt-gd-4.7.dll
5> 1 fichier(s) copié(s).
5> 1 fichier(s) copié(s).
5> 1 fichier(s) copié(s).
6>------ Début de la génération : Projet : ALL_BUILD, Configuration : Debug Win32 ------
6> Building Custom Rule C:/dev/CGAL-4.7/CMakeLists.txt
6> CMake does not need to re-run because C:\dev\CGAL-4.7\build\CMakeFiles\generate.stamp is up-to-date.
========== Génération : 6 a réussi (succeed), 0 a échoué (failed), 0 mis à jour (updated), 0 a été ignoré (ignored)==========
I had the error message: impossible to open the file ALL_BUILD because it can be found.
I did the generation under release:
1>------ Début de la génération (beginning of the generation) : Projet : ZERO_CHECK, Configuration : Release Win32 ------
1> Checking Build System
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_Core/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_ImageIO/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/dev/CGAL-4.7/build/src/CGAL_Qt5/CMakeFiles/generate.stamp is up-to-date.
2>------ Début de la génération : Projet : CGAL, Configuration : Release Win32 ------
2> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL/CMakeLists.txt
2> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL\CMakeFiles\generate.stamp is up-to-date.
2> all_files.cpp
2> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Release/CGAL-vc100-mt-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Release/CGAL-vc100-mt-4.7.exp
2> CGAL.vcxproj -> C:\dev\CGAL-4.7\build\bin\Release\CGAL-vc100-mt-4.7.dll
2> 1 fichier(s) copié(s).
2> 1 fichier(s) copié(s).
3>------ Début de la génération : Projet : CGAL_Core, Configuration : Release Win32 ------
4>------ Début de la génération : Projet : CGAL_ImageIO, Configuration : Release Win32 ------
5>------ Début de la génération : Projet : CGAL_Qt5, Configuration : Release Win32 ------
3> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_Core/CMakeLists.txt
3> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_Core\CMakeFiles\generate.stamp is up-to-date.
5> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_Qt5/CMakeLists.txt
4> Building Custom Rule C:/dev/CGAL-4.7/src/CGAL_ImageIO/CMakeLists.txt
4> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_ImageIO\CMakeFiles\generate.stamp is up-to-date.
5> CMake does not need to re-run because C:\dev\CGAL-4.7\build\src\CGAL_Qt5\CMakeFiles\generate.stamp is up-to-date.
3> all_files.cpp
5> Generating __/__/include/CGAL/Qt/moc_GraphicsViewNavigation.cpp
4> all_files.cpp
5> Generating __/__/include/CGAL/Qt/moc_DemosMainWindow.cpp
5> Generating __/__/include/CGAL/Qt/moc_GraphicsItem.cpp
5> Generating __/__/include/CGAL/Qt/moc_GraphicsViewInput.cpp
5> Generating qrc_CGAL.cpp
5> Generating qrc_Input.cpp
5> Generating qrc_File.cpp
5> Generating qrc_Triangulation_2.cpp
5> all_files.cpp
3> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Release/CGAL_Core-vc100-mt-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Release/CGAL_Core-vc100-mt-4.7.exp
3> CGAL_Core.vcxproj -> C:\dev\CGAL-4.7\build\bin\Release\CGAL_Core-vc100-mt-4.7.dll
3> 1 fichier(s) copié(s).
3> 1 fichier(s) copié(s).
4> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Release/CGAL_ImageIO-vc100-mt-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Release/CGAL_ImageIO-vc100-mt-4.7.exp
4> CGAL_ImageIO.vcxproj -> C:\dev\CGAL-4.7\build\bin\Release\CGAL_ImageIO-vc100-mt-4.7.dll
4> 1 fichier(s) copié(s).
4> 1 fichier(s) copié(s).
5> moc_GraphicsViewNavigation.cpp
5> moc_DemosMainWindow.cpp
5> moc_GraphicsItem.cpp
5> moc_GraphicsViewInput.cpp
5> qrc_CGAL.cpp
5> qrc_Input.cpp
5> qrc_File.cpp
5> qrc_Triangulation_2.cpp
5> Génération de code en cours...
5> Création de la bibliothèque C:/dev/CGAL-4.7/build/lib/Release/CGAL_Qt5-vc100-mt-4.7.lib et de l'objet C:/dev/CGAL-4.7/build/lib/Release/CGAL_Qt5-vc100-mt-4.7.exp
5> CGAL_Qt5.vcxproj -> C:\dev\CGAL-4.7\build\bin\Release\CGAL_Qt5-vc100-mt-4.7.dll
5> 1 fichier(s) copié(s).
5> 1 fichier(s) copié(s).
6>------ Début de la génération : Projet : ALL_BUILD, Configuration : Release Win32 ------
6> Building Custom Rule C:/dev/CGAL-4.7/CMakeLists.txt
6> CMake does not need to re-run because C:\dev\CGAL-4.7\build\CMakeFiles\generate.stamp is up-to-date.
========== Génération : 6 a réussi (succeed), 0 a échoué (failed), 0 mis à jour (updated), 0 a été ignoré (ignored) ==========
Same error message as in debug.
I put C:\dev\CGAL-4.7\build\bin in my path.
Building an example:
I opened CMAKE-GUI and put C:/dev/CGAL-4.7/examples/Convex_hull_2 as a source and C:\dev\CGAL-4.7\build-example\Convex_hull_2 for where to build the binary.
First configuration:
The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10 2010
Check for working C compiler using: Visual Studio 10 2010 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10 2010
Check for working CXX compiler using: Visual Studio 10 2010 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING EXEFLAGS = ' /machine:X86 /INCREMENTAL:NO'
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
Requested component: Core
Requested component: MPFR
Requested component: GMP
Configuring done
Second configuration
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING EXEFLAGS = ' /machine:X86 /INCREMENTAL:NO'
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
Requested component: Core
Requested component: MPFR
Requested component: GMP
Configuring done
Generating done.
WHen I run an example like convexhull 2 the exe file cannot be opened since boot_system-vc100-mt-gd-1_59.dll is missing.
Can you help me please?
Thank you for your time and help!
Best regards,
Jérémie