Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-other / 2011-06

Re: Userfriendly editor

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

I tryed to make a patch to allow it to be compiled, but I am missing two units:

SynHighlighterApache, SynHighlighterHTMLPHP

Felipe Monteiro de Carvalho

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Thu, Jun 9, 2011 at 3:56 PM, Felipe Monteiro de Carvalho <

Show quoted text 10 lines
wrote: I tryed to make a patch to allow it to be compiled, but I am missing two units: SynHighlighterApache, SynHighlighterHTMLPHP -- Felipe Monteiro de Carvalho

minilib\lazarus\lib\
it is lib only for Lazarus

Zaher Dirkey

Reply by email

Zaher Dirkey
to Zaher Dirkey
Zaher Dirkey wrote 18 lines
On Thu, Jun 9, 2011 at 3:56 PM, Felipe Monteiro de Carvalho < > wrote: > I tryed to make a patch to allow it to be compiled, but I am missing two > units: > > SynHighlighterApache, SynHighlighterHTMLPHP > > -- > Felipe Monteiro de Carvalho > minilib\lazarus\lib\ it is lib only for Lazarus And You can delete mnConsts from the packages it obsolete/deleted unit.
-- Zaher Dirkey
Zaher Dirkey

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey

Trying to build the project now I get:

Free Pascal Compiler version 2.4.2 [2010/11/19] for i386 Copyright (c) 1993-2010 by Florian Klaempfl
.....
Compiling mneProjectForms.pas
Assembling mneprojectforms
Compiling mneBreakpoints.pas
Assembling mnebreakpoints
Assembling mne
Compiling resource /home/felipe/Programas/miniedit/units/mne.or Linking /home/felipe/Programas/miniedit/bin/mne.exe /usr/bin/ld: cannot find
: No such file or directory
/usr/bin/ld: warning: /home/felipe/Programas/miniedit/bin/link.res contains output sections; did you forget -T?
Error: Error while linking

Any ideas?

I tryed to search to see if there is any external function or any
{$linklib } in Minilib being added to the project but there isn't.
Felipe Monteiro de Carvalho

Reply by email

Mattias Gaertner
to Felipe Monteiro de Carvalho

 
 

Felipe Monteiro de Carvalho hat am 9. Juni
2011 um 17:20 geschrieben:

Show quoted text 22 lines
Trying to build the project now I get: Free Pascal Compiler version 2.4.2 [2010/11/19] for i386 Copyright (c) 1993-2010 by Florian Klaempfl ..... Compiling mneProjectForms.pas Assembling mneprojectforms Compiling mneBreakpoints.pas Assembling mnebreakpoints Assembling mne Compiling resource /home/felipe/Programas/miniedit/units/mne.or Linking /home/felipe/Programas/miniedit/bin/mne.exe /usr/bin/ld: cannot find : No such file or directory /usr/bin/ld: warning: /home/felipe/Programas/miniedit/bin/link.res contains output sections; did you forget -T? Error: Error while linking Any ideas? I tryed to search to see if there is any external function or any {$linklib } in Minilib being added to the project but there isn't.

Maybe this can help:
http://wiki.lazarus.freepascal.org/Cody#Linked_Files

Mattias

Reply by email

Felipe Monteiro de Carvalho
to Felipe Monteiro de Carvalho: Trying to build the project now I get: Free Pascal Compiler version 2.4.2 [2010/11/19]…
Felipe Monteiro de Carvalho wrote 5 lines
/usr/bin/ld: cannot find : No such file or directory /usr/bin/ld: warning: /home/felipe/Programas/miniedit/bin/link.res contains output sections; did you forget -T? Error: Error while linking

I found the error. Just in case someone ever sees that, there was a line separator inside the the lpk xml inside the linker options of one of the packages ... deleting that wrong line enter manually was the solution.

Felipe Monteiro de Carvalho

Reply by email

Mattias Gaertner
to Felipe Monteiro de Carvalho
Show quoted text 12 lines
On Thu, Jun 9, 2011 at 5:20 PM, Felipe Monteiro de Carvalho wrote: > /usr/bin/ld: cannot find > : No such file or directory > /usr/bin/ld: warning: /home/felipe/Programas/miniedit/bin/link.res > contains output sections; did you forget -T? > Error: Error while linking I found the error. Just in case someone ever sees that, there was a line separator inside the the lpk xml inside the linker options of one of the packages ... deleting that wrong line enter manually was the solution.

I fixed that.
Lazarus/lazbuild now treats all characters #0..#32 as delimiters in linker options.

Mattias

Reply by email