You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g++ -g -o qpu-asm qpu-asm.cpp
qpu-asm.cpp: In function ‘int main(int, char*)’:
qpu-asm.cpp:872:42: error: ‘getopt’ was not declared in this scope
while ((c = getopt(argc, argv, "o:c:")) != -1) {
^
qpu-asm.cpp:875:28: error: ‘optarg’ was not declared in this scope
outfname = optarg;
^
Makefile:4: recipe for target 'qpu-asm' failed
make: ** [qpu-asm] Error 1
resolved:
#include < getopt.h >
The text was updated successfully, but these errors were encountered:
make results this:
g++ -g -o qpu-asm qpu-asm.cpp
qpu-asm.cpp: In function ‘int main(int, char*)’:
qpu-asm.cpp:872:42: error: ‘getopt’ was not declared in this scope
while ((c = getopt(argc, argv, "o:c:")) != -1) {
^
qpu-asm.cpp:875:28: error: ‘optarg’ was not declared in this scope
outfname = optarg;
^
Makefile:4: recipe for target 'qpu-asm' failed
make: ** [qpu-asm] Error 1
resolved:
#include < getopt.h >
The text was updated successfully, but these errors were encountered: