• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 56 57 58 59 60 ... 116 Next »

Cannot open Common.lib
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Cannot open Common.lib
10-05-2011, 12:21 AM
#1
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
Heya, all, I'm compiling using Visual Studio Ultimate 2010 and I seem to be running into a strange issue:

Code:
24>LINK : fatal error LNK1181: cannot open input file 'D:\Emulators\dolphin-emu\Source\x64\Release\Common.lib'

(note that this happens numerous times throughout the compiling)

I'm sure I'm doing something quite wrong, but I'm still quite new to messing with code and compilers. What would be causing this? It's the only issue that seems to be causing the builds to fail, and I'm compiling just as I have for the last few months. I've tried building, rebuilding, and have the same results on the debug and 32-bit builds as well.

I'm not sure exactly when it was that this started happening, but it was around the time of the git conversion (which was, if you don't mind me saying, a great choice!). Of course, I hadn't been keeping up to date with builds over the last few weeks of SVN.

Any chance I could get some assistance with this? I'm sure it will prove to be something hilariously stupid and simple, but that does seem to often be the case...
Website Find
Reply
10-05-2011, 02:28 AM
#2
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,306
Threads: 273
Joined: Dec 2010
You read ALL of this \/\/ since the change to GIT?

http://code.google.com/p/dolphin-emu/wiki/Windows_Build
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
10-05-2011, 03:12 AM
#3
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Try a full solution rebuild.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
10-05-2011, 05:27 AM (This post was last modified: 10-05-2011, 05:28 AM by Kodiack.)
#4
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
(10-05-2011, 03:12 AM)neobrain Wrote: Try a full solution rebuild.

I have, numerous times. I've even attempted to download the git clone entirely fresh and tried different branches. Nothing but the same message. When I navigate to the Binary folder where the compiled stuff goes to after an attempted build/rebuild, only the Languages sub-directory exists.
Website Find
Reply
10-05-2011, 06:28 AM
#5
LPFaint99 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 531
Threads: 4
Joined: Mar 2009
find the error of building the common lib, being unable to open the lib indicates that it fails to compile (the common lib).

did you set git to be part of your path (can you open cmd and run git from any folder?)
Find
Reply
10-05-2011, 07:38 AM
#6
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
(10-05-2011, 06:28 AM)LPFaint99 Wrote: find the error of building the common lib, being unable to open the lib indicates that it fails to compile (the common lib).

did you set git to be part of your path (can you open cmd and run git from any folder?)

Yeah, it seems like something in there broke, but it's not giving me much information. I've managed to screw odd stuff up with other compilers by somehow managing to accidentally alter lib files.

I am getting a few git-related errors at compile time, but I didn't think much of them. I have TortoiseGit running correctly and Git is installed and in use. Not sure what's up with Git + VS though.
Website Find
Reply
10-05-2011, 08:55 AM (This post was last modified: 10-05-2011, 08:55 AM by LPFaint99.)
#7
LPFaint99 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 531
Threads: 4
Joined: Mar 2009
tortisegit will work whether or not git is in the path
(10-05-2011, 06:28 AM)LPFaint99 Wrote: (can you open cmd and run git from any folder?)
when installing msysgit which of the three options did you choose? pic here ->http://forums.dolphin-emu.org/showthread.php?tid=18677&pid=168256#pid168256
if you chose "use git bash only" rerun the msysgit installer and choose the middle option(Run Git from the Windows Command prompt)

once that is done try compiling again

Find
Reply
10-29-2011, 07:59 AM (This post was last modified: 10-29-2011, 08:52 AM by Kodiack.)
#8
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
Okay, guess I didn't quite get it. I was stupid when I put in the environment variables and accidentally pointed to the Git executable with the wrong drive. Directory was right, but the drive wasn't. So, I've got one more build succeeding, but five are still failing. Here's the output:

Code:
1>------ Build started: Project: SCMRevGen, Configuration: Release x64 ------
1>Build started 10/28/2011 5:26:38 PM.
1>InitializeBuildStatus:
1>  Creating "x64\Release\SCMRevGen.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1>  Updating scmrev.h
1>  ./Src/scmrev.h current at 3.0-191-dirty
1>FinalizeBuildStatus:
1>  Deleting file "x64\Release\SCMRevGen.unsuccessfulbuild".
1>  Touching "x64\Release\SCMRevGen.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.24
2>------ Build started: Project: Common, Configuration: Release x64 ------
2>Build started 10/28/2011 5:26:38 PM.
2>InitializeBuildStatus:
2>  Touching "x64\Release\Common.unsuccessfulbuild".
2>ClCompile:
2>  All outputs are up-to-date.
2>  Version.cpp
2>Src\Version.cpp(30): error C2146: syntax error : missing ';' before identifier 'SCM_BRANCH_STR'
2>Src\Version.cpp(30): error C2143: syntax error : missing ';' before 'string'
2>Src\Version.cpp(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>Src\Version.cpp(46): error C2065: 'SCM_DESC_STR' : undeclared identifier
2>Src\Version.cpp(46): error C2143: syntax error : missing ';' before 'string'
2>Src\Version.cpp(46): error C2059: syntax error : 'string'
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.15
3>------ Build started: Project: AudioCommon, Configuration: Release x64 ------
4>------ Build started: Project: VideoCommon, Configuration: Release x64 ------
3>Build started 10/28/2011 5:26:38 PM.
3>InitializeBuildStatus:
3>  Touching "x64\Release\AudioCommon.unsuccessfulbuild".
4>Build started 10/28/2011 5:26:38 PM.
3>ClCompile:
3>  All outputs are up-to-date.
3>LINK : fatal error LNK1181: cannot open input file 'D:\Emulators\dolphin-emu\Source\x64\Release\Common.lib'
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:00.06
4>InitializeBuildStatus:
4>  Touching "x64\Release\VideoCommon.unsuccessfulbuild".
4>ClCompile:
4>  All outputs are up-to-date.
4>LINK : fatal error LNK1181: cannot open input file 'D:\Emulators\dolphin-emu\Source\x64\Release\Common.lib'
4>
4>Build FAILED.
4>
4>Time Elapsed 00:00:00.14
5>------ Build started: Project: DSPTool, Configuration: Release x64 ------
6>------ Build started: Project: Dolphin, Configuration: Release x64 ------
5>Build started 10/28/2011 5:26:38 PM.
6>Build started 10/28/2011 5:26:38 PM.
5>InitializeBuildStatus:
5>  Touching "x64\Release\DSPTool.unsuccessfulbuild".
5>ClCompile:
5>  All outputs are up-to-date.
6>InitializeBuildStatus:
6>  Touching "x64\Release\Dolphin.unsuccessfulbuild".
5>LINK : fatal error LNK1181: cannot open input file 'D:\Emulators\dolphin-emu\Source\x64\Release\Common.lib'
6>ClCompile:
6>  All outputs are up-to-date.
5>
5>Build FAILED.
5>
5>Time Elapsed 00:00:00.18
6>  All outputs are up-to-date.
6>ResourceCompile:
6>  All outputs are up-to-date.
6>LINK : fatal error LNK1181: cannot open input file 'D:\Emulators\dolphin-emu\Source\x64\Release\Common.lib'
6>
6>Build FAILED.
6>
6>Time Elapsed 00:00:00.39
========== Build: 1 succeeded, 5 failed, 18 up-to-date, 0 skipped ==========

Any ideas?

By the way, git is able to run from command prompt in any directory. Here is my full system variables path:

Code:
C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files\TortoiseSVN\bin;D:\Program Files\TortoiseGit\bin;D:\Program Files (x86)\Git\bin
Website Find
Reply
10-29-2011, 09:13 AM
#9
Kodiack Offline
Member
***
Posts: 139
Threads: 5
Joined: Jan 2011
Whoo, finally got it to compile! Long story short, I'm a dumbass. I must have broken something in Version.cpp and it never got fixed when I downloaded stuff over with git.

Either way, I went to the Google source page, tracked down the Version.cpp there, copy/pasted it and suddenly it works! I'm not sure why clearing the entire directory and forcing git to pull everything fresh and new didn't fix it, but eh.

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

That's what I've been wanting to see!
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode