ReClassNET / ReClass.NET

More than a ReClass port to the .NET platform.
MIT License
1.81k stars 369 forks source link

Compilation Problems #253

Closed zaryar closed 1 year ago

zaryar commented 1 year ago

I tried to compile ReClass with those settings: image

but it does not seem to work, I get his error: image

I digged a bit and I think its because the NativeCore does not compile? Anyone has any Idea?

KN4CK3R commented 1 year ago

How did you obtain the source code? Did you use git or just downloaded a source archive?

zaryar commented 1 year ago

I used $git clone https://github.com/ReClassNET/ReClass.NET.git

do I need some dependencies I dont have?

If I start vscode I get this: C:\Users\user\Desktop\gitti\ReClass.NET\NativeCore\Unix\NativeCore.Unix.vcxproj : warning : Platform 'x64' referenced in the project file 'NativeCore.Unix' cannot be found.

C:\Users\user\Desktop\gitti\ReClass.NET\NativeCore\Unix\NativeCore.Unix.vcxproj : warning : Platform 'x86' referenced in the project file 'NativeCore.Unix' cannot be found.

error : Designtime build failed for project 'C:\Users\user\Desktop\gitti\ReClass.NET\NativeCore\Unix\NativeCore.Unix.vcxproj' configuration 'Debug|x86'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

KN4CK3R commented 1 year ago

If you don't need unix support, you can disable/unload that project in VisualStudio.

zaryar commented 1 year ago

Thats a great Idea, thanks. It worked. Any Idea why it wont let me compile NativeCore.Unix?

KN4CK3R commented 1 year ago

The unix project uses the WSL subsystem to compile the code in an unix context. If the system is not available for VisualStudio you may get a more or less descriptive error message. 🤷‍♂️