You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dj...@delorie.com
Hi,
Trying to build this simple program:
#include <string>
int main()
{
std::string s("Hello world");
}
with:
gpp --std=c++17 -c SIMPLE.CPP
results in error:
In file included from c:/djgpp/include/cxx/10/string:55,
from SIMPLE.CPP:1:
c:/djgpp/include/cxx/10/bits/basic_string.h:48:11: fatal error:
string_view: No such file or directory (ENOENT)
48 | # include <string_view>
|
compilation terminated.
However with:
gpp -c SIMPLE.CPP
It compiles fine.
The file DJGPP/INCLUDE/CXX/10/STRING.VIE is there.
I have installed the following files:
djdev205.zip
bnu2351b.zip
gcc1030b.zip
gpp1030b.zip
mak43b.zip
Running in a DOSBOX under Ubuntu Linux.
Any idea?
josue
pif...@gmail.com
unread,
Sep 20, 2021, 4:29:21 PM9/20/21
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Josue,
You are using a DOS environement without long file name suport.
Install a tool that will give it to you on dosbox or try to use a cross compiler.