davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

Installation error #118

Closed TravisDai closed 3 years ago

TravisDai commented 3 years ago

I use the command in Ubuntu 20.04: bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/davidepatti/noxim/master/other/setup/ubuntu.sh) Then I get the following errors: ...... from /home/travis/noxim/bin/libs/yaml-cpp/src/convert.cpp:3: /home/travis/noxim/bin/libs/yaml-cpp/include/yaml-cpp/node/detail/iterator.h: In member function ‘void YAML::detail::iterator_base::increment()’: /home/travis/noxim/bin/libs/yaml-cpp/include/yaml-cpp/node/detail/iterator.h:48: 54: error: ‘next’ is not a member of ‘boost’ 48 | void increment() { this->base_reference() = boost::next(this->base()); } ...... /usr/include/boost/mpl/next_prior.hpp:29:8: note: ‘boost::mpl::next’ 29 | struct next | ^~~~ make[2]: [CMakeFiles/yaml-cpp.dir/build.make:76: CMakeFiles/yaml-cpp.dir/src/convert.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:222: CMakeFiles/yaml-cpp.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

Can anyone tell me what is wrong out there?

TravisDai commented 3 years ago

Then I try to use another way(manual) to install noxim in Ubuntu, I install systemC and yaml step by step, and in the directory noxim/bin/ by using the command "make", I get the following error: /usr/bin/ld: build/Main.o:Main.cpp:(.text.startup+0x101): more undefined references to `sc_core::sc_api_version_2_3_3_cxx201103L<&sc_core::SC_DISABLE_VIRTUAL_BINDUNDEFINED>::sc_api_version_2_3_3_cxx201103L(sc_core::sc_writer_policy)' follow collect2: error: ld returned 1 exit status

I try two times both in my physical machine and docker virtual machine and get the same errors.

LeiHuang0694 commented 3 years ago

Then I try to use another way(manual) to install noxim in Ubuntu, I install systemC and yaml step by step, and in the directory noxim/bin/ by using the command "make", I get the following error: /usr/bin/ld: build/Main.o:Main.cpp:(.text.startup+0x101): more undefined references to `sc_core::sc_api_version_2_3_3_cxx201103L<&sc_core::SC_DISABLE_VIRTUAL_BINDUNDEFINED>::sc_api_version_2_3_3_cxx201103L(sc_core::sc_writer_policy)' follow collect2: error: ld returned 1 exit status

I try two times both in my physical machine and docker virtual machine and get the same errors.

I got this error too in Ubuntu 18.04,,, Have you solved this problem?

TravisDai commented 3 years ago

Not yet, we can discuss later.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: LeiHuang0694mailto:notifications@github.com Sent: Thursday, January 7, 2021 5:47 PM To: davidepatti/noximmailto:noxim@noreply.github.com Cc: Travis Daimailto:daitr616@student.otago.ac.nz; Authormailto:author@noreply.github.com Subject: Re: [davidepatti/noxim] Installation error (#118)

Then I try to use another way(manual) to install noxim in Ubuntu, I install systemC and yaml step by step, and in the directory noxim/bin/ by using the command "make", I get the following error: /usr/bin/ld: build/Main.o:Main.cpp:(.text.startup+0x101): more undefined references to `sc_core::sc_api_version_2_3_3_cxx201103L<&sc_core::SC_DISABLE_VIRTUAL_BINDUNDEFINED>::sc_api_version_2_3_3_cxx201103L(sc_core::sc_writer_policy)' follow collect2: error: ld returned 1 exit status

I try two times both in my physical machine and docker virtual machine and get the same errors.

I got this error too in Ubuntu 18.04,,, Have you solved this problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdavidepatti%2Fnoxim%2Fissues%2F118%23issuecomment-755881231&data=04%7C01%7Cdaitr616%40student.otago.ac.nz%7Cd042a97c01a24b369c4c08d8b2c757f4%7C0225efc578fe4928b1579ef24809e9ba%7C1%7C0%7C637455916597926948%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Uq%2B6Z%2BxCiqOWmVU02iubKIcz3qoqOiaxUZ0cPYjeWa8%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQLRAXR5YMMII54HZA7VLNDSYU4GBANCNFSM4U5GFCXQ&data=04%7C01%7Cdaitr616%40student.otago.ac.nz%7Cd042a97c01a24b369c4c08d8b2c757f4%7C0225efc578fe4928b1579ef24809e9ba%7C1%7C0%7C637455916597936941%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pjM2Ad5wUHa%2FYyhk%2BLMnEoY%2FSK%2FjPZFSnEdC4nb7Bvw%3D&reserved=0.

davidepatti commented 3 years ago

Hi, sorry for the late reply. Try the noboost version of the installation script. bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/davidepatti/noxim/master/other/setup/ubuntu_noboost.sh)

LeiHuang0694 commented 3 years ago

Hi, sorry for the late reply. Try the noboost version of the installation script. bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/davidepatti/noxim/master/other/setup/ubuntu_noboost.sh)

Thanks. Also I changed the version of SystemC from 2.3.3 to 2.3.1. and it works.