PDA

View Full Version : multiple project problem( subdir)



xstream71
28th January 2016, 13:03
my project free view like following
11668

Audio and BaseObj are both static lib

2 problems:

1 mainwindow class

Audioeffect is in audio project and will use BaseObj
TcppktTask is in BaseObj
if I delete taskpkttask object, compiler will link error about Audioeffect
If audioeffect and tcppkttask are both exist compiler will success
it looks like when only use audio lib ,not auto link BaseObj
can solve this problem?

2 mainapp.pro

if last two line
LIBS+=-Lxxxxx -lSoundTouch
LIBS+=-lasound

remove to front
Unix!=Macclesfield:LIBS+=............ -lBaseObj

Compiler will link error about asound and soundtouch
why?