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 on 1.0.5 #5

Open
sylar501 opened this issue Apr 2, 2018 · 5 comments
Open

Error on 1.0.5 #5

sylar501 opened this issue Apr 2, 2018 · 5 comments

Comments

@sylar501
Copy link

sylar501 commented Apr 2, 2018

Hi Stephen,

I have tried the latest 1,0,5 version (thanks for that!) and I now have the following error preventing me to successfully import projects:

Unknown os-linker combination: Windows-msvc

Is MSVC supported as a toolchain with m2e-nar ?

Many thanks

C.

@sdedwards
Copy link
Collaborator

sdedwards commented Apr 2, 2018 via email

@sylar501
Copy link
Author

sylar501 commented Apr 2, 2018

I would do that happily but I am not too familiar with Maven plug-in programming - would you mind indicating the main steps for adding a new compiler into m2e-nar in a correct way ? Roughly what you would do yourself had you an access to MSVC. Thanks a lot !

@sdedwards
Copy link
Collaborator

sdedwards commented Apr 2, 2018 via email

@sylar501
Copy link
Author

sylar501 commented Apr 2, 2018

There is indeed ! Let me know if you need assistance in getting up to speed with MSVC ;)

Many thanks for your work.

@sdedwards
Copy link
Collaborator

I've been fighting with Eclipse and Visual Studio and it seems that Eclipse CDT support for MSVC is limited. This is what I found in the source :
// Current support is for Windows SDK 8.0 with Visual C++ 11.0
// or Windows SDK 7.1 with Visual C++ 10.0
// or Windows SDK 7.0 with Visual C++ 9.0
It resolves the SDK include paths in that order, taking the first it finds. I would have to switch off this behaviour in Eclipse and redevelop this part in order for the compilation to behave the same way as nar-maven-plugin.
What I'm saying is it's not so easy so you'll have to be patient!

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

2 participants