In my cmd prompt when i try to create my visual studio .NET project files with command makmake helloworldbasic vc7 the following comes up
'LINK.EXE' is not recognised as an internal or external command,operable program or batch file. I'm following a tutorial here that just pads out the basics a bit better than another one i read in which i got this going in the emulator no problem using,
bldmake bldfiles
then abld makefile vc 7 then launching epoc.exe.
so cant understand why this other way isnt working or is it the fact that because ive already executed these commands -> .dsw has been created already that is infact creating the problem,
thanks for any feedback,
ff
search for link.exe in your pc and set that in path environment variable .
Yes, you'll need to add the ..\vc7\bin and ..\common7\ide folders to your system path variable. With the .net version of VC++ you need a third folder on your path too i think, ..\SDK\v1.1\bin. There is supposed to be a batch file somewhere in the VC++ folders that does this for you, but I think this only takes effect for the current session, and it wouldn't do any harm to modify your system path manually.
..Ant
I am experiencing the same problem. However when I search for LINK.EXE I do not find it. Is LINK.EXE ment to come with the Symbian SDK and if not where can I get it?
It's OK now. I switched for Borland C++ to Microsoft VC++ and LINK.EXE is there and working.
Ant wrote:Yes, you'll need to add the ..\vc7\bin and ..\common7\ide folders to your system path variable. With the .net version of VC++ you need a third folder on your path too i think, ..\SDK\v1.1\bin. There is supposed to be a batch file somewhere in the VC++ folders that does this for you, but I think this only takes effect for the current session, and it wouldn't do any harm to modify your system path manually...Ant
Even after setting the path as specified by ...Ant, Link.exe does not work properly. It gives an error "unable to find mspdb.dll". The interesting thing is if you generate *.mmp file yourself using Application Wizard then the Application wizard asks you if you want to convert mmp file to VC project files an it successfully does it.
"makmake helloworldbasic vc7" still does not work. Anybody who knows any additional setting would be of great help.
Thanks
[email][email protected][/email]
I have the exact same problem... it could not find mspdb80.dll (probably my version of VC++ is different, it is 2005 beta version)...although I set all the path parameters mentioned above... plz help!!!
i vsearched and searched, but couldn't understand why it gives this error...i think i will quit symbian programming...gotta find another hobby maybe ...
when i searched my computer for makmake, it found it in 2 locations:
one in C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools
one in C:\Program Files\Common Files\Symbian\tools
which one is the one it uses? im confused.... should i add both paths to the path?
You have to run the following script to have all paths correctly added to your config:
\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat
Afterwards you can do a "makmake helloworldbasic.mmp vc7" w/o any problems.
I'm using Visual Studio .NET 2003 - Version 7.1.3088 on WinXP SP2
Uncle Sam wrote:
\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat
That's nice, I have to correct myself 😊. You can do it even easier:
Just open the VS.NET command promt instead of the normal cmd.exe.
The VS.NET comand promt can be found in the Start Menu > Programs > Microsoft Visual Studio .NET 2003 > Visual Studio .NET Tools > Visual Studio .NET 2003 Command Prompt
Then you just navigate to your directory and execute the "makmake helloworldbasic.mmp vc7".
Thank you very much..
I did both, and each time it gave an error "Can't find makmake.pl on PATH".
However I know that I have it in two locations actually (see my last message up ^). I searched for makmake.pl on my computer just now and interestingly the explorer couldn't find it!! But it is there!!! I added both locations on the path...might there be a path conflict or something? Which one should I add ?!!??(please see my last message above)
Here is what I did:
I went in to the folders on the .NET cmd prompt and run makmake and as a result I saw that the ...\epoc32\tools seemed kinda working (the otherone did nothing just mentioned about some makmake.bat !!!???) this one at least gave some kindof errors that look like i am on the right directory:
C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools>makmake c:\Symbian\8.0a\S60_2nd_FP2\Series60Ex\helloworldbasic.mmp vc7
ERROR: Must set the EPOCROOT environment variable
BEGIN failed--compilation aborted at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/E32env.pm line 51.
Compilation failed in require at makmake.pl line 27.
BEGIN failed--compilation aborted at makmake.pl line 27.
Now, what does this mean?
ok when i searched for the error on google i found some advice about setting the epocroot (go to env. variables and create EPOCROOT variable and then write the directory where the epoc32 is in the value, excluding the c:\ or whatever drive your SDK is)...I did that and then it gave the following error:
ERROR: Can't specify MMP file on a different drive
then I copied helloworldbasic folder under epoc32\tools, i.e. where makmake.pl is!!! and then ran:
C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools>makmake helloworldbasic.mmp vc7
and below is the error:
ERROR: CPP executable not found in path
BEGIN failed--compilation aborted at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/Checkgcc.pm line 83.
Compilation failed in require at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/Prepfile.pm line 21.
BEGIN failed--compilation aborted at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/Prepfile.pm line 21.
Compilation failed in require at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/MMP.PM line 62.
BEGIN failed--compilation aborted at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/MMP.PM line 62.
Compilation failed in require at C:\Symbian\8.0a\S60_2nd_FP2\epoc32\tools\/Modload.pm line 49.
Now, I don't know what to do..I don;t know where this thing will go... Should I keep on searching on google? This shouldn't be the way of programming... Do they make these this complicated intentionally?