UPDATE 2: Partially solved, see the reply below.
UPDATE: While digging for the error code, I noticed the quite-human-readable line "Unable to identify a valid CodeWarrior for Symbian OS installation" which I interpret to mean that my environment isn't set correctly.
I've been fighting with the Symbian build process now for about two days straight. First I started with Linux-version (GnuPoc)[/URL], which builds the gcce-binaries just fine.
However, I decided that testing with the emulator could ease the process, so I installed windows and Carbide.c++. First I struggled with the carbide build settings and personally I loathed the per-file build-preference dialogs which make managing the whole process practically impossible. I got the examples running just fine, but when I tried to create my own environment, I just couldn't get the exe to register in the emulator. It builds fine and I have a minimal registration resource file and the needed(?) install-lines in a .pkg-file.
As a Unix-user, the bld.inf and .mmp -style started to sound quite appealing and I think I have quite a good grasp of the system now. However, when I try to build for WINSCW-target using abld, it just says "nothing to do" or complains about missing .WINSCW-files as if the bldmake bldfiles -command just doesn't create the needed makefiles.
Here's the build files I'm using:
bld.inf:
SimpleFftTests.mmp:Code:PRJ_PLATFORMS WINSCW PRJ_MMPFILES SimpleFftTests.mmp
And SimpleFftTests_reg.rss:Code:TARGET SimpleFftTests.exe TARGETTYPE exe UID 0xEBAF8912 USERINCLUDE . .. SYSTEMINCLUDE \epoc32\include SOURCEPATH . SOURCE SimpleFftTests.cpp LIBRARY euser.lib START RESOURCE SimpleFftTests_reg.rss TARGETPATH \private\1003a3f\apps TARGET SimpleFftTests_reg.rsc END //RESOURCE
AFAIK these should be enough for running a .exe in the emulator. What I'm not sure though is where I should copy the .rsc to the \apps\xxxxxxx\imports (or whatever) directory, which is normally specified in the SIS .pkg.Code:#include <appinfo.rh> UID2 KUidAppRegistrationResourceFile UID3 0xEBAF8912 RESOURCE APP_REGISTRATION_INFO { app_file = "SimpleFftTests"; }
Edit: The error messages could help a bit ;)
I'm trying to build the project using following commands:
And the error is:Code:bldmake bldfiles abld build winscw udeb
And if someone is intrested about the project, I'm working on a open source fft library (or more like a wrapper) for symbian. So if you know about such library, please let me know so I don't do duplicate effort.Code:make -r -f "\Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\Carbide\WORKSP~2\S IMPLE~2\test\EXPORT.make" EXPORT VERBOSE=-s Nothing to do make -r -f "\Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\Carbide\WORKSP~2\S IMPLE~2\test\WINSCW.make" MAKEFILE VERBOSE=-s perl -S makmake.pl -D \Symbian\Carbide\WORKSP~2\SIMPLE~2\test\SIMPLEFFTTESTS WI NSCW ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation make: *** [MAKEFILESIMPLEFFTTESTS] Error 255 make -r -f "\Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\Carbide\WORKSP~2\S IMPLE~2\test\WINSCW.make" LIBRARY VERBOSE=-s make -s -r -f "\Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\Carbide\WORKSP~2\ SIMPLE~2\test\SIMPLEFFTTESTS\WINSCW\SIMPLEFFTTESTS.WINSCW" LIBRARY make[1]: \Symbian\9.1\S60_3rd_MR_2\EPOC32\BUILD\Symbian\Carbide\WORKSP~2\SIMPLE~ 2\test\SIMPLEFFTTESTS\WINSCW\SIMPLEFFTTESTS.WINSCW: No such file or directory



