iostream: No such file or directory
-
Hi. I’m was used a notepad with wxdevc++ compilator and the iostream not work. Then I install MinGW like others computer so iostream word properly. I adjust MppExec plugin to C:/MinGW/bin But I same received: “iostream: No such file or directory”
-
This is not Notepad++ related AT ALL! Please find an appropriate (DIFFERENT) place to ask your question.
-
Well, okay, I think you mean NppExec rather than MppExec so that threw me off, it is good to proofread your posts before submitting. I think you’re going to have to tell more about your NppExec setup before anyone will be able to help.
-
Yes. NppExec. Sorry :S
Well. I made only two changes in the default setting of NppExec.
1.- After install NppExec I check in menu > Plugins > NppExec > Follow $(CURRENT_DIRECTORY)
2.- I set this text in Execute window:NPP_SAVE
cmd /c del /Q “$(CURRENT_DIRECTORY)$(NAME_PART).exe”
C:\MinGW\bin\g++.exe “$(FULL_CURRENT_PATH)” -o $(NAME_PART)
cmd /c start $(CURRENT_DIRECTORY)$(NAME_PART).exeAs I say, on other computers I work well. but in this used before the compiler that comes with “wxDev C ++” worked fine until you try to use the iostream libraries so I went to put it as I have on other computers, but over the MinGW compiler still does not work.
Is there any place where you tell the Notepad ++ the path where libraries are to be used?
-
npp doesn’t know anything about mingw as well as nppexec.
You need to provide the information where to find the libraries, headers etc…
The example above should give you an idea what needs to be done.// c Compiles without linking. // Dname=definition Defines a symbol (as with #define). // E Stop after the preprocessing stage. // g Produce debugging information. // I Searches the given directory for "includes". // llibname Searches the specified library when linking. // ofilename Names the output file. // -help Provides (some) help. // -version Displays the version number. g++ --version // print compiler version ENV_SET PATH = D:\ProgramData\Compiler\MinGW\bin;$(SYS.PATH) // extend path variable //g++ -Wall -g -std=c++11 -o $(NAME_PART).exe $(FULL_CURRENT_PATH) -Ld D:\ProgramData\Compiler\MinGW\lib\libshlwapi.a g++ -Wall -g -std=c++11 -o $(NAME_PART).exe $(FULL_CURRENT_PATH) -ID:\Repositories\boost\ $(NAME_PART).exe
Cheers
Claudia