Jump to content

Delbandung

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Delbandung

  1. Sorry ... in video tutorial after run the code generator, then we see the windows of code generated succesfully then there are choices OK and OPEN FOLDER , but I can not find the ufgx_gui.c  and gfxconf.h files as like as in video PREVIEW tutorial ... what I have are :

    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\rsc"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\colors.h"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\gfxconf.h"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\gui.c"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\gui.h"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\main_sample.c"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\romfs_files.h"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\userfonts.h"
    "C:\ugfx_studio_0.14_windows\TestProject\xxx\output\widgetstyles.h"

  2. Dear GURU,

    After first problem solved ... then I follow next step like the video of PREVIEW tutorial to run generator code , but I could get the program studio/editor but directly go to the project folder. I think I still do not set up the linux linker correctly ... but I still do not understand yet ... what should I do next guru ? TQ

  3. Dear Guru ...

    Thanks for solve my problem ... I think there is some problem of my cursor click which I did not notice before during setting preference as per your video PREVIEW set up ...

    result ... OK and good working during run THE PREVIEW .... THANKS a lot ... now I can go throughthe next step of uGFX

  4. Dear GURU ...

    Thnks for the reply. I just put one or two of the widgets but when run the PREVIEW ... still got the same problem (I put 3 widgets push button only )

    Setting up environment...

    Generating makefile...

    Generating user colors...

    Generating styles...

    Generating code...

    Generating configuration...

    Generating resource files...

    Generating main function files...

    Compiling program...

    Compiling failed:

    exit code = 2

    exit status = 0

     

    and the detail as below :

    .

     

    Compiling gui.c

     

    make: i686-pc-mingw32-gcc: Command not found

     

    C:/ugfx_studio_0.14_windows/ugfx_library/tools/gmake_scripts/compiler_gcc.mk:242: recipe for target '.build/obj/gui.o' failed

     

    make: *** [.build/obj/gui.o] Error 127

    make: *** Waiting for unfinished jobs....

     

    C Compiler Options....

     

    i686-pc-mingw32-gcc -c -ggdb -O0 -m32 -fomit-frame-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -ffunction-sections -fdata-sections -fno-common -flto -MMD -MP -MF .build/dep/fakefile.o.d -I. -I/cygdrive/C/ugfx_studio_0.14_windows/ugfx_library -I/cygdrive/C/ugfx_studio_0.14_windows/ugfx_library/3rdparty/tinygl-0.4-ugfx/include -I/cygdrive/C/ugfx_studio_0.14_windows/ugfx_library/drivers/multiple/Win32 -I/cygdrive/C/ugfx_studio_0.14_windows/ugfx_library/drivers/gaudio/Win32 -DGDISP_SCREEN_WIDTH=640 -DGDISP_SCREEN_HEIGHT=480 -DGFX_USE_OS_WIN32=TRUE fakefile.c -o .build/obj/fakefile.o

     

     

    Linker Options........

     

    i686-pc-mingw32-gcc -m32 -Wl,--gc-sections -lgdi32 -lwinmm .build/obj/fakefile.o -o .build/preview.exe

     

     

    Please advice me ... what is the set up problem in this case ... tq

  5. Dear Guru,

    I have already passed the environment set up ... ok

    but how to set up The First Build ? I mean where i should set the  .build/TestProject.exe

    I new in linux Guru ... please help me ...

    Tq

    Del

  6. I really do not understand to set up the particular things below :

    Setting Your Environment

    Open a command prompt and set the path for the window to include the cygwin utilities.

    PATH=C:\cygwin\bin;%PATH%

    or

    PATH=C:\cygwin64\bin;%PATH%

    for a 64-Bit version of cygwin.

    The First Build

    Using the command prompt with the correctly set path (as above), change directory to your new project folder (TestProject). Type "make" to build your first demo. To run it after building:

    .build/TestProject.exe

    You can also use "make clean" to clean up all the object files etc that were created.

    TQ

  7. Dear Mr. Joel Bodenmann (ugfx Guru),

    First of all I would like to thanks for the software for test.

    I already download ugfx 0.14 but I have problem when tried to test PREVIEW and got message as below :

    C:/ugfx_studio_0.14_windows/ugfx_library/tools/gmake_scripts/compiler_gcc.mk:34: C:/ugfx_studio_0.14_windows/ugfx/TestProject/xxx/preview/C:/ugfx_studio_0.14_windows/ugfx_library/tools/gmake_scripts/cpu_x86.mk: Invalid argument

     

    0 [main] sh 3856 sync_with_child: child 3740(0x154) died before initialization with status code 0xC0000142

     

    76 [main] sh 3856 sync_with_child: *** child state waiting for longjmp

     

    /usr/bin/sh: fork: Resource temporarily unavailable

     

    make: *** No rule to make target `C:/ugfx_studio_0.14_windows/ugfx/TestProject/xxx/preview/C:/ugfx_studio_0.14_windows/ugfx_library/tools/gmake_scripts/cpu_x86.mk'. Stop.

     

     

    Then I tried to solve the problem wich follow the First Compile tutorial, but I did not understand the First Compile procedures ... could you please list up the procedures to do the set up First Compile procedures ... Thanks

    Del Bandung

    delbandung@gmail.com

×
×
  • Create New...