Linking Problems

109 views
Skip to first unread message

Chuck

unread,
Jan 9, 2013, 7:36:18 AM1/9/13
to realxt...@googlegroups.com

Hi all,

I tried to compile the tundra.sln, but there are several linking errors (pasted below). I searched the group and found out the similar situation: https://groups.google.com/forum/?fromgroups=#!searchin/realxtend-dev/LINK$20:$20fatal$20error$20LNK1104:$20cannot$20open$20file/realxtend-dev/iCl0dEx3wV4/r8_L31ZiLTsJ


His solution is to update the deps SVN. So I tried to update the deps folder, but even I selected"SVN Update" to everything inside my deps folder, there are still some red icon folders (folder screen shot pasted below).


What is my problem please? Many thanks!


ERRORS:

1>------ Build started: Project: OpenAssetImport, Configuration: Debug Win32 ------

1>Linking...

1>LINK : fatal error LNK1104: cannot open file 'assimpd.lib'

1>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\OpenAssetImport\OpenAssetImport.dir\Debug\BuildLog.htm"

1>OpenAssetImport - 1 error(s), 0 warning(s)

2>------ Build started: Project: OgreRenderingModule, Configuration: Debug Win32 ------

2>Linking...

2>LINK : fatal error LNK1104: cannot open file '..\..\Application\OpenAssetImport\Debug\OpenAssetImportd.lib'

2>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\OgreRenderingModule\OgreRenderingModule.dir\Debug\BuildLog.htm"

2>OgreRenderingModule - 1 error(s), 0 warning(s)

3>------ Build started: Project: EnvironmentModule, Configuration: Debug Win32 ------

3>Linking...

4>------ Build started: Project: SceneInteract, Configuration: Debug Win32 ------

3>LINK : fatal error LNK1104: cannot open file '..\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

3>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\EnvironmentModule\EnvironmentModule.dir\Debug\BuildLog.htm"

3>EnvironmentModule - 1 error(s), 0 warning(s)

4>Linking...

4>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

4>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\SceneInteract\SceneInteract.dir\Debug\BuildLog.htm"

4>SceneInteract - 1 error(s), 0 warning(s)

5>------ Build started: Project: PhysicsModule, Configuration: Debug Win32 ------

6>------ Build started: Project: SkyXHydrax, Configuration: Debug Win32 ------

6>Linking...

5>Linking...

6>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

6>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\SkyXHydrax\SkyXHydrax.dir\Debug\BuildLog.htm"

6>SkyXHydrax - 1 error(s), 0 warning(s)

5>LINK : fatal error LNK1104: cannot open file '..\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

5>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\PhysicsModule\PhysicsModule.dir\Debug\BuildLog.htm"

5>PhysicsModule - 1 error(s), 0 warning(s)

7>------ Build started: Project: CanvasPlugin, Configuration: Debug Win32 ------

7>Linking...

7>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

7>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\CanvasPlugin\CanvasPlugin.dir\Debug\BuildLog.htm"

7>CanvasPlugin - 1 error(s), 0 warning(s)

8>------ Build started: Project: TundraProtocolModule, Configuration: Debug Win32 ------

8>Linking...

8>LINK : fatal error LNK1104: cannot open file '..\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

8>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\TundraProtocolModule\TundraProtocolModule.dir\Debug\BuildLog.htm"

8>TundraProtocolModule - 1 error(s), 0 warning(s)

9>------ Build started: Project: CAVEStereoModule, Configuration: Debug Win32 ------

9>Linking...

9>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

9>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\CAVEStereoModule\CAVEStereoModule.dir\Debug\BuildLog.htm"

9>CAVEStereoModule - 1 error(s), 0 warning(s)

10>------ Build started: Project: JavascriptModule, Configuration: Debug Win32 ------

10>Linking...

10>LINK : fatal error LNK1104: cannot open file '..\..\Core\TundraProtocolModule\Debug\TundraProtocolModuled.lib'

10>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\JavascriptModule\JavascriptModule.dir\Debug\BuildLog.htm"

10>JavascriptModule - 1 error(s), 0 warning(s)

11>------ Build started: Project: ECEditorModule, Configuration: Debug Win32 ------

12>------ Build started: Project: BrowserUiPlugin, Configuration: Debug Win32 ------

12>Linking...

11>Linking...

12>LINK : fatal error LNK1104: cannot open file '..\JavascriptModule\Debug\JavascriptModuled.lib'

12>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\BrowserUiPlugin\BrowserUiPlugin.dir\Debug\BuildLog.htm"

12>BrowserUiPlugin - 1 error(s), 0 warning(s)

11>LINK : fatal error LNK1104: cannot open file '..\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

11>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\ECEditorModule\ECEditorModule.dir\Debug\BuildLog.htm"

11>ECEditorModule - 1 error(s), 0 warning(s)

13>------ Build started: Project: SceneWidgetComponents, Configuration: Debug Win32 ------

14>------ Build started: Project: AssetModule, Configuration: Debug Win32 ------

13>Linking...

13>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

14>Linking...

13>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\SceneWidgetComponents\SceneWidgetComponents.dir\Debug\BuildLog.htm"

13>SceneWidgetComponents - 1 error(s), 0 warning(s)

14>LINK : fatal error LNK1104: cannot open file '..\TundraProtocolModule\Debug\TundraProtocolModuled.lib'

14>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Core\AssetModule\AssetModule.dir\Debug\BuildLog.htm"

14>AssetModule - 1 error(s), 0 warning(s)

15>------ Build started: Project: OgreAssetEditorModule, Configuration: Debug Win32 ------

15>Linking...

15>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

15>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\OgreAssetEditorModule\OgreAssetEditorModule.dir\Debug\BuildLog.htm"

15>OgreAssetEditorModule - 1 error(s), 0 warning(s)

16>------ Build started: Project: DebugStatsModule, Configuration: Debug Win32 ------

16>Linking...

16>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

16>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\DebugStatsModule\DebugStatsModule.dir\Debug\BuildLog.htm"

16>DebugStatsModule - 1 error(s), 0 warning(s)

17>------ Build started: Project: AvatarModule, Configuration: Debug Win32 ------

17>Linking...

18>------ Build started: Project: VlcPlugin, Configuration: Debug Win32 ------

18>Linking...

17>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

17>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\AvatarModule\AvatarModule.dir\Debug\BuildLog.htm"

17>AvatarModule - 1 error(s), 0 warning(s)

18>LINK : fatal error LNK1104: cannot open file '..\..\Core\OgreRenderingModule\Debug\OgreRenderingModuled.lib'

18>Build log was saved at "file://c:\Users\XX\Desktop\naali-tundra2\src\Application\VlcPlugin\VlcPlugin.dir\Debug\BuildLog.htm"

18>VlcPlugin - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 18 failed, 15 up-to-date, 0 skipped ==========


DEPS FOLDER SCREEN SHOT:



Ali Kämäräinen

unread,
Jan 9, 2013, 9:19:50 AM1/9/13
to realxt...@googlegroups.com
Seems that OpenAssetImporter is not build successfully. See if <Tundra>/deps/assimp/lib/Debug/assimpD.lib and  <Tundra>/deps/assimp/lib/RelWithDebInfo/assimp.lib  exist. If not, try rebuilding assimp.

Jonne Nauha

unread,
Jan 9, 2013, 9:48:09 AM1/9/13
to realxt...@googlegroups.com
OgreRederingModule depeds on AssimpModule, if assimp dependency is not found its not going to build. Pretty much everything else depends on OgreRenderingModule so the rest of the build will just fails completely.

The assimp find cmake stuff afaik does not actually check if its built succesfully :P These kind of hardcodings are pretty shitty and should be removed, so you would know what is missing when running cmake.

But yes do as Ali suggested to fix the situation :)

Best regards,
Jonne Nauha
Adminotech developer


On Wed, Jan 9, 2013 at 4:19 PM, Ali Kämäräinen <stink...@gmail.com> wrote:
Seems that OpenAssetImporter is not build successfully. See if <Tundra>/deps/assimp/lib/Debug/assimpD.lib and  <Tundra>/deps/assimp/lib/RelWithDebInfo/assimp.lib  exist. If not, try rebuilding assimp.

Ali Kämäräinen

unread,
Jan 9, 2013, 9:50:06 AM1/9/13
to realxt...@googlegroups.com
Also, as a temporary fix, you can set ENABLE_OPEN_ASSET_IMPORT to in CMakeBuildConfig.txt to disable the OpenAssetImporter functionality which is optional.

Ali Kämäräinen

unread,
Jan 9, 2013, 9:50:43 AM1/9/13
to realxt...@googlegroups.com
*set ENABLE_OPEN_ASSET_IMPORT to 0

Chuck

unread,
Jan 11, 2013, 6:15:13 AM1/11/13
to realxt...@googlegroups.com
Thank you so much~ It finally works~! Cheers~

Chuck

unread,
Jan 11, 2013, 6:15:58 AM1/11/13
to realxt...@googlegroups.com
Sorry for my late reply~! It works~ BIG thanks!
Reply all
Reply to author
Forward
0 new messages