i’ve searched over and hour on google hoping to find some similar cases, but had no luck.
im having this problem when building my existing project with NVCC compiler, all im doing is just chaging the compiler and rebuilding as a start point. and i get these results depending on how i add the compile options for the gtkglextmm library
using compile options: pkg-config --cflags gtkglextmm-1.2
and linker options: pkg-config --libs gtkglextmm-1.2
Linking console executable: bin/Release/treegrowthsimulator
nvcc fatal : Unknown option 'Wl,--export-dynamic'
Process terminated with status 255 (0 minutes, 51 seconds)
0 errors, 0 warnings
icompiles ok, but has trouble generating my executable…it fails.
im not sure what is it. im using Code::Blocks and so far iwas able to create projects from scratch even with glut openGL interoperability. but this time i think the library is responsable for generating that error.
we all know that gtkglextmm is hard to link correctly on IDEs,
so i was forced to add those compile options pkg-config --cflags gtkglextmm-1.2 and pkg-config --libs gtkglextmm-1.2 since i couldnt made it to link correctly with the “IDE way”.
note: it compiles correctly if i choose GNU GCC Compiler
using compile options: pkg-config --cflags gtkglextmm-1.2
and linker options: pkg-config --libs gtkglextmm-1.2
and it generates the same error,
so in other words, my problem consists of finding a way to build any of the sdk projects with the line “#include <gtkmm.h>” line in it.
would be useful to know you results to compare.
i just Added everything in the form of -I[INCLUDES] and -L[LIBDIR] -l[LIB] on codeblocks project build options. forget about pkg-config --cflags gtkglextmm-1.2 it just kills nvcc