radioegor146 / native-obfuscator

Java .class to .cpp converter for use with JNI
GNU General Public License v3.0
499 stars 67 forks source link

Execute cmake. An error occurs #65

Closed xxtx4399 closed 1 year ago

xxtx4399 commented 1 year ago

I successfully ran java -jar native-obfuscator.jar It gives me a cpp folder and jar file when I try to type cmake . it went wrong

-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:2 (project):
  Running

   'nmake' '-?'

  failed with:

   The system can not find the file specified。

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

I want to know what should I do to make it work

radioegor146 commented 1 year ago

Did you install compiler?

radioegor146 commented 1 year ago

If you will get this error any time in the future - feel free to reopen issue, but for now I'm closing it.