--- Quote Start ---
Try it with the files in a directory with a shorter name and no spaces in the name, say
C:\sim\iotest. Install modelsim in eg
C:\modelsim. It shouldn't make a difference except that sometimes it does.
--- Quote End ---
Tricky/Galfonz I installed the 15.1 version of Modelsim in C: and followed the instructions but still get the same error, see transcript below and screen shot (I tried to add the screen shot with insert image but not sure it worked, this I/f seems a bit flaky, the first time I dragged the image onto the insert window and it locked the browser page):
https://www.alteraforum.com/forum/attachment.php?attachmentid=11544 # Reading C:/Modelsim/modelsim_ase/tcl/vsim/pref.tcl
cd /temp/DE0_NANO
vlib work
# ** Warning: (vlib-34) Library already exists at "work".
#
vcom IOTEST.vhdl
# Model Technology ModelSim ALTERA vcom 10.4b Compiler 2015.05 May 27 2015
# Start time: 09:54:04 on Dec 02,2015
# vcom -reportprogress 300 IOTEST.vhdl
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity IOTEST
# -- Compiling architecture RTL of IOTEST
# End time: 09:54:04 on Dec 02,2015, Elapsed time: 0:00:00
# Errors: 0, Warnings: 0
vcom tb_IOTEST.vhdl
# Model Technology ModelSim ALTERA vcom 10.4b Compiler 2015.05 May 27 2015
# Start time: 09:54:46 on Dec 02,2015
# vcom -reportprogress 300 tb_IOTEST.vhdl
# -- Loading package STANDARD
# -- Loading package TEXTIO
# -- Loading package std_logic_1164
# -- Loading package NUMERIC_STD
# -- Compiling entity tb_IOTEST
# -- Compiling architecture RTL of tb_IOTEST
# End time: 09:54:46 on Dec 02,2015, Elapsed time: 0:00:00
# Errors: 0, Warnings: 0
vsim tb_IOTEST
# vsim tb_IOTEST
# Start time: 09:55:05 on Dec 02,2015
# Loading std.standard
# Loading std.textio(body)
# Loading ieee.std_logic_1164(body)
# Loading ieee.numeric_std(body)
# Loading work.tb_iotest(rtl)
# Loading work.iotest(rtl)