Re: undefined symbol

Discussion in 'C++' started by mikethebike, Jun 25, 2009.

  1. mikethebike

    mikethebike Guest

    Hi
    Thanks for the help. This is the Eclipse build log:
    -----
    **** Build of configuration Debug for project Cit_X_Neu ****

    make all
    Building file: ../Scene.c
    Invoking: GCC C Compiler
    gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Scene.d" -
    MT"Scene.d" -o"Scene.o" "../Scene.c"
    Finished building: ../Scene.c

    Building file: ../carmine_addons.c
    Invoking: GCC C Compiler
    gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"carmine_addons.d"
    -MT"carmine_addons.d" -o"carmine_addons.o" "../carmine_addons.c"
    .../carmine_addons.c: In function ‘loadTexture’:
    .../carmine_addons.c:55: warning: unused variable ‘h’
    .../carmine_addons.c:54: warning: unused variable ‘w’
    Finished building: ../carmine_addons.c

    Building file: ../carmine_defs.c
    Invoking: GCC C Compiler
    gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"carmine_defs.d" -
    MT"carmine_defs.d" -o"carmine_defs.o" "../carmine_defs.c"
    .../carmine_defs.c: In function ‘positionCamera’:
    .../carmine_defs.c:23: warning: unused variable ‘arrfMat’
    .../carmine_defs.c:22: warning: unused variable ‘k’
    .../carmine_defs.c:22: warning: unused variable ‘j’
    .../carmine_defs.c:22: warning: unused variable ‘i’
    Finished building: ../carmine_defs.c

    Building file: ../main.cpp
    Invoking: GCC C++ Compiler
    g++ -DLIN=1 -DIBM=0 -DAPL=0 -DXPLM200 -I/usr/include/freetype2 -I/usr/
    local/include/FTGL -I/usr/local/include/freetype2 -I/usr/local/include
    -I/usr/include/GL -I/usr/include/freetype -I/usr/include/SDL -I/home/
    michael/CPP/Cit_X_Neu/includes -I/home/michael/CPP/SDK/CHeaders/XPLM -
    O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -
    o"main.o" "../main.cpp"
    Finished building: ../main.cpp

    Building target: Cit_X.xpl
    Invoking: GCC C++ Linker
    g++ -shared -o"Cit_X.xpl" ./Scene.o ./carmine_addons.o ./
    carmine_defs.o ./main.o -lGLee -lSDL -lGL -lGLU -lstdc++ -lfreetype -
    lfreeimage -lftgl -lSDL_image
    Finished building target: Cit_X.xpl
    mikethebike, Jun 25, 2009
    #1
    1. Advertising

  2. Just found out that the defnition of createParent has to be in main.cpp.
    ( I did only some VB.NET so far )
    Anyway could I leave them somehow in carmine_defs.c?
    Thanks and regards
    Michael
    Michael Sgier, Jun 25, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kenneth Kahl
    Replies:
    2
    Views:
    12,067
    Kenneth Kahl
    Feb 22, 2006
  2. Replies:
    1
    Views:
    1,026
    Nigel Wade
    Mar 24, 2006
  3. baumann@pan
    Replies:
    1
    Views:
    730
    Richard Bos
    Apr 15, 2005
  4. Song Ma
    Replies:
    2
    Views:
    220
    Charles Oliver Nutter
    Jul 20, 2008
  5. Replies:
    6
    Views:
    1,726
Loading...

Share This Page