ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: KTIGCC v1.04

KTIGCC v1.04
Posted by Michael on 28 September 2006, 00:55 GMT

As part of the Google Summer of Code project, Kevin Kofler has finished KTIGCC, which is an IDE for TIGCC on UNIX platforms (using X11). This is the equivalent of the TIGCC IDE that had existed in the Windows version. There also are binary and source RPMs available.

  Reply to this article


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: KTIGCC v1.04
anykey  Account Info
(Web Page)

Nice. Now go make some fun games with it!

Reply to this comment    28 September 2006, 00:58 GMT


Re: Re: KTIGCC v1.04
Tyler C  Account Info
(Web Page)

Yes, This is a very nice IDE :) I even went through the trouble of updating kdebase on Dialup to use it while it was still in development :)

Reply to this comment    28 September 2006, 01:13 GMT


Re: Re: Re: KTIGCC v1.04
Andy Janata  Account Info
(Web Page)

Sounds painful. How long did it take?

Reply to this comment    29 September 2006, 12:38 GMT


Re: Re: Re: Re: KTIGCC v1.04
Tyler C  Account Info
(Web Page)

75MB Updates with yum upgrade, however I had to do it the hard way so I could use wget, which ended up to be ~125MB Updates, at 5KB/s, just over 7 hours :P

Reply to this comment    2 October 2006, 20:57 GMT

Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

I'd like to thank Joey Adams for his contributions earlier this year, before the beginning of the Summer of Code period, i.e. from January up to May 2006. He is listed as a coauthor for good reason.

I'd also like to thank Sebastian Reichelt, the author of the TIGCC IDE for Window$, whose UI design I heavily borrowed from. ;-) And also Gereon Kindler who designed the TIGCC IDE icons (which KTIGCC can use, turn off "Use system icons" in the preferences if you want the TIGCC IDE ones).

And of course, KTIGCC wouldn't have been possible without TIGCC, so thanks to those who have created TIGCC (Xavier Vassor, Jean Canazzi) and those who have worked on it in the past (Zeljko Juric et. al., see the about page on tigcc.ticalc.org).

And finally, thanks to Detached Solutions for having picked my project and to Google for the sponsorship (They spent something like 3 million dollars on Free Software during this summer!).

Reply to this comment    28 September 2006, 01:17 GMT

Re: Re: KTIGCC v1.04
Matthew Baron  Account Info

very nice job Kevin!!

Reply to this comment    28 September 2006, 02:03 GMT

Re: Re: KTIGCC v1.04
ElementFire Account Info

Nice job!

Reply to this comment    29 September 2006, 00:33 GMT


Re: Re: KTIGCC v1.04
Ranman  Account Info

Amazing work Kevin!

Thanks for all of your contributions to the community; they make our progamming experiences easy and fun.

Reply to this comment    1 October 2006, 01:55 GMT

Re: KTIGCC v1.04
Nikky Southerland  Account Info
(Web Page)

KTIGCC being released is old news...
(see link)

Reply to this comment    28 September 2006, 02:04 GMT


Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Yes, but this is the first release I judged stable enough to be uploaded to ticalc.org. :-) (Actually, 1.03 was, but due to delays in the archiving process, it got replaced by 1.04 with the OS X fixes.)

Reply to this comment    28 September 2006, 03:41 GMT

Re: KTIGCC v1.04
Brandon Wilson  Account Info
(Web Page)

Congratulations! I'm really glad to see stuff came out of Summer of Code.

Now...what to do with the money...:)

Reply to this comment    28 September 2006, 05:23 GMT

Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

Uhhhm. Nice. I'm sure I would love this IDE if I could install it on my PC. I hate SuSe 10.1.

*cry in the corner*

Reply to this comment    28 September 2006, 10:30 GMT


Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Why doesn't it install? If the problem is that your KDE is too old, see:
http://software.opensuse.org/ download/repositories/KDE:/ KDE3/SUSE_Linux_10.1/
(without the spaces, but with that colon after "KDE").

Reply to this comment    28 September 2006, 11:24 GMT


Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

At first I've tried to installing it under GNOME but I'm too stupid to install the newest version of ctags (KTIGCC don't recognize the version in the normal Dist).

So here are the errors iīve got while installing KTIGCC

libti* module isnīt available or something like this
and some errors with the path variables($TIGCC)

Reply to this comment    28 September 2006, 13:46 GMT


Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

> At first I've tried to installing it under GNOME

That should work, as long as you have new enough kdelibs and kdebase installed. (The minimum required version is 3.5.2.)

> but I'm too stupid to install the newest version of ctags
> (KTIGCC don't recognize the version in the normal Dist).

That's strange, there is no minimum version check for ctags. I'll take a look at the SUSE ctags RPM to see what's wrong with it. You shouldn't recompile your own anyway, that shouldn't be needed.

> libti* module isnīt available or something like this

Have you installed these? My INSTALL file provides a link to where you can get the tarballs from. (My RPMs are built for FC5, so they probably won't install.)

> and some errors with the path variables($TIGCC)

That should have been set if you installed TIGCC properly. (KTIGCC doesn't replace TIGCC, it's just the IDE!) You can set it by hand too.

Reply to this comment    29 September 2006, 04:38 GMT


Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK Ive changed my Distro so I will trz the same on mz new Debian system (and maybe on Damnsmallinux).

Reply to this comment    29 September 2006, 13:07 GMT


Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

If you're changing your distro, try Fedora. ;-)
http://fedoraproject.org

Reply to this comment    29 September 2006, 13:17 GMT


Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
burntfuse  Account Info
(Web Page)

Or some other distro like Ubuntu/Kubuntu - FC5's installer is really dumbed-down, didn't work half the time for me, and is horribly ugly (at least compared to their previous installers, which had the perfect mix of usability and power, and worked pretty well), and some of the programs were sort of unstable. Sorry, I'll stop now - it's not a bad distro, and I don't want to get an off-topic flamewar started...

Reply to this comment    29 September 2006, 19:56 GMT


Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

I like Fedora because it is one of the most up-to-date distros out there (You even get version upgrades to some packages like the kernel for the stable release.), and yet stable (as opposed to buggy/broken).

And they also take software freedom seriously, unlike Ubuntu which ships binary drivers (NVidia etc., see the linux-restricted-modules package in "restricted") while touting their Free Software principles.

And of course, if you use Fedora, you get to use my packages of the interesting calculator-related software out there. :-) Currently, I have packages for:
* libticables2
* libticonv
* libtifiles2
* libticalcs2
* tilp2
* tiemu3
* tigcc
* ktigcc-completion-data
* ktigcc
* tilem
They're available at ticalc.org and/or SourceForge. There's also z88dk (not packaged by me, it's a Z80 C compiler which also supports Z80-based TI calculators) in Fedora Extras.

Reply to this comment    29 September 2006, 20:33 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
burntfuse  Account Info
(Web Page)

Yeah, I like how they've got the newest versions of all the software. Otherwise, I find a bug and go to report it, then realized it's been fixed already...

Reply to this comment    30 September 2006, 03:04 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK I've installed me a Debian3.1. Only problem I'm too stupid to configure the X Server so I order Kubuntu and Ubuntu. I don't want FC because there isn't a option like a netinst CD like Debian have (I only have a CD Burner and I don't want to change the 12 CD so often.)

Reply to this comment    1 October 2006, 07:31 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Not true, Fedora does support netinstalls (HTTP or FTP). That's what boot.iso is for. You can also use CD 1 for a netinstall, but if you do that, you'll end up downloading the packages on the CD twice.

Reply to this comment    1 October 2006, 15:38 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Additionally:
* Fedora has only 5 CDs, not 12. There are more CDs worth of packages in the Extras, but they aren't distributed as CDs, only through the online repository.
* Fedora can also be HD-installed.
* Debian Sarge definitely won't have the required version of KDE, you'll have to run at least "testing" if not "unstable", or get the updated version of KDE from kde.org or somewhere.

Reply to this comment    1 October 2006, 15:42 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

I'll try to install it under Debian and if it don't work I'll change to Ubuntu and if that not work you'll convert me to Fedora. OK? ;)

Reply to this comment    2 October 2006, 08:18 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

You can find a new enough KDE for Debian Sarge at: http://deb.stosberg.net/
It's 3.5.3, which is not the latest (The latest is 3.5.4.), but it's >= 3.5.2 as required by KTIGCC.

Reply to this comment    2 October 2006, 18:34 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK I've got it. I used alien on my new hand-installed Debian system to convert the rpm packages into deb and now work it. THX for the great help.

Reply to this comment    9 October 2006, 13:57 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK I've packed all the converted files into a tar.gz and a tar.bz archive so you can download them if you want to install KTIGCC under Debian. THe link is www.bttec.org/KTIGCC/ .
(If you want can you take a look at the main site www.bttec.org.)

Reply to this comment    9 October 2006, 14:49 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Your host doesn't allow directory listing, so you need to use an index.html file.

Reply to this comment    9 October 2006, 21:13 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

Arrgh. I hate this. FileZilla have some problems with chmod on this server. I'll change this soon.

Reply to this comment    10 October 2006, 10:27 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK I have a new problem now. I had to reinstall my system and after this I reinstalled KTIGCC. But when I try to start it, it doesn't start. So I tried it over bash. Then comes the error below:

debian:/usr/local/tigcc/bin# ./ktigcc
./ktigcc: error while loading shared libraries: libticables2.so.1: cannot open shared object file: No such file or directory

but the libs are all installed. How can I fix this problem?

Reply to this comment    10 October 2006, 15:43 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Are the installed libs the correct version? And in what directory are they? If they're in /usr/local/lib, you probably need to set LD_LIBRARY_PATH or fix your ld.so.conf to include that.

And why on Earth did you have to reinstall a Linux system? It's normal on Window$, but GNU/Linux should just work. I really don't understand how you managed to break a Debian stable!

Reply to this comment    10 October 2006, 20:46 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

It's a unstable but nevertheless apt-get deleted the kernel. OK I've installed the libs from the sourcecode and everything is OK but when I want to compile KTIGCC come this error:
tigcc.cpp: In function 'int main(int, char**)':
ktigcc.cpp:65: error: 'KAboutData' was not declared in this scope
ktigcc.cpp:65: error: expected `;' before 'about'
ktigcc.cpp:79: error: 'pabout' was not declared in this scope
ktigcc.cpp:79: error: 'about' was not declared in this scope
ktigcc.cpp:80: error: 'KCmdLineArgs' has not been declared
ktigcc.cpp:81: error: 'KCmdLineArgs' has not been declared
ktigcc.cpp:81: error: 'options' was not declared in this scope
ktigcc.cpp:82: error: 'KApplication' has not been declared
ktigcc.cpp:83: error: 'KApplication' was not declared in this scope
ktigcc.cpp:83: error: expected `;' before 'app'
ktigcc.cpp:86: error: 'KIconLoader' was not declared in this scope
ktigcc.cpp:86: error: 'KIcon' has not been declared
ktigcc.cpp:92: error: 'pconfig' was not declared in this scope
ktigcc.cpp:92: error: 'KGlobal' has not been declared
ktigcc.cpp:138: error: 'KCmdLineArgs' was not declared in this scope
ktigcc.cpp:138: error: 'args' was not declared in this scope
ktigcc.cpp:138: error: 'KCmdLineArgs' is not a class or namespace
ktigcc.cpp:146: error: 'app' was not declared in this scope
make: *** [.obj/ktigcc.o] Fehler 1

Reply to this comment    11 October 2006, 14:18 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Look further up for the real error, it's probably not finding a header file. You need the kdelibs3-dev (or whatever it's called, please check packages.debian.org) package.

Reply to this comment    11 October 2006, 14:27 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

As for apt-get deleting the kernel, well why on Earth did you let it do that??? (It asks "Is this OK?" when it does more than you asked for for a reason.) Not that it ever did that to me (using apt-rpm on Fedora).

By the way, if you're updating from unstable, you're not actually running Sarge as you claimed further up this thread (but "sid").

Reply to this comment    11 October 2006, 14:30 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Oops, you actually mentioned "3.1", not "Sarge", but that's the same thing. Unstable is not 3.1, it's the development tree towards releases post-3.1.

Reply to this comment    11 October 2006, 14:33 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

I've installed at first the 2.4 Kernel from the stable Distribution. But then I upgraded my system from the unstable Disb and in this update was a new kernel.

Reply to this comment    11 October 2006, 14:58 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

After installing KDE complete I got this error while compiling KTIGCC:

.ui/projectoptions.h:27: error: forward declaration of 'struct KPushButton'
.ui/projectoptions.cpp:525: error: invalid use of undefined type 'struct KPushButton'

Reply to this comment    11 October 2006, 15:43 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Strange, I've never seen this one before.
What version of KDE is that?
KTIGCC should work on 3.5.2 up to 3.5.4 (and future 3.5.x as they come out).

Reply to this comment    12 October 2006, 05:56 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Now I remember I did in fact get a report of this type already. This is a Qt uic problem: it doesn't find the headers specified by the <includehint> entries for some reason, so it doesn't include them. No idea why that happens for you, uic works fine for me and many others.

Fix the generated .ui/projectoptions.cpp by adding the missing #include <kpushbutton.h>.

Reply to this comment    12 October 2006, 08:10 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

THx it compile now. But theres the old problem with the module which can't loaded.

Reply to this comment    12 October 2006, 12:22 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

So use my old answer. :-) Try:
export LD_LIBRARY_PATH=/usr/local/lib
and if that helps, add the directory to your /etc/ld.so.conf file.

Reply to this comment    12 October 2006, 15:34 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

Only as a note:
I have some talent with crashing systems. ;)

Reply to this comment    11 October 2006, 14:20 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Zeroko  Account Info
(Web Page)

I once accidentally erased the contents of my /dev folder on an older version of Red Hat that did not use udev. :)

Reply to this comment    12 October 2006, 01:07 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

OK the libs and modules are correct installed but here's my question. How could i set these LD_LIBRARY_PATH? I can't change the ld.so.conf because debian build checksums of every config dokument.

Reply to this comment    12 October 2006, 12:52 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

As said above:
export LD_LIBRARY_PATH=/usr/local/lib

And of course you can change config documents, that's what they are for! If Debian really does build checksums, it's probably so an upgrade of the package containing the config file doesn't accidentally drop your changes.

Reply to this comment    13 October 2006, 09:57 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

It works. *be happy for several years* thx. I've compiled some projects with it and I love it. Thanks for this great IDE Kevin.

Reply to this comment    13 October 2006, 19:46 GMT

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

I'm very sorry but I have another stupid question. Every time I restart my system I have to set the path for LD_LIBRARY_PATH again. How could I save this path-link?

Reply to this comment    14 October 2006, 18:34 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Edit /etc/ld.so.conf.

Reply to this comment    14 October 2006, 18:50 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

I did this but debian didn't grab the changes in this configfile.

NOTE: here's a picture of my triumph: http://bttec.org/Bildschirmfoto.png ;)

Reply to this comment    15 October 2006, 11:03 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Kevin Kofler Account Info
(Web Page)

Strange. Maybe adding a file to /etc/ld.so.conf.d will work better?

As for your screenshot, let me just warn you that "Graphlib" is not a good on-calc project name, there's already a well-known kernel-based library called that way.

Reply to this comment    15 October 2006, 12:31 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

The problem with configfiles under Debian is that for every standard system file checksums exist and I don't know how to remake them from a changed file.

And graphlib is only a projectname for a graphical library for Theatre a browser for the memory extender and network interface from BTtec. I have to find a appropiater name. ;)

Reply to this comment    15 October 2006, 16:09 GMT


Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: KTIGCC v1.04
Benjamin Kiessling  Account Info
(Web Page)

Oh sorry. I've read your older post.

Reply to this comment    14 October 2006, 19:58 GMT

1  2  3  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer