Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR IN BUILDING GDS3D- How to resolve this?It is happening after runnung make -C linux #10

Open
Neha2411-source opened this issue Oct 31, 2023 · 0 comments

Comments

@Neha2411-source
Copy link

make: Entering directory '/home/neha1010/GDS3D/linux'
g++ -c -w -O1 -I ../math/ -I ../gdsoglviewer/ -I ../libgdsto3d/ main.cpp -o main.o
In file included from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
../libgdsto3d/gds_globals.h:98:9: error: reference to ‘byte’ is ambiguous
98 | byte RecordType;
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/vector:60,
from ../libgdsto3d/gds_globals.h:34,
from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
../libgdsto3d/gds_globals.h:94:23: note: ‘typedef unsigned char byte’
94 | typedef unsigned char byte;
| ^~~~
../libgdsto3d/gds_globals.h:99:9: error: reference to ‘byte’ is ambiguous
99 | byte DataType;
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/vector:60,
from ../libgdsto3d/gds_globals.h:34,
from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
../libgdsto3d/gds_globals.h:94:23: note: ‘typedef unsigned char byte’
94 | typedef unsigned char byte;
| ^~~~
../libgdsto3d/gds_globals.h:100:9: error: reference to ‘byte’ is ambiguous
100 | byte *Data;
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/vector:60,
from ../libgdsto3d/gds_globals.h:34,
from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from ../gdsoglviewer/windowmanager.h:29,
from main.h:24,
from main.cpp:29:
../libgdsto3d/gds_globals.h:94:23: note: ‘typedef unsigned char byte’
94 | typedef unsigned char byte;
| ^~~~
make: *** [Makefile:31: main.o] Error 1
make: Leaving directory '/home/neha1010/GDS3D/linux'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant