Yeah, I think I am linking correctly.
These are the libs:
-lframework -lpanda -lpandafx -lpandaexpress -ldtoolconfig -ldtool -lpystub
and they are all here:
-L$(PANDA3D_DIR)/lib
Yeah, I think I am linking correctly.
These are the libs:
-lframework -lpanda -lpandafx -lpandaexpress -ldtoolconfig -ldtool -lpystub
and they are all here:
-L$(PANDA3D_DIR)/lib
Can I see your linker command-line?
I have a makefile.
HEADERS =
OBJS = main.o
entry:
make main
### STUFF RELATED TO PANDA3D LIBRARY ###
PANDA3D_LIB = -lpanda -lframework -lpandafx -lpandaexpress -ldtoolconfig -ldtool -lpystub
PANDA3D_DIR =/home/memecs/builds/013010
CFLAGS = -I/usr/include/python2.6 -I$(PANDA3D_DIR)/include -O2
LFLAGS = -fPIC -L$(PANDA3D_DIR)/lib $(PANDA3D_LIB)
### STUFF RELATED TO OUR PROGRAM ###
main: main.cxx $(OBJS) $(HEADERS)
g++ $(LFLAGS) -o main $(OBJS)
main.o: main.cxx $(HEADERS)
g++ $(CFLAGS) -c -o main.o main.cxx
### CLEAN ###
clean:
rm -fv main ./*.o
Hm, that’s weird. I can compile a Panda C++ program fine using that Makefile.
Maybe an installation of Panda was conflicting during the build?
Yeah, i think that was the problem.
Thanks again for your help.