Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: undefined symbol

Reply
Thread Tools

Re: undefined symbol

 
 
mikethebike
Guest
Posts: n/a
 
      06-25-2009
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



 
Reply With Quote
 
 
 
 
Michael Sgier
Guest
Posts: n/a
 
      06-25-2009
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(Encryption Package) error: cannot find symbol symbol: class BaseNCode clusardi2k@aol.com Java 6 08-29-2012 08:33 PM
Why ":symbol" failed but 'symbol' successed with JRuby 1.0.3? Song Ma Ruby 2 07-20-2008 04:08 AM
JNI: shared library has undefined symbol dimitrios.kapanikis@gmail.com Java 1 03-24-2006 11:26 AM
JNI:"undefined symbol" in "shared-library" Kenneth Kahl Java 2 02-22-2006 03:52 PM
what's differnece between #ifdef symbol and #if defined(symbol) baumann@pan C Programming 1 04-15-2005 08:25 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57