Skip to content

Compiler errors #1

Open
Open
@LoekHabets

Description

@LoekHabets

When I want to compile the assembler these are the errors I get (both in Moebius Linux and mSYS). I'm not really into C++ so I haven't taken the risk of trying to fix it myself.

$make
g++ -g -o qpu-assembler assemble.cpp
assemble.cpp: In function 'int main(int, char**)':
assemble.cpp:584:40: error: 'getopt' was not declared in this scope
while ((c = getopt(argc, argv, "o:")) != -1) {
assemble.cpp:587:28: error: 'optarg' was not declared in this scope
outfname = optarg;
Makefile:2: recipe for target 'qpu-assembler' failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions