Skip to main content

fatal error C1189: #error : Must define a target architecture.

2 replies [Last post]
ainhoa
Offline
Joined: 2010-02-09

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ainhoa
Offline
Joined: 2010-02-09

It works

ainhoa
Offline
Joined: 2010-02-09

If someone has the same problem I found the solution:
The variables ENABLE_JAVA_DEBUGGER=true and ENABLE_MULTIPLE_PROFILES_SUPPORT=true must be put in the make command line.
I was declaring them before...

After doing in this way the error dissapears.
make -C %JVMWorkSpace%/build/wince_arm ENABLE_PCSL=true PCSL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/pcsl ENABLE_ISOLATES=true JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/tools ENABLE_JAVA_DEBUGGER=true ENABLE_MULTIPLE_PROFILES_SUPPORT=true

However I found other errors I had to solve...