The transcript of the C language immediately turns back into
greeter screen after logging. (it show a black screen and
immediately is closed)
On Wednesday, 22 May 2013 at 19:07:17 UTC, Samms wrote:
Oh - no! :) Compilation is OK - but Manager not work. It is
only overwrite od TinyWM:
...
What is the problem?
Thank you.
there is a little chance anyone from community used this
"manager", but maybe someone skilled with x11 would help i
Oh - no! :) Compilation is OK - but Manager not work. It is only
overwrite od TinyWM:
import std.c.linux.X11.Xlib;
import std.c.linux.X11.X;
/* gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o
refuja -lX11 */
int main()
{
Display *dpy;
XWindowAttributes attr;
On Tuesday, 21 May 2013 at 17:20:37 UTC, Mike Wey wrote:
On 05/21/2013 03:06 PM, Samms wrote:
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC
On Tuesday, 21 May 2013 at 17:20:37 UTC, Mike Wey wrote:
On 05/21/2013 03:06 PM, Samms wrote:
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC
On 05/21/2013 03:06 PM, Samms wrote:
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
This problem is resolved...
I kno
On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote:
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
This problem is resolved...
I kno
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote:
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
This problem is resolved...
I know. I was offering a simpler solution (command line), t
On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
Basically, the command line should be:
gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o
Refuja
-L/usr/include/X11/ -lXlib -lX11
wit
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
On 21 May 2013 04:58, Samms wrote:
Basically, the command line should be:
gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
-L/usr/include/X11/ -lXlib -lX11
with the "-L/usr/include/X11/" part being almost useless (m
On 21 May 2013 04:58, Samms wrote:
> Hooray! :)
>
> gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
> -L-L/usr/include/X11/ -L-lXlib -lX11
Though why on earth are you still using -L-L and -L-l ?
-Ldir
Add directory dir to the list of directories to be searched for -
Hooray! :)
gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
-L-L/usr/include/X11/ -L-lXlib -lX11
On Monday, 20 May 2013 at 16:28:09 UTC, Samms wrote:
It resolved only small part of errors:
gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o
Refuja -L-L/usr/include/X11/ -L-lXlib
/tmp/ccFcEKHG.o: In function `_Dmain':
main.d:(.text+0x3f): undefined reference to `XOpenDisplay'
main.d:
It resolved only small part of errors:
gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja
-L-L/usr/include/X11/ -L-lXlib
/tmp/ccFcEKHG.o: In function `_Dmain':
main.d:(.text+0x3f): undefined reference to `XOpenDisplay'
main.d:(.text+0x85): undefined reference to `XStringToKeysym'
On 20 May 2013 16:29, Samms wrote:
> I not have installed Xlib.d - it is overwrite of Xlib.h for D language...
>
>
> "in your app you use lib A you still need link B"
>
> I'm not idiot...
>
>
> "Samms, do you have the correct xlib dev packages installed?"
>
> I'm not idiot...
>
I've RTFM.
http:/
On 20 May 2013 17:00, Alexandr Druzhinin wrote:
> 20.05.2013 22:29, Samms пишет:
>
>> I not have installed Xlib.d - it is overwrite of Xlib.h for D language...
>>
>> "in your app you use lib A you still need link B"
>>
>> I'm not idiot...
>>
>> "Samms, do you have the correct xlib dev packages ins
On 20 May 2013 16:29, Samms wrote:
>
>
>
> "So that would be -L/path/to/Xlib -lXlib."
>
> gdc ./main.d -o Refuja -L/usr/include/X11/ -lXlib
>
> /usr/bin/ld: cannot find -lXlib
> collect2: ld returned 1 exit status
>
This only tells you that Xlib.so (or other name) does not exist on your system.
20.05.2013 22:29, Samms пишет:
I not have installed Xlib.d - it is overwrite of Xlib.h for D language...
"in your app you use lib A you still need link B"
I'm not idiot...
"Samms, do you have the correct xlib dev packages installed?"
I'm not idiot...
"So that would be -L/path/to/Xlib -lXlib.
I not have installed Xlib.d - it is overwrite of Xlib.h for D
language...
"in your app you use lib A you still need link B"
I'm not idiot...
"Samms, do you have the correct xlib dev packages installed?"
I'm not idiot...
"So that would be -L/path/to/Xlib -lXlib."
gdc ./main.d -o Refuja -L/us
On May 20, 2013 9:45 AM, "Alexandr Druzhinin" wrote:
>
> 20.05.2013 12:32, Samms пишет:
>
>> I can really work with the linker, but here it just does not work ... :)
>> That is why I'm asking for such stupid things...
>
> I didn't use gdc, so I don't know what would I do myself in this
situation.
20.05.2013 12:32, Samms пишет:
I can really work with the linker, but here it just does not work ... :)
That is why I'm asking for such stupid things...
I didn't use gdc, so I don't know what would I do myself in this
situation. :)
didn't using -L-L/path/to/Xlib -L-lXlib help?
On Monday, 20 May 2013 at 08:32:44 UTC, Samms wrote:
Yes - some library working with -L-L - but it not resolve
"undefined reference to" Error,...
Are you sure, that "undefined reference to" is problem only in
linker?
yes. just remember if you build lib A which uses lib B and in
your app you
Yes - some library working with -L-L - but it not resolve
"undefined reference to" Error,...
Are you sure, that "undefined reference to" is problem only in
linker?
On Monday, 20 May 2013 at 07:28:42 UTC, Samms wrote:
But why this command:
gdc ./main.d -o Refuja -L /usr/include/d2/4.6/std/c/linux/X11/
-l Xlib
not work?
i don't know gdc, but dmd is frontend so u work with frontend
which pass linker flags with -L, that means if you need to tell
linker
But why this command:
gdc ./main.d -o Refuja -L /usr/include/d2/4.6/std/c/linux/X11/ -l
Xlib
not work?
On Monday, 20 May 2013 at 03:54:47 UTC, Samms wrote:
Paths:
import std.c.linux.X11.Xlib;
import std.c.linux.X11.X;
/usr/include/d2/4.6/std/c/linux/X11
if you do such imports with 3rd party modules you could just add
import search location for top level path(which in this case is
/usr/includ
I can really work with the linker, but here it just does not work
... :) That is why I'm asking for such stupid things...
gdc ./main.d -o Refuja -lXlib/usr/bin/ld: cannot find -lXlib
collect2: ld returned 1 exit status
Etc. Nothing works...
gdc ./main.d -o Refuja -L /usr/include/X11/ -l Xlib
Not work...
20.05.2013 10:51, Samms пишет:
Yes (I'm programmer for 7 years.), but this is not work... (-l Xlib.h)
Hmm... you ask unusual questions for a programmer with 7 year
expirience. :) Try read gcc man about -l option - it says that after -l
should be lib name without lib prefix (depends on OS) and
Paths:
import std.c.linux.X11.Xlib;
import std.c.linux.X11.X;
/usr/include/d2/4.6/std/c/linux/X11
Yes (I'm programmer for 7 years.), but this is not work... (-l
Xlib.h)
On May 19, 2013 9:30 PM, "Samms" wrote:
>
> On Sunday, 19 May 2013 at 20:28:13 UTC, Samms wrote:
>>
>> But what option do I use? I cannot find in the manual classical -l...
And path - absolute or relative?
>
>
> And - Xlib.h or Xlib.d or...?
You seem to be going about this the illogical way. Do
On Sunday, 19 May 2013 at 20:28:13 UTC, Samms wrote:
But what option do I use? I cannot find in the manual classical
-l... And path - absolute or relative?
And - Xlib.h or Xlib.d or...?
But what option do I use? I cannot find in the manual classical
-l... And path - absolute or relative?
On 19 May 2013 20:58, Samms wrote:
> Hi,
> I found X.d and Xlib.d replacement for X11 library of C language. But it
> returned many errors when compiling. Some problems was in non-static
> declaration, but how can I resolve this problems:
>
> gdc ./main.d -o Refuja
> /tmp/ccysZHrg.o: In function
37 matches
Mail list logo