View Single Post
Old 4th March 2020, 12:44   #9  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Install g++-9
Code:
steve@Plex-780:~$ sudo apt-get install g++-9
[sudo] password for steve:            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libstdc++-9-dev
Suggested packages:
  g++-9-multilib gcc-9-doc libstdc++6-9-dbg libstdc++-9-doc
The following NEW packages will be installed
  g++-9 libstdc++-9-dev
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 10.1 MB of archives.
After this operation, 46.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 libstdc++-9-dev amd64 9.2.1-17ubuntu1~18.04.1 [1,705 kB]
Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 g++-9 amd64 9.2.1-17ubuntu1~18.04.1 [8,366 kB]                                                                                                             
Fetched 10.1 MB in 5min 36s (29.9 kB/s)                                                                                                                                                                                                    
Selecting previously unselected package libstdc++-9-dev:amd64.
(Reading database ... 451469 files and directories currently installed.)
Preparing to unpack .../libstdc++-9-dev_9.2.1-17ubuntu1~18.04.1_amd64.deb ...
Unpacking libstdc++-9-dev:amd64 (9.2.1-17ubuntu1~18.04.1) ...
Selecting previously unselected package g++-9.
Preparing to unpack .../g++-9_9.2.1-17ubuntu1~18.04.1_amd64.deb ...
Unpacking g++-9 (9.2.1-17ubuntu1~18.04.1) ...
Setting up libstdc++-9-dev:amd64 (9.2.1-17ubuntu1~18.04.1) ...
Setting up g++-9 (9.2.1-17ubuntu1~18.04.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
OK so far, deleted existing avisynth-build, then
Code:
steve@Plex-780:~$ dir
AviSynthPlus  Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
steve@Plex-780:~$ cd AviSynthPlus
steve@Plex-780:~/AviSynthPlus$ ls
avisynth-build  avs_core  CMakeLists.txt  cmake_uninstall.cmake.in  distrib  GNUmakefile  plugins  README.md
steve@Plex-780:~/AviSynthPlus$ mkdir avisynth-build
steve@Plex-780:~/AviSynthPlus$ cd avisynth-build
steve@Plex-780:~/AviSynthPlus/avisynth-build$ ls
steve@Plex-780:~/AviSynthPlus/avisynth-build$ CC=gcc CXX=g++ LD=gcc cmake ../ -G Ninja -DCMAKE_CXX_FLAGS="-fpermissive" && \
> ninja && \
> sudo ninja install
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/steve/AviSynthPlus/avisynth-build
[11/80] Building CXX object avs_core/CMakeFiles/AvsCore.dir/core/PluginManager.cpp.o
FAILED: avs_core/CMakeFiles/AvsCore.dir/core/PluginManager.cpp.o 
/usr/bin/g++  -DAvsCore_EXPORTS -DBUILDING_AVSCORE -I../avs_core/include -Iavs_core -fpermissive -msse2  -Wl,--no-undefined -fPIC   -std=c++1z -MD -MT avs_core/CMakeFiles/AvsCore.dir/core/PluginManager.cpp.o -MF avs_core/CMakeFiles/AvsCore.dir/core/PluginManager.cpp.o.d -o avs_core/CMakeFiles/AvsCore.dir/core/PluginManager.cpp.o -c ../avs_core/core/PluginManager.cpp
../avs_core/core/PluginManager.cpp:8:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
[16/80] Building CXX object avs_core/CMakeFiles/AvsCore.dir/convert/convert.cpp.o
ninja: build stopped: subcommand failed.
steve@Plex-780:~/AviSynthPlus/avisynth-build$
A bit further.

EDIT: Actually, we seem to have stopped about the same position as 1st code block in post #5.

EDIT: Just checked DistroWatch, Linux Mint 3rd most page hits for last 6 months period, so solution might assist a lot of users.
DistroWatch:- https://distrowatch.com/
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 4th March 2020 at 12:59.
StainlessS is offline   Reply With Quote