Using Code warrior on Windows with TCL/TK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using Code warrior on Windows with TCL/TK

4,750件の閲覧回数
Nitor
Contributor I
Hi All,
            I'm currently developing a C application with an embedded tcl interpreter. The problem i'm having is that Codewarrior accepts the windows tcl header files but won't allow me to add windows tcl library files? , I can however add Linux tcl library files which CodeWarrior obviously cannot understand ?
 
My question is, does anyone know why CodeWarrior does not allow me to add windows library files to my code ?
 
Regards,
 
Nitor
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,235件の閲覧回数
J2MEJediMaster
Specialist I
I'm assuming you're trying to add a GUI to your interpreter. If your application started life as a console only app, the only support that CodeWarrior adds to the program is for the C run-time and any hooks to the operating system to support a console. To add windows features, the program needs to be made into a Windows app. That or you need to configure the IDE to recognize the file extension that the tcl windows libraries use a valid input file.

---Tom
0 件の賞賛
返信

1,235件の閲覧回数
Nitor
Contributor I
Hi Tom, Thanks for your reply. I tried setting up a new file type , using File Mappings in the target settings panel. This allowed the IDE to recognise the tcl84.lib (windows file) but I could not compile the file. I can also add the linux lib84.a file and compile but when linking it reported that it could not understand the lib84.a file. As Codewarrior is relatively new to me and I have had no problems integrating tcl and c in Visual C++, can you tell me how to integrate tcl into a CodeWarrior C application ? The aim being that I can monitor an application , using Tcl/tk in Windows, whilst executing using the QUICCstart MPC8248 Evaluation system. Regards, Nitor
0 件の賞賛
返信

1,235件の閲覧回数
J2MEJediMaster
Specialist I

As far as using TCL with CodeWarrior, first take a look at this FAQ. Next, you should consult the IDE_Automation_Guide.pdf in your CodeWarrior installation folder. If that isn't there, you can either try running the CW installation again and install the documentation, or go to the Freescale web site for it. Just to save you some trouble, I'm uploading a copy of the manual with this posting.



Message Edited by J2MEJediMaster on 2007-05-09 10:15 AM

IDEWINAUTOUG.pdf

Message Edited by t.dowe on 2009-10-06 09:05 AM
0 件の賞賛
返信