microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
184 stars 55 forks source link

Repro project does not build #470

Closed orkunsystems closed 6 months ago

orkunsystems commented 1 year ago

Does Makefile Tools support Windows 11 with minGW?

andreeis commented 1 year ago

@orkunsystems , yes, MinGW and WSL as well. Let us know if you encounter any issue setting up your project in VSCode.

orkunsystems commented 1 year ago

Hi Andreea,

I thank you very much for your quick response. I have been trying to implement a project during the last week, but I could not somehow get the project compiled fully. It links without compiling. Initially, I had one rule for compiling and linking. I had to change it after I got error message from the compiler. Now I have two rules : one for compiling and one for linking. It seems that it did not help, but the compiler stopped error message.

I tried to find some examples/information on the net , but I could not find a mentionable example for Windows. All the resources I found are related to Linux and I decided to post a question, if Windows were supported.

Would it be possible to get some information/example or any link that provides some orientation?

I thank you very much again.

Regards, Berat

From: Andreea @.> Sent: Tuesday, May 2, 2023 9:28 PM To: @.> Cc: @.>; @.> Subject: Re: [microsoft/vscode-makefile-tools] Question (Issue #470)

@orkunsystemshttps://github.com/orkunsystems , yes, MinGW and WSL as well. Let us know if you encounter any issue setting up your project in VSCode.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-makefile-tools/issues/470#issuecomment-1532030647, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIGBVIOHC3SD57BDIOKZULXEFN6ZANCNFSM6AAAAAAXTOV2I4. You are receiving this because you were mentioned.Message ID: @.***>

andreeis commented 1 year ago

@orkunsystems, so it's not like you already have a project that exists and now you want to start using the extension and you want to configure your project to work for VSCode and Makefile Tools. You are writing the project now and you need some help writing the makefile? We have experience configuring projects to be used in the context of VSCode and Makefile Tools once the projects are built and working fully end to end in a terminal, with a developer experience already setup. Or maybe I understand wrong what is needed here. Either way we are more than happy to help with anything. Do you have a public repository we can look at? Easy to package the project to send our way? Before even writing a makefile, do you have a sequence of compilation/linking commands that already work or you are exploring for the right commands needed for your source code? You could share your source code.

orkunsystems commented 1 year ago

Andreea,

I thank you very much for your follow-up and efforts to help me.

I have indeed a project. However, it is tiny (part of a bigger project). I am using this small project to learn the makefile-tools and makefile as a whole because I am intending to use it in my next project.

I made a zip file and I am enclosing it with his email. There is also a read-me file in the zipped package, which gives more information.

In the case of minGW and it is products, they are completely installed and paths are updated. I can confirm that it is working completely and I am currently using it with Cmake.

I should also mention that I am looking forward to uninstalling Cmake from my machine. 😲

I am so exited and looking forward to hearing from you.

I thank you very much again.

Have a nice day.

Enclosure: TestMakefile.zip

From: Andreea @.> Sent: Wednesday, May 3, 2023 10:24 PM To: @.> Cc: @.>; @.> Subject: Re: [microsoft/vscode-makefile-tools] Question (Issue #470)

@orkunsystemshttps://github.com/orkunsystems, so it's not like you already have a project that exists and now you want to start using the extension and you want to configure your project to work for VSCode and Makefile Tools. You are writing the project now and you need some help writing the makefile? We have experience configuring projects to be used in the context of VSCode and Makefile Tools once the projects are built and working fully end to end in a terminal, with a developer experience already setup. Or maybe I understand wrong what is needed here. Either way we are more than happy to help with anything. Do you have a public repository we can look at? Easy to package the project to send our way? Before even writing a makefile, do you have a sequence of compilation/linking commands that already work or you are exploring for the right commands needed for your source code? You could share your source code.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-makefile-tools/issues/470#issuecomment-1533686051, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIGBVJMP6STRM22MUX5GW3XEK5HRANCNFSM6AAAAAAXTOV2I4. You are receiving this because you were mentioned.Message ID: @.***>

orkunsystems commented 1 year ago

Hi!

The current test does not cover packages glm and vulkan. It will only evaluate glfw. I made slight changes in the main.cpp such that the code now covers all three packages.

I am sending the new main.cpp with this email. Would you please consider replacing it?

I have anxiously been waiting for the result. 😊

Have a nice day!

Enclosure: main.cpp

From: Andreea @.> Sent: Wednesday, May 3, 2023 10:24 PM To: @.> Cc: @.>; @.> Subject: Re: [microsoft/vscode-makefile-tools] Question (Issue #470)

@orkunsystemshttps://github.com/orkunsystems, so it's not like you already have a project that exists and now you want to start using the extension and you want to configure your project to work for VSCode and Makefile Tools. You are writing the project now and you need some help writing the makefile? We have experience configuring projects to be used in the context of VSCode and Makefile Tools once the projects are built and working fully end to end in a terminal, with a developer experience already setup. Or maybe I understand wrong what is needed here. Either way we are more than happy to help with anything. Do you have a public repository we can look at? Easy to package the project to send our way? Before even writing a makefile, do you have a sequence of compilation/linking commands that already work or you are exploring for the right commands needed for your source code? You could share your source code.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-makefile-tools/issues/470#issuecomment-1533686051, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIGBVJMP6STRM22MUX5GW3XEK5HRANCNFSM6AAAAAAXTOV2I4. You are receiving this because you were mentioned.Message ID: @.***>

include "viz3DWindow.hpp"

// std

include

include

include

define GLM_FORCE_RADIANS

define GLM_FORCE_DEPTH_ZERO_TO_ONE

include <glm/mat4x4.hpp>

include <glm/vec4.hpp>

using namespace viz3D;

int main() { static constexpr int WIDTH = 800; static constexpr int HEIGHT = 600; vizWindow viz3DWindow{WIDTH, HEIGHT, "Visual Numeric Makefile"};

try { uint32_t extensionCount = 0;

vkEnumerateInstanceExtensionProperties(nullptr, &extensionCount, nullptr);

std::cout << extensionCount << " extensions are supoorted!\n";

glm::mat4 matrix;
glm::vec4 vector;

glm::vec4 test = matrix * vector;

std::cout << " X: " << test.x << " GLM mat4 x vec4\n";

while (!vizWindow.shouldClose())
{
  glfwPollEvents();
}
std::cout << "Exiting the window .....! \n";

} catch (const std::exception &e) { std::cerr << e.what() << '\n'; return EXIT_FAILURE; }

return EXIT_SUCCESS; }

andreeis commented 11 months ago

@orkunsystems , we were not able to try the project you attached but we are doing a one pass now through all the tickets opened in our repository. Quick question: since then, were you able to get unblocked? Do you still need us to look into this? Thank you.

github-actions[bot] commented 6 months ago

This issue is now closed due to there being no activity on it for the past 14 days since being marked as 'stale'.