formulahendry / formulahendry/vscode-code-runner

Linkage problem

Open
#443 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.31.1
- OS Version: Windows 10 v1809 (17758.1)
- Code Runner Version: v0.9.7

**Describe the bug**
In this scenario:
```
->SomeProjeto
---->main.cpp
---->Racional.h
---->Racional.cpp
---->Racional.cpb
```
The VS Code with Code Runner doesn't do the proper linkage of .h and .cpp for the main.cpp compilation (see [this](https://i.imgur.com/I2rxjiP.png)).

**To Reproduce**
Steps to reproduce the behavior:

1. Import some project file from another IDE or anywhere.
2. Try to compile the files.
3. Be slammed with linkage problems.

**Actual behavior**
The extension doesn't exec the right command to the compiler.

**Expected behavior**
The extension should do something like this:
`g++ main.cpp Racional.cpp ...`

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.