ispc / ispc/vscode-ispc

vscode extension includes not working well on macos

Open
#13 3 comments 1 reaction 1 assignee Assigned to @pbrubaker View on GitHub
Dominant language
C
Stars
6
Forks
2
Avg merge
18h 47m
Merged PRs (30d)
1

Description

I have been using the vscode extension on macos with embree and have found that include paths are not working.

I have the following includes in the file I am trying to compile.

```
#include
#include "float3.ih"
#include "util.ih"
```

because I can't specify the include path in the settings I get the error -
`fatal error: 'embree3/rtcore.isph' file not found #include `

If I change the include for embree to `#include ` I receive the error:
`fatal error: 'float3.ih' file not found #include "float3.ih"` and

```
/Users/ispc/ispc_release2/src/stmt.cpp:3597: Assertion failed: "!printImplArgs.empty() && "Haven't managed to produce __do_print args"".
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this error).
*** You have apparently encountered a bug in the compiler that we'd like to fix!
***
/Users/ispc/ispc_release2/src/main.cpp(385): FATAL ERROR: Unhandled signal sent to process; terminating.
```

If I run ispc from the command line it compiles properly in both cases

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.