BASOP main does not build in MSVC Release
# Main does not build in MSVC Release
Open
created <time title="November 14, 2025 at 2:38:41 PM GMT+1" datetime="2025-11-14T13:38:41Z">November 14, 2025 at 2:38:41 PM GMT+1</time> by [vaclav](https://forge.3gpp.org/rep/vaclav "vaclav")
The basop main does not compile in MSVC Release mode and returns following errors:
<table>
<tr>
<td>
**Severity**
</td>
<td>
**Code**
</td>
<td>
**Description**
</td>
<td>
**Project**
</td>
<td>
**File**
</td>
<td>
**Line**
</td>
</tr>
<tr>
<td>Error</td>
<td>C1083</td>
<td>Cannot open include file: 'ivas_rtp_pi_data.h': No such file or directory</td>
<td>lib_dec</td>
<td>
..\\ivas-basop\\lib_dec\\lib_dec.h
</td>
<td>40</td>
</tr>
<tr>
<td>Error (active)</td>
<td>E0020</td>
<td>identifier "IVAS_PIDATA_ACOUSTIC_ENV" is undefined</td>
<td>lib_dec</td>
<td>
..\\ivas-basop\\lib_dec\\lib_dec_fx.c
</td>
<td>3452</td>
</tr>
<tr>
<td>Error (active)</td>
<td>E1696</td>
<td>cannot open source file "ivas_rtp_pi_data.h"</td>
<td>lib_dec</td>
<td>
..\\ivas-basop\\lib_dec\\lib_dec.h
</td>
<td>40</td>
</tr>
<tr>
<td>Error (active)</td>
<td>E1696</td>
<td>cannot open source file "ivas_rtp_pi_data.h"</td>
<td>lib_dec</td>
<td>
..\\ivas-basop\\lib_dec\\lib_dec_fx.c
</td>
<td>45</td>
</tr>
</table>
This is due to the issue in included directories in the MSVC project file _lib_dec.vcxproj._ While there is in the Debug mode:
> ..\\lib_basop;..\\lib_com;..\\lib_debug;..\\lib_dec;..\\lib_enc;..\\lib_rend;..\\lib_isar;..\\lib_rend;..\\lib_lc3plus;..\\lib_util;.%(AdditionalIncludeDirectories)
and it compiles fine, the **..\\lib_util** include is missing in the Release mode:
> ..\\lib_basop;..\\lib_com;..\\lib_debug;..\\lib_dec;..\\lib_enc;..\\lib_rend;..\\lib_isar;..\\lib_rend;..\\lib_lc3plus;.%(AdditionalIncludeDirectories)
A short-time solution would be to add the missing include into the Release mode.
However, `..\lib_util` should be included only from an application or other utility files and not from the codec library as it is currently the case in **lib_dec_fx.c**:
```
#ifdef IVAS_RTPDUMP
#include "ivas_rtp_pi_data.h"
#endif
```
and **lib_dec.h**:
```
#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
#include "ivas_rtp_pi_data.h"
#endif
```
From the framework point of view, these includes are wrong, should be removed and the declarations in `ivas_rtp_pi_data.h` should be done somewhere else, e.g. in `common_api_types.h`.
<!--- Below are labels that will be added but are not shown in description. This is a template to help fill them.
Add further information to the first row and remove and add labels as necessary.-->
issue