Link Error 1104 Visual Studio 2015

I have just installed the openframework for visual studio 2015 as the tutorial.

I can build and run well with some openframework functions. However, when I add addon to my project, I get a link error 1104 when I build my project. I think it is because there are some problem with my link configuration, but I don’t know how to fix it.

Error message:

LINK 1104: cannot open file “;.obj”

And I think this is my link setting:

/OUT:“bin\TestApp_debug.exe” /MANIFEST /NXCOMPAT /PDB:“bin\TestApp_debug.pdb” /DYNAMICBASE:NO “F:\OF\addons\ofxAssimpModelLoader\libs\assimp\lib\vs\Win32\assimp.lib” “cairo-static.lib” “pixman-1.lib” “libpng.lib” “msimg32.lib” “OpenGL32.lib” “GLu32.lib” “kernel32.lib” “setupapi.lib” “Vfw32.lib” “comctl32.lib” “glut32.lib” “rtAudioD.lib” “videoInputD.lib” “libfreetype.lib” “FreeImage.lib” “qtmlClient.lib” “dsound.lib” “user32.lib” “gdi32.lib” “winspool.lib” “comdlg32.lib” “advapi32.lib” “shell32.lib” “ole32.lib” “oleaut32.lib” “uuid.lib” “glew32s.lib” “fmodex_vc.lib” “glu32.lib” “ssleay32MD.lib” “libeay32MD.lib” “crypt32.lib” “PocoFoundationmdd.lib” “PocoNetmdd.lib” “PocoUtilmdd.lib” “PocoXMLmdd.lib” “Ws2_32.lib” “tess2.lib” “glfw3.lib” “winmm.lib” “odbc32.lib” “odbccp32.lib” “F:\OF\libs\openFrameworksCompiled\lib\vs\Win32\openFrameworksLib_debug.lib” /MACHINE:X86 /NODEFAULTLIB:“PocoFoundationmdd.lib” /NODEFAULTLIB:“atlthunk.lib” /NODEFAULTLIB:“msvcrt” /NODEFAULTLIB:“libcmt” /NODEFAULTLIB:“LIBC” /NODEFAULTLIB:“LIBCMTD” /SAFESEH /INCREMENTAL /PGD:“bin\TestApp_debug.pgd” /SUBSYSTEM:CONSOLE /MANIFESTUAC:“level=‘asInvoker’ uiAccess=‘false’” /ManifestFile:“obj\Debug\TestApp_debug.exe.intermediate.manifest” /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\glut\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\glfw\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\rtAudio\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\FreeImage\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\freetype\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\quicktime\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\fmodex\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\videoInput\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\cairo\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\glew\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\glu\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\openssl\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\Poco\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\tess2\lib\vs\Win32” /LIBPATH:“F:\OF\libs\openFrameworksCompiled\project\vs\…\libs\boost\lib\vs\Win32” /TLBID:1

Any help will be appreciated!

How are you adding the addons? are you using the project generator or manually doing it?

I just right click the project like this:

And then click the “openframeworks addon” and then select the addon I want.

This is what it looks like after I import the addon.

BTW, can I do this manually?

Yes theres actually multiple ways of doing it. if you import the projet into the project generator you can change the addons that are included.

If you want to do it manually, you need to both include the files in, like the plugin you are using does, you can drag and drop the files in, and you dont even need to make the filters, its more for convenience that its organized that way.

Then you must include it in your project properties linked files, im actually updating my IDE at the moment so i cant give a picture but it should be in like c/c+±>linker and then the additional includes section. Make sure to include all the folders with header files in it.

Thanks a lot. I check my additional includes section again and I find sth very strange. Then I modify it and now it seems it is fixed.

Thank you very much for your advises!

1 Like