Class nnn is implemented in both
Posted: Fri May 31, 2013 4:00 pm
Hi,
we did a SDK dylib using PureBasic. This is used by another PureBasic executable. If we run this, we get the following output:
I dont see a reason why the dylib includes the GUI stuff. We normally do not even use a requester or any other GUI things for the dylib.
1) How to get rid of these warnings!
2) How to find which function forces PB to include/link that GUI stuff?
I forgot to mention that this makes my program crash in 50% of the calls. The same executable sometimes stops with Bus Error 10 or Bus Error 11 or runs fine. It was not recompiled. The executable has just been restarted.
Kukulkan
we did a SDK dylib using PureBasic. This is used by another PureBasic executable. If we run this, we get the following output:
Code: Select all
objc[75986]: Class PB_NSFlippedView is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBGadgetFunctions is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBMatrix is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBOptionGadgetFunctions is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBDragDrop is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBApplicationDelegate is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBMenuDelegate is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBMenuObject is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBFlippedWindowView is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBWindowEvents is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBWindow is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.
objc[75986]: Class PBGadgetList is implemented in both /Users/MyName/src/clients/./MyName_client and /Users/MyName/src/includes/third-party/libMyName2.dylib. One of the two will be used. Which one is undefined.1) How to get rid of these warnings!
2) How to find which function forces PB to include/link that GUI stuff?
I forgot to mention that this makes my program crash in 50% of the calls. The same executable sometimes stops with Bus Error 10 or Bus Error 11 or runs fine. It was not recompiled. The executable has just been restarted.
Kukulkan