Altera_Forum
Honored Contributor
11 years agoEmulator Issue
Just want to start by saying I am fairly new to OpenCL.
I am currently trying to use the aoc emulator to emulate to OpenCL kernel on my windows machine (simply so that I can test future kernels before deploying them to the FPGA). When I run the following command: --- Quote Start --- aoc -v -march=emulator device/hello_world.cl --- Quote End --- I get: --- Quote Start --- aoc: Environment checks are completed successfully. You are now compiling the full flow!! aoc: Selected target board de1soc_sharedonly aoc: Running OpenCL parser.... aoc: OpenCL parser completed successfully. aoc: Compiling for Emulation .... Error: Optimizer FAILED. Refer hello_world/hello_world.log for --- Quote End --- I checked the log file and this is all it says: --- Quote Start --- Microsoft (R) Incremental Linker Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. LINK : fatal error LNK1181: cannot open input file 'msvcrt.lib' --- Quote End --- I doubled checked my windows LIB variable it is pointed to the directory that contains that library: --- Quote Start --- C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\store\amd64 --- Quote End --- Has anyone come across something similiar to this? Edit: Also the board that I am using is the DE1-SOC board. I have ran through setting up the appropriate windows variables for that board as well.