intbeam / watcom-vscode

A basic project template for using Watcom C/C++ tools with Visual Studio Code
MIT License
20 stars 0 forks source link

Unable to open stdio.h #8

Open eltoneo opened 2 years ago

eltoneo commented 2 years ago

Re: Linux

Executing task in folder intbeam-watcom-vscode-bb718ee: pwsh -File ./build.ps1 -Architecture 16bit <

16bit Open Watcom C/C++ x86 16-bit Compile and Link Utility Version 2.0 beta Mar 14 2022 00:58:49 (32-bit) Copyright (c) 2002-2022 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. wpp /home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp -fo=./obj/ -bc -bt=DOS Open Watcom C++ x86 16-bit Optimizing Compiler Version 2.0 beta Mar 14 2022 00:53:59 (32-bit) Copyright (c) 2002-2022 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1989-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. /home/live/intbeam-watcom-vscode-bb718ee/src/main.hpp(17): Error! E059: col(18) unable to open 'stdio.h' /home/live/intbeam-watcom-vscode-bb718ee/src/main.hpp(17): Note! N393: col(18) included from /home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp(15) /home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp(19): Error! E029: col(11) symbol 'printf' has not been declared /home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp(23): Error! E029: col(5) symbol 'getchar' has not been declared /home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp: 27 lines, included 21, no warnings, 3 errors Error: Compiler returned a bad status compiling '/home/live/intbeam-watcom-vscode-bb718ee/src/main.cpp' stumpt

intbeam commented 3 months ago

This is likely an issue with the INCLUDE environment variable.. I've pushed a new update now, try and see if it's fixed.. And sorry for not looking into it.. I've been busy 😅