You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just leaving this for anyone who might have experienced the same issues I did.
Assuming you have downloaded Docker, be it through their website or using brew install --cask docker, download XQuartz using https://www.xquartz.org/. After opening the disk image and running XQuartz.pkg, you need to log out and log back in for the DISPLAY_ENV variable to correctly set. Then add export PATH="/usr/X11R6/bin:$PATH" to .zshrc or .bashrc (whichever command line shell you use) and run source .zshrc or source .bashrc. Enable the "Allow connections from network clients" setting in Preferences > Security, then restart XQuartz for the setting to be saved. Run xhost +localhost.
Clone this repository into a folder of your choice (I'll call it folder X); this is where the other downloaded files shall be.
I personally needed Quartus 18.1 and used a MAX 10 FPGA, so I downloaded Quartus, ModelSim and the MAX 10 FPGA device support from https://fpgasoftware.intel.com/18.1/?edition=lite&platform=linux under the Individual Files tab. Put all three files in folder X.
For the FreeType file, I went to https://download.savannah.gnu.org/releases/freetype/ and downloaded the latest version, which was freetype-2.10.0.tar.bz2 at the time of me writing this. Put this in folder X too.
Since the versions I had are different from the versions in the instructions, make sure to change all the versions in the Dockerfile. For example, I changed every 20.1 to 18.1, every freetype-2.4.12 to freetype-2.10.0, and so on. Also, I changed every instance of the name of the device from cyclonelp to max10.
When I ran docker build -t quartus . for the first time, I got error 137. From this article, I opened Docker, went to Preferences > Resources > Advanced, and increased Memory from 2.00 GB to 4.00 GB. I don't think you need to do this if you don't get that error.
Once that is complete, I created a folder named Shared in folder X and added this folder in Docker > Preferences > Resources > File Sharing (to add a folder, click the little blue + button near the bottom). Then, run docker run --rm -d -e DISPLAY=host.docker.internal:0 --net=host --volume=$HOME/quartus/config:/root --volume=/shared/folder:/macOS quartus but replace /shared/folder with the directory shown by Docker after adding the shared folder. Quartus should open.
The text was updated successfully, but these errors were encountered:
Just leaving this for anyone who might have experienced the same issues I did.
Assuming you have downloaded Docker, be it through their website or using
brew install --cask docker
, download XQuartz using https://www.xquartz.org/. After opening the disk image and running XQuartz.pkg, you need to log out and log back in for the DISPLAY_ENV variable to correctly set. Then addexport PATH="/usr/X11R6/bin:$PATH"
to .zshrc or .bashrc (whichever command line shell you use) and runsource .zshrc
orsource .bashrc
. Enable the "Allow connections from network clients" setting in Preferences > Security, then restart XQuartz for the setting to be saved. Runxhost +localhost
.Clone this repository into a folder of your choice (I'll call it folder X); this is where the other downloaded files shall be.
I personally needed Quartus 18.1 and used a MAX 10 FPGA, so I downloaded Quartus, ModelSim and the MAX 10 FPGA device support from https://fpgasoftware.intel.com/18.1/?edition=lite&platform=linux under the Individual Files tab. Put all three files in folder X.
For the FreeType file, I went to https://download.savannah.gnu.org/releases/freetype/ and downloaded the latest version, which was freetype-2.10.0.tar.bz2 at the time of me writing this. Put this in folder X too.
Since the versions I had are different from the versions in the instructions, make sure to change all the versions in the Dockerfile. For example, I changed every
20.1
to18.1
, everyfreetype-2.4.12
tofreetype-2.10.0
, and so on. Also, I changed every instance of the name of the device fromcyclonelp
tomax10
.When I ran
docker build -t quartus .
for the first time, I got error 137. From this article, I opened Docker, went to Preferences > Resources > Advanced, and increased Memory from 2.00 GB to 4.00 GB. I don't think you need to do this if you don't get that error.Once that is complete, I created a folder named Shared in folder X and added this folder in Docker > Preferences > Resources > File Sharing (to add a folder, click the little blue + button near the bottom). Then, run
docker run --rm -d -e DISPLAY=host.docker.internal:0 --net=host --volume=$HOME/quartus/config:/root --volume=/shared/folder:/macOS quartus
but replace/shared/folder
with the directory shown by Docker after adding the shared folder. Quartus should open.The text was updated successfully, but these errors were encountered: