Started Labbook 2022.

December 15, 2021

December 14, 2021

June 16, 2021

February 24, 2021

February 22, 2021

January 28, 2021

January 25, 2021

January 11, 2021

January 8, 2021

January 7, 2021

January 6, 2021

  • Now I have to add C:\Programs\Webots\msys64\mingw64\bin to my path in PowerShell. Tried $env:Path += ";SomeRandomPath"
  • Make fails now on soccer_vision Makefile line 33 (missing pipe), executing the script opencv_version
  • Commented out the last 4 soccer directories. Make now works, but is skipping the compilation of naoqisim.exe.
  • Skyping happens when there is no Visual Studio: ifeq ($(wildcard $(MSBUILD)),)
    @echo "! Skipping compilation of naoqisim.exe controller"
  • Was looking for Visual Studio Essentials 2010. The Matlab help pointed to older vs downloads, but I couldn't find 2010. Downloade 2019 (Community version) instead:
  • Started a VisualStudio Powershell. Added $env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin". The executable msbuild.exe is known, but the Makefile is still skiping.
  • The controllers\naoqisim\Makefile explicitly sets MSBUILD?=/C/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe
  • Manually made the call with msbuild.exe naoqisim.sln /verbosity:minimal /property:Configuration=Release (in directory naoqisim\controllers\naoqisim.
  • Doing the same for challenge_solver fails: msbuild.exe .\challenge_solver.sln /verbosity:minimal /property:Configuration=Release
    Microsoft (R) Build Engine version 16.8.2+25e4d540b for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(411,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgr ade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\packages\naoqisim\control lers\challenge_solver\challenge_solver.vcxproj]

  • The same happens for nao_team_0 and robocup_striker. Also the project libraries\nao_soccer and soccer_vision_VS have this problem.
  • Loaded C:\packages\naoqisim\worlds\naoqisim_indoors.wbt, which starts but fails in the end crashes:
    WARNING: naoqisim: [environment variables with relative path] is deprecated, please use [environment variables with path] instead
    INFO: naoqisim: Starting controller: C:\packages\naoqisim\controllers\naoqisim\naoqisim.exe 9559
    Qt: Untested Windows version 6.2 detected!
    Error: %1 is geen geldige Win32-toepassing.
    (dynamic library)
    Error: failed to load C:/Programs/Webots/resources/projects/plugins/robot_windows/generic/generic.dll library
    ===== naoqisim controller started =====
    Press the real-time button [>] to start the simulation, then you can connect Choregraphe.
    ===== starting alsim controller =====
    sdkPrefix: ..\..\aldebaran\simulator-sdk
    [E] 9720 posture: PostureLibrary::loadLibraryFromFile: cannot open file ""
    [I] 9720 SimLauncher: Launching ..\..\ALDEBA~1\SIMULA~1\bin/hal -s hal-ipc9559 -p HAL/Robot/Type:string=Nao -p HAL/Simulation:int=1 -p HAL/Time:int=0 -p HAL/CycleTime:int=0 -p DCM/Time:int=0 -p DCM/CycleTime:int=0 -p HAL/SimShmId:int=9559 -p HAL/Ack:int=0 -p HAL/Nack:int=0 -p HAL/Error:int=0
    [I] 9720 SimLauncher: Launching ..\..\ALDEBA~1\SIMULA~1\bin/naoqi-bin.exe -p 9559 --writable-path C:\Users\Arnoud\AppData\Local\Temp\SimLauncherQSlQ6dd
    Webots cameras enabled.
    Add the '-nocam' option in 'controllerArgs' to disable the cameras and increase the simulator performance.
    simulator-sdk max camera resolution: CameraBottom: 1280x960
    Webots camera resolution: CameraBottom: 160x120
    simulator-sdk max camera resolution: CameraTop: 1280x960
    Webots camera resolution: CameraTop: 160x120
    WARNING: naoqisim: The process crashed some time after starting successfully.
    WARNING: 'naoqisim' controller crashed.
  • The file C:/Programs/Webots/resources/projects/plugins/robot_windows/generic/generic.dll exists, but is from 2018. There is a Makefile in this directory, so I could try to remake it.
  • A make only partly works:
    $env:WEBOTS_HOME="C:\Programs\Webots" PS C:\Programs\Webots\resources\projects\plugins\robot_windows\generic> make Het systeem kan het opgegeven pad niet vinden.
    "# updating" string_utils.d
    Het systeem kan het opgegeven pad niet vinden.
    "# updating" generic.d
    Het systeem kan het opgegeven pad niet vinden.
    "# compiling" generic.c
    make: *** [C:/Programs/Webots/resources/Makefile.include:523: build/release/generic.o] Error -1073741515
  • Created the directory build\release, and now both *.d files are created (although empty).
  • Just simple gcc -c generic.c works, but gives no output.
  • Looking if I could install gcc in msys. Following the instructions of devdungeon.
  • First downloading the package information with pacman -Syu. Msys have to be closed to finish the installation.
  • Installing gcc with pacman -S base-devel gcc vim cmake.
  • The executables should be accessible from C:\msys64\mingw64\bin and C:\msys64\usr\bin.
  • The full package failed to be installed, so I install packman -s gcc make wget.
  • Without MSBUILD compilation of naoqisim is still skipped, compiling challenge_solver.exe fails on Makefile:27.
  • Now something happens when I do gcc: make
    # compiling generic.o
    gcc -c -Wall -O3 -DNDEBUG -mwindows -Wl,-subsystem,windows -D_GLIBCXX_USE_CXX11_ABI=1 -I. -I"C:\Programs\Webots/include/controller/c" generic.c -o build/release/generic.o
    generic.c:26:10: fatal error: string_utils.h: No such file or directory
    26 | #include "string_utils.h"

    January 5, 2021

    January 4, 2021

    Previous Labbooks