I have got a serious problem with using of cudart and cgal libraries in the same project. I made a simple c++ project using qt creator under linux ubunut 12.04 had been installed on my laptop. The project contains next info:
INCLUDEPATH += /usr/local/cuda-5.0/include
LIBS += -L/usr/local/lib -lGLU
I had separetaly compiled libCudaDevice.so and libCudaSlice.so using Nsight Eclipse and attached them to Qt project. Everything worked fine until I attached libCGAL.so. The problem is that the parts of the application which use methods provided by libCudaDevice.so and libCudaSlice.so began to work incorectly when -L/usr/lib -lCGAL presented in the project. But when I comment -L/usr/lib -lCGAL --> #-L/usr/lib -lCGAL the programm began to work normaly.
I had surfed the net in order to find answer connected with my problem and found out I’m not the one who was in the same situation. Unfortunately there were not any reply which can explain whats is going on.
I hope you can help. I’ll be glad for any respond. Thank you in advance and sorry about my English.