Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1
  • 2

TOPIC:

Re: Install problems 12 years 5 months ago #1377

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12

sternas wrote: Method2

try to remove /etc/fpc.cfg ( sudo rm -f /etc/fpc.cfg )

and run from CTC "remove and build ALL"

Ok, that worked out. May I suggest adding to installation script a couple of lines then? Lines that will certainly remove old fpc.cfg and replace with new one.
Indeed, 2.3 IS the best now ^_^ Thank you very much for it!

But... oh, I really hate that word...
The example I've provided crashing 2.3 under ubuntu 10.10.
If I add glsceneviewer on the blank form lazarus is ok, but when I add some other controls (maybe too much, but that's not the point) lazarus can hold no longer and crashes. If there's some limitations in ubuntu or in lazarus for ubuntu, I think, that for everyone is better to be aknowledged with that fact. I still could create glsceneviewer at run-time, but want to be sure - if this my fault or smth systematical.


Later...
I've deleted glsceneviewer from unit1.lfm and unit1.pas (in the example, that I've posted here) and create new one.
Lazarus didn't crash! :woohoo:

but... project refuses to run. And if I use terminal and launch project from commandline, I get this:
Warning: Spoiler!
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: Install problems 12 years 5 months ago #1380

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir,
last 6 month we find that Ubuntu not use "default" libraries
and this is the reason for "Libraries" page at CT Center.
We use Debian, as main DEV distribution in our lab now.

We use SVN GLScene (with OpenGL ES WinCE/Android support)
and the DEV team of this library has focus to Windows 32bit. :unsure:

So, we want your help, on that...

Always you can post here your source...
I can make a new forum for GLScene

I will test your sample (Ubuntu 11.10 and fedora 16) and report here...
.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: Install problems 12 years 5 months ago #1381

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Ok. I'll do what I can.
New forum is a bit to much.
I could create a new theme and post there' when I'll find smth to make it work.
Thank for reply anyway.

And now for win 32.
I used to use ct 1.6, since glscene there works fine. With your help I managed to install 2.3 under ubuntu. But now you're aware of the situation, and I need to move forward. That's why I still run win32. It's XP, HE, SP3 with latest uppdates (at least critical ones). It's NOT pirated, if it's important (and it maybe in some cases).
And I still can't install 2.3... I removed 1.6 using ctc 1.6, deleted codetyphin dir from C: and try to install new ct 2.3.
And just can't. I tried to run scripts from ScriptsWin dir after unziping them via ctc. And even if I run "FPC_build" and then "build small ide" the second bat says that there's NO fpc directories! O_o
and second script runs firs to install them, but then can't compile anything anyway...

So...
Gen 2 archive's name is "CodeTyphonIns". I unzipped it to C.
Then run install.bat , 0, then 8.

If the system is clean would it install ct2.3? (Referring to this: C:/CodeTyphonIns/installbin/help/index.html it should).
Then my system isn't clean. Then where should I look&delete in addition to "C:\pp", "C:\lazarus", "C:\codetyphon" and "C:\lazarus temp" ?

And... could it be that bloodshed dev c++ and c compiler named "make.exe" is installed?
I mean should I run cmd and type "make" I would get this:
MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: Unable to open makefile
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: Install problems 12 years 5 months ago #1382

  • Gintas
  • Gintas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Graphics Designer/Developer
  • Posts: 32
  • Thank you received: 3

4aiman wrote: And... could it be that bloodshed dev c++ and c compiler named "make.exe" is installed?
I mean should I run cmd and type "make" I would get this:

MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: Unable to open makefile


Check the PATH variable settings and make sure there is no path added to MinGW32 installation or any
other "make.exe" folder. Right click on My Computer->Select Properties->Advanced tab->Environment Variables.
Basically if you can execute in CMD make command you must be having a path set to this executable.
I was having similar problem with Code::Blocks C++ IDE installed.

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 5 months ago #1384

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Another one fully satisfied user of CT 2.30.
Not that i ever had problems installing any of the previous CT versions but i really like the scheme of putting it all together in one directory.

I confirm the flawless installation and production on Win 7 x64 and Win 7 x32. Haven't tried with Ubuntu yet b/c something got messed up with the *new*
Unity interface and i tried trying to fix it (maybe switch to Debian?).

I have also updated my app that will associate the various file types with the Lazarus IDE.
The attached GUI.zip is the source code and the RegLazGUI.zip is the binary for windows.

Kostas
The following user(s) said Thank You: Gintas

Please Log in or Create an account to join the conversation.

Last edit: by Konstantinos Papadoulas.

Re: Install problems 12 years 5 months ago #1385

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
I will test and put your code to next release

Oh, we use Debian
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: Install problems 12 years 5 months ago #1386

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Please Sir Sternas, don't thank me.
I wish i had the power to offer more in CT project. We, the users of CT, should thank
you and PilotLogic for such a great great tool!!

By the way, there is a file missing from the source i posted. Sorry for that. I am keeping some include files in
separate folders and in the above GUI.zip i only zipped the files in the project directory.

Sorry for the inconvenience. I will re - post the complete source code shortly.

Kostas

P.S. While writing this message i am installing CT in a Debian 6.0.3 VirtualBox Machine. It seems that the only thing
missing now is the MacOS port. :)

Please Log in or Create an account to join the conversation.

Last edit: by Konstantinos Papadoulas.

Re: Install problems 12 years 5 months ago #1387

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We test the new OpenBSD CT layer now (SVN freePascal has many fixes for this OS)
then we can go for MacOS planet...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: Install problems 12 years 5 months ago #1388

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Ok. Here is the full source and the binary x32 of the Register Lazarus app.

Enjoy: )

kostas
The following user(s) said Thank You: Miquel Matas

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 5 months ago #1389

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
Thank you so very much!!!

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 5 months ago #1390

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hello everybody!
Previously I asked about mingw c++ and was told that it could be the source of problem.
And at home removing c++ compiler path worked out for me. Success!
But at work I don't have bloodshed c++. Neither I have MS Visual C++ IDE.
Then I try to look at every path in "Path" variable and found... drums... Delphi's "Make.exe" (delphi 7)!
I removed "C:\Program files\Boreland\Delphi7\Bin" from the "Path", but that did NOT solve the problem...
I search for make and for link and for other exe, but found none not only in dirs in path, but on entire HDD...

Then I trie to solve it cordinally. I removed all but "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;" from path and voila - ct2.3 installed! Feel myself like a least lamer :(
Then I put everything back (restore Path as it was) and that didn't brake ct2.3 :)

Maybe it's worth to change Path before installation right from the instal.bat? So no one got struck at installation, just because there's no others compilers or linkers in %path%... no one even ever notice ;)


Still feel like a lamer, though I knew where's environment variables are to be set...
コンソールマニアック
The following user(s) said Thank You: Miquel Matas

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 5 months ago #1391

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19

miquelmatas wrote: Thank you so very much!!!

Be well my friend !! :)

You will find a bug though... In the file unit1.pas and in the line 351 you must change
the code

grpArch.Enabled := (bPath32 and bPath64);

to the code

grpArch.Enabled := (bPath32 or bPath64);

kostas.

P.S. I would like to ask Sir Sternas if there is a public repository for user contributions. Instead of uploading
our changes in the forum every time we find a bug to be able to commit our changes to the repository.

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 5 months ago #1392

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10

papadouk wrote:
You will find a bug though... In the file unit1.pas and in the line 351 you must change
the code

grpArch.Enabled := (bPath32 and bPath64);

to the code

grpArch.Enabled := (bPath32 or bPath64);

kostas.


Amended!

Thanks again.

- Miquel

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 4 months ago #1424

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
As Avra asked, I want to post here a link to another topic. I've found how to work with GlSceneViewer (GlSV) under Ubuntu (may apply to some other linux distros), and this is how GlSV should be created.
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2