chriz2600 / quartus-lite

Quartus Lite docker
MIT License
38 stars 20 forks source link

Evaluation of Tcl script flow/build_ip.tcl unsuccessful #1

Closed bydeath closed 4 years ago

bydeath commented 6 years ago

I copied flow/build_ip.tcl, then execute quartus_wrapper quartus_sh -t /root/flow/build_ip.tcl, the error occured: Info: Running Quartus Prime Shell Info: Version 18.0.0 Build 614 04/24/2018 SJ Lite Edition Info: Copyright (C) 2018 Intel Corporation. All rights reserved. Info: Your use of Intel Corporation's design tools, logic functions Info: and other software and tools, and its AMPP partner logic Info: functions, and any output files from any of the foregoing Info: (including device programming or simulation files), and any Info: associated documentation or information are expressly subject Info: to the terms and conditions of the Intel Program License Info: Subscription Agreement, the Intel Quartus Prime License Agreement, Info: the Intel FPGA IP License Agreement, or other applicable license Info: agreement, including, without limitation, that your use is for Info: the sole purpose of programming logic devices manufactured by Info: Intel and sold by Intel or its authorized distributors. Please Info: refer to the applicable agreement for further details. Info: Processing started: Tue Aug 21 04:05:11 2018 Info: Command: quartus_sh -t /root/flow/build_ip.tcl Inconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed! sh: 1: qsys-generate: not found

while executing

"qexec "qsys-generate $ED_DIR/soc_system.qsys --synthesis=VERILOG"" (file "/root/flow/build_ip.tcl" line 12)

Error (23031): Evaluation of Tcl script /root/flow/build_ip.tcl unsuccessful Error: Quartus Prime Shell was unsuccessful. 1 error, 0 warnings Error: Peak virtual memory: 790 megabytes Error: Processing ended: Tue Aug 21 04:05:12 2018 Error: Elapsed time: 00:00:01 Error: Total CPU time (on all processors): 00:00:00

chriz2600 commented 6 years ago

Sorry for the late answer, I was very busy and this is not an official project, just a hobby thing. I assume the error is because of qsys-generate not being inside the executable search path. I assumed the quartus scripts would assure this. I just pushed a new version to docker hub, which has the quartus/sopc_builder/bin/ in the PATH variable, maybe this solves your problem. If not, I need some more details on the project, or even the tcl script and project itself to figure out, what's going wrong.