Skip to content

Wrong intermediate directory #2

@VMormoris

Description

@VMormoris

Hello,
Firstly let me thank you for this great module.

I'm trying to create a simple Hello World program and compile it using GCC for WSL. The first problem that I encounter was that I got an error: unable to override 'archFromConfig'; no such function this was easy to fix by adding the the line:

require("vstudio")

But right now when I try to compile my program I get the error: Fatal error: can't create /mnt//bin-int/Release/main.o: No such file or directory and I'm not sure how to fix it.
It's also weird since the path for the file that I'm compiling is correct: /mnt/c/dev/LinuxTest/src/main.cpp.

The script I'm using is the following:

require "3rdParty/premake-vslinux/vslinux"

workspace "LinuxTest"
    architecture "x64"

    configurations
    {
        "Debug",
        "Release",
    }

    project "LinuxTest"
        kind "ConsoleApp"
        system "Linux"
        language "C++"

        files
        {
            "src/**.cpp",
        }

Am I doing something wrong?
If I'm not do you have any plans on updating the repository or any suggestions on how to fix the problem I'm facing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions