Comments (5)
from renode.
This is the diff between the failed and successful builds (after replacing some spaces by end of lines to let the line oriented meld give better output):
The main difference is a missing mscorelib.dll in the failed build, and some changes from api-4.5 versions to 4.0.0.0 versions
success.txt
failed.txt
from renode.
Hello @alefminus,
Thanks for reporting this issue.
We are able to reproduce the problem on Fedora 39. It isn't really related to the C# language version but it's due to the .NET Framework version upgrade.
Fedora's mono-complete
package only contains libraries to build with .NET Framework versions 4.0, 4.5 and 4.7.1. This is why building Renode, which currently targets .NET Framework 4.6.2, fails.
We strongly recommend using a mono-complete
package supplied directly by the Mono Project. This is the most complete package as it contains the Roslyn compiler, which is missing in the Fedora's package, and enables building software targeting any .NET Framework version. The first one is especially important because there are known issues with mcs
, the legacy C# compiler, e.g., handling numbers with separators like 0x1_0000_0000
.
The site doesn't contain any official instructions for Fedora but they supply RPM repositories targetting CentOS. We have verified one can add the repository, use it to install Mono and then build Renode successfully in a fresh Fedora 39 docker container with:
dnf install 'dnf-command(config-manager)'
dnf config-manager --add-repo https://download.mono-project.com/repo/centos8-stable.repo
yum install gcc git gtk-sharp2 mono-complete
git clone --recursive -j 10 https://github.com/renode/renode
cd renode
./build.sh
If there are any reasons you have to use Fedora's mono-complete
package, it is possible to enforce .NET Framework version building Renode. If this is the case then we have verified it's possible to build Renode with it by enforcing the use of .NET Framework 4.7.1:
./build.sh --force-net-framework-version 4.7.1
from renode.
from renode.
Excellent, thanks for the confirmation.
from renode.
Related Issues (20)
- Error while using CC2520 SPI peripheral on STM32F4
- Error when running HSS in Renode with PolarFire SoC Icicle Example .resc files HOT 4
- STM32 Timer limits behaviour
- Trying to write to a disabled Tx
- STM32F2 DMA driven SPI
- STM32F2 DMA driven I2C
- Support of an ethernet device driver (Hifve_Unleashed board)
- STM32H7 Timer triggered DMA sampled ADC
- Compilation of VerilatorIntegrationLibrary in Xcelium fails HOT 1
- Support for MK10DN512VLQ10 NXP Kinetis)
- Renode v1.15.0 Fatal error in Mac HOT 1
- STM32H7 I2C
- STM32H7 SPI
- STM32_Timer Produces error HOT 6
- STM32 F2 and H7 EMAC
- Support of an ethernet device driver (litex_vexriscv board) for Zephyr
- Updating BME280 I2C sensor value using python script. HOT 1
- Save statefile inside a Hook (it hangs) via python script HOT 3
- Read value from GPIO
- hi i am trying to run gdb for blinky which is using nordic-blinky-zephyr.elf and using nrf52840 board when i am trying gdb not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renode.