Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Some error occurs when I use Eclipse to build device modules. The problem might be that mingw32-make does not support backslash("\") in Makefile. But Makefile(application1.mk) is automatically generated by Eclipse (BREW plug-in). How do I solve this problem? Thanks.

Here is the error message:

**** Build of configuration Win32-Debug for project Application1 ****

mingw32-make.exe -f Application1.mk BUILD_CONFIG=DEBUG TOOL_CHAIN=WIN32 all
---------------------------------------------------------------
Building file: RESOUR~1/application1.car
Invoking: cifc to build car file
C:\PROGRA~1\Qualcomm\BREWMP~1.870\Platform\..\tools\bin\cifc.exe -bar .\application1.bar .\RESOUR~1\application1.car -I""./HEADER~1"" -I""C:\PROGRA~1\Qualcomm\BREWMP~1.870\Platform\system\inc""
/usr/bin/sh: C:PROGRA~1QualcommBREWMP~1.870Platform..toolsbincifc.exe: command not found
mingw32-make.exe: *** [application1.bar] Error 127

"

This is because of cygwin. Please the following steps
" Go to your project->properties->C/C++ build->Environment->Path (make sure you select All Configurations before editing)
" Edit the PATH variable here by removing any reference to Cygwin specific entries.
This way you can have Cygwin outside Eclipse IDE. Eclipse IDE, stores all the environment variables.

This is because of cygwin. Please the following steps
" Go to your project->properties->C/C++ build->Environment->Path (make sure you select All Configurations before editing)
" Edit the PATH variable here by removing any reference to Cygwin specific entries.
This way you can have Cygwin outside Eclipse IDE. Eclipse IDE, stores all the environment variables.

I got it. Thanks.

I got it. Thanks.

I meet upper error message , and solve it same way. Thanks.
But after finished building cif(mif) file, other error occur with below error message.
OBJECT AEEModGen.o
'Invoking: GCC C Compiler'
mingw32-gcc -DAEE_SIMULATOR -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\connectivity\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\databases\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\deprecated\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\hardware\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\languages\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\media\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\networking\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\security\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\system\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\telephony\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\ui\inc" -I "Resource" -I".\RESOUR~1" -I".\HEADER~1" -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"AEEModGen.d" -MT"AEEModGen.d" -o "AEEModGen.o" .\SOURCE~1\AEEModGen.c
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
mingw32-make.exe: *** [AEEModGen.o] Error 3
How can I solve this problem?
or How can I contact application's support team?
Thanks.

I meet upper error message , and solve it same way. Thanks.
But after finished building cif(mif) file, other error occur with below error message.
OBJECT AEEModGen.o
'Invoking: GCC C Compiler'
mingw32-gcc -DAEE_SIMULATOR -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\connectivity\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\databases\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\deprecated\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\hardware\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\languages\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\media\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\networking\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\security\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\system\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\telephony\inc" -I "C:\Program Files\Qualcomm\Brew MP 1.0 SDK Rev 4.3\platform\ui\inc" -I "Resource" -I".\RESOUR~1" -I".\HEADER~1" -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"AEEModGen.d" -MT"AEEModGen.d" -o "AEEModGen.o" .\SOURCE~1\AEEModGen.c
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
mingw32-make.exe: *** [AEEModGen.o] Error 3
How can I solve this problem?
or How can I contact application's support team?
Thanks.

Hi
Make sure to clean the project before doing a build.
This error might be because a corrupted .o file was already there when you are building the project.
HTH.

Hi
Make sure to clean the project before doing a build.
This error might be because a corrupted .o file was already there when you are building the project.
HTH.

Thanks, pchamoli.
I find two miss setting.
After fix these problem, build complete successfully.
First, I didn't set correct codesourcery path on eclipse.
Second, wrong build configurations. I changed build configurations - set actives to 3. GNU - Debug(Release). And it work well.

Thanks, pchamoli.
I find two miss setting.
After fix these problem, build complete successfully.
First, I didn't set correct codesourcery path on eclipse.
Second, wrong build configurations. I changed build configurations - set actives to 3. GNU - Debug(Release). And it work well.